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])
Bases:
RemoteFocusBase
SyntheticRemoteFocus Class
- __init__(microscope_name: str, device_connection: Any, configuration: Dict[str, Any]) → 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
(readout_time[, offset])Moves the remote focus.
Attributes
- adjust(exposure_times, sweep_times, offset=None)
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:
numpy.ndarray
- static move(readout_time, offset=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.
- camera_delay
Camera delay percent.
- Type:
float
- configuration
Configuration dictionary.
- Type:
dict
- 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