navigate.model.features.common_features.PrepareNextChannel
- class navigate.model.features.common_features.PrepareNextChannel(model)
Bases:
object
PrepareNextChannel class for preparing microscopes for the next imaging channel.
This class provides functionality to prepare multiple microscopes, including virtual microscopes and the primary microscope, for the next imaging channel during microscopy experiments.
Notes:
This class is used to prepare multiple microscopes for the next imaging
channel, ensuring that both virtual microscopes and the primary microscope are ready for the next step in microscopy experiments.
The PrepareNextChannel class is typically used to manage the preparation of
microscopes before transitioning to a new imaging channel.
The channel preparation process involves calling the prepare_next_channel()
method for each virtual microscope and the active microscope.
The config_table attribute is used to define the configuration for the
channel preparation process, specifically the main preparation function.
- __init__(model)
Initialize the PrepareNextChannel class.
Parameters:
- modelMicroscopeModel
The microscope model object used for channel preparation.
Methods
__init__
(model)Initialize the PrepareNextChannel class.
Prepare virtual and active microscopes for the next imaging channel.
Attributes
Microscope model associated with the channel preparation.
A dictionary defining the configuration for the channel preparation
- signal_func()
Prepare virtual and active microscopes for the next imaging channel.
This method prepares virtual microscopes, if any, followed by the active microscope for the next imaging channel.
Returns:
- bool
A boolean value indicating the success of the channel preparation process.
- config_table
A dictionary defining the configuration for the channel preparation
- Type:
dict
- model
Microscope model associated with the channel preparation.
- Type:
MicroscopeModel