navigate.model.devices.remote_focus.ni.RemoteFocusNI
- class navigate.model.devices.remote_focus.ni.RemoteFocusNI(microscope_name: str, device_connection: Any, configuration: Dict[str, Any])
Bases:
RemoteFocusBase
RemoteFocusNI Class - Analog control of the remote focus device.
- __init__(microscope_name: str, device_connection: Any, configuration: Dict[str, Any]) → None
Initialize the RemoteFocusNI class.
- Parameters:
microscope_name (str) – The microscope name.
device_connection (Any) – The device connection object.
configuration (Dict[str, Any]) – The configuration dictionary.
Methods
__init__
(microscope_name, device_connection, ...)Initialize the RemoteFocusNI class.
adjust
(exposure_times, sweep_times[, offset])Adjust the waveform.
move
(exposure_times, sweep_times[, offset])Move the remote focus.
Attributes
The trigger source (e.g., physical channel).
The device connection object.
The board name.
- adjust(exposure_times, sweep_times, offset=None)
Adjust the waveform.
This method adjusts the waveform.
- 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) – The offset of the signal in volts.
- Returns:
waveform_dict – The waveform dictionary.
- Return type:
dict
- move(exposure_times, sweep_times, offset=None)
Move the remote focus.
This method moves the remote focus.
- 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) – The offset of the signal in volts.
- board_name
The board name.
- Type:
str
- camera_delay
Camera delay percent.
- Type:
float
- configuration
Configuration dictionary.
- Type:
dict
- daq
The device connection object.
- Type:
object
- 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
- trigger_source
The trigger source (e.g., physical channel).
- Type:
str
- waveform_dict
Waveform dictionary.
- Type:
dict