navigate.model.devices.remote_focus.base.RemoteFocusBase
- class navigate.model.devices.remote_focus.base.RemoteFocusBase(microscope_name: str, device_connection: Any, configuration: Dict[str, Any])
Bases:
object
RemoteFocusBase Class - Parent class for Remote Focusing Device.
- __init__(microscope_name: str, device_connection: Any, configuration: Dict[str, Any]) → None
Initializes the RemoteFocusBase Class.
- Parameters:
microscope_name (str) – Name of the microscope.
device_connection (Any) – Device connection object.
configuration (Dict[str, Any]) – Configuration dictionary.
Methods
__init__
(microscope_name, device_connection, ...)Initializes the RemoteFocusBase Class.
adjust
(exposure_times, sweep_times[, offset])Adjusts the remote focus waveform based on the readout time.
Attributes
Device connection object.
Configuration dictionary.
Name of the microscope.
Remote focus device parameters.
Sample rate of the DAQ.
Sweep time of the DAQ.
Camera delay percent.
Remote focus max voltage.
Remote focus min voltage.
Waveform dictionary.
- 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
- 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