navigate.model.features.common_features.StackPause
- class navigate.model.features.common_features.StackPause(model, pause_num='experiment.MicroscopeState.timepoints')
Bases:
FeatureBaseStackPause class for pausing stack acquisition.
This class provides functionality to pause stack acquisition for a specified number of timepoints or based on a defined pause time. It manages the data thread accordingly.
Notes
This class is used to pause stack acquisition for a specified number of timepoints or based on a defined pause time during microscopy experiments.
The StackPause class allows for flexible control of stack acquisition pauses, ensuring synchronization with data acquisition.
The stack pause control process involves managing the data thread, calculating pause times, and handling stack acquisition pauses.
The config_table attribute defines the configuration for the stack pause control process, specifically the main pause function.
- __init__(model, pause_num='experiment.MicroscopeState.timepoints')
Initialize the StackPause class.
- Parameters:
model (MicroscopeModel) – The microscope model object used for stack acquisition control.
pause_num (int or str, optional) – The number of timepoints to pause stack acquisition or a configuration reference to determine the pause count dynamically. Default is “experiment.MicroscopeState.timepoints”.
Methods
__init__(model[, pause_num])Initialize the StackPause class.
Pause stack acquisition based on timepoints or pause time and manage the data thread.
Attributes
- signal_func()
Pause stack acquisition based on timepoints or pause time and manage the data thread.
This method pauses stack acquisition based on the remaining timepoints or defined pause time. It manages the data thread accordingly during the pause.
- parameter_schema = {'pause_num': SettingSpec(value_type=<class 'str'>, default='experiment.MicroscopeState.timepoints', label='Pause Count', help_text='Number of stack pauses, or a configuration reference to the count.', choices=None, choice_values=None, minimum=None, exclusive_minimum=None, maximum=None, step=None, required=True, dynamic_source=None, depends_on=None)}