navigate.model.devices.remote_focus.remote_focus_base.RemoteFocusBase
- class navigate.model.devices.remote_focus.remote_focus_base.RemoteFocusBase(microscope_name, device_connection, configuration)
Bases:
object
RemoteFocusBase Class - Parent class for Remote Focusing Device.
- __init__(microscope_name, device_connection, configuration)
Initializes the RemoteFocusBase Class.
- Parameters:
microscope_name (str) – Name of the microscope.
device_connection (str) – Connection string for the remote focus device.
configuration (dict) – 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
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
- 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
- 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