navigate.model.devices.remote_focus.synthetic.SyntheticRemoteFocus
- class navigate.model.devices.remote_focus.synthetic.SyntheticRemoteFocus(microscope_name: str, device_connection: Any, configuration: dict[str, Any], *args, **kwargs)
Bases:
RemoteFocusBaseSyntheticRemoteFocus Class
- __init__(microscope_name: str, device_connection: Any, configuration: dict[str, Any], *args, **kwargs) → None
Initialize the SyntheticRemoteFocus class.
- Parameters:
microscope_name (str) – The microscope name.
device_connection (Any) – The device connection object.
configuration (Dict[str, Any]) – The device configuration.
Methods
__init__(microscope_name, device_connection, ...)Initialize the SyntheticRemoteFocus class.
adjust(exposure_times, sweep_times[, offset])Adjusts the remote focus waveform based on the readout time.
move(exposure_times, sweep_times[, offset])Moves the remote focus.
Attributes
- adjust(exposure_times: dict[str, float], sweep_times: dict[str, float], offset: Optional[float] = None) → dict[str, Any]
Adjusts the remote focus waveform based on the readout time.
- Parameters:
exposure_times (dict) – Dictionary of exposure times for each selected channel
sweep_times (dict) – Dictionary of sweep times for each selected channel
offset (float, optional) – Offset value for the remote focus waveform, by default None
- Returns:
waveform – Waveform for the remote focus device.
- Return type:
- move(exposure_times: dict[str, float], sweep_times: dict[str, float], offset: Optional[float] = None) → None
Moves the remote focus.
This method moves the remote focus.
- Parameters:
readout_time (float) – The readout time in seconds.
offset (float) – The offset of the signal in volts.
- property camera_delay: float
Return the current camera delay from waveform constants, in seconds.
- configuration
Configuration dictionary.
- Type:
dict
- configuration_schema = {'hardware/max': SettingSpec(value_type=<class 'float'>, default=5.0, label='Maximum Voltage', help_text='Highest control voltage supported by the remote-focus device.', choices=None, choice_values=None, minimum=None, exclusive_minimum=None, maximum=None, step=None, required=True, dynamic_source=None, depends_on=None), 'hardware/min': SettingSpec(value_type=<class 'float'>, default=-5.0, label='Minimum Voltage', help_text='Lowest control voltage supported by the remote-focus device.', choices=None, choice_values=None, minimum=None, exclusive_minimum=None, maximum=None, step=None, required=True, dynamic_source=None, depends_on=None)}
- device_config
Remote focus device parameters.
- Type:
dict
- device_connection
Device connection object.
- Type:
Any
- microscope_name
Name of the microscope.
- Type:
str
- remote_focus_max_voltage
Remote focus max voltage.
- Type:
float
- remote_focus_min_voltage
Remote focus min voltage.
- Type:
float
- sample_rate
Sample rate of the DAQ.
- Type:
int
- sweep_time
Sweep time of the DAQ.
- Type:
float
- waveform_dict
Waveform dictionary.
- Type:
dict