Skip to content

zen_tcpip_commands#

zen_api_utils.zen_tcpip_commands #

Functions:

add_image #

add_image(czi_path: str) -> list[str]

Adds an image to the Zen application.

Parameters:

  • czi_path (str) –

    The path to the CZI file.

Returns:

  • list[str] –

    list[str]: A list of commands to be sent.

set_experiment_active #

set_experiment_active(experiment_name: str) -> list[str]

Sets the specified experiment as active.

Parameters:

  • experiment_name (str) –

    The name of the experiment to set as active.

Returns:

  • list[str] –

    list[str]: A list of commands to be sent.

run_experiment_and_save_image #

run_experiment_and_save_image(experiment_name: str, savefolder: str, cziname: str) -> list[str]

Runs an experiment and saves the resulting image.

Parameters:

  • experiment_name (str) –

    The name of the experiment to run.

  • savefolder (str) –

    The folder path where the image will be saved.

  • cziname (str) –

    The name of the image file.

Returns:

  • list[str] –

    list[str]: A list of commands to be sent.