navigate.model.devices.daq.base.DAQBase
- class navigate.model.devices.daq.base.DAQBase(configuration: Dict[str, Any])
Bases:
object
DAQBase - Parent class for Data Acquisition (DAQ) classes.
- __init__(configuration: Dict[str, Any]) → None
Initializes the DAQBase class.
- Parameters:
configuration (Dict[str, Any]) – Dictionary of configuration parameters
Methods
__init__
(configuration)Initializes the DAQBase class.
calculate_all_waveforms
(microscope_name, ...)Pre-calculates all waveforms necessary for the acquisition and organizes in a dictionary format.
enable_microscope
(microscope_name)Enables the microscope.
Attributes
Dictionary of configuration parameters
Dictionary of waveform constants
Name of the active microscope
Dictionary of DAQ parameters
Sample rate of the DAQ
Sweep times for different channels
exposure times for different channels
Camera delay percentage
Dictionary of waveforms.
Number of times to repeat the waveform
Number of times to expand the waveform
- calculate_all_waveforms(microscope_name, exposure_times, sweep_times)
Pre-calculates all waveforms necessary for the acquisition and organizes in a dictionary format.
- Parameters:
microscope_name (str) – Name of the active microscope
exposure_times (dict) – Dictionary of exposure times for each selected channel
sweep_times (dict) – Dictionary of sweep times for each selected channel
- Returns:
self.waveform_dict – Dictionary of waveforms to pass to galvo and ETL, plus a camera waveform for display purposes.
- Return type:
dict
- enable_microscope(microscope_name: str) → None
Enables the microscope.
- Parameters:
microscope_name (str) – Name of the active microscope
- camera_delay
Camera delay percentage
- Type:
float
- configuration
Dictionary of configuration parameters
- Type:
dict
- daq_parameters
Dictionary of DAQ parameters
- Type:
dict
- exposure_times
exposure times for different channels
- Type:
dict
- microscope_name
Name of the active microscope
- Type:
str
- sample_rate
Sample rate of the DAQ
- Type:
float
- sweep_times
Sweep times for different channels
- Type:
dict
- waveform_constants
Dictionary of waveform constants
- Type:
dict
- waveform_dict
Dictionary of waveforms.
- Type:
dict
- waveform_expand_num
Number of times to expand the waveform
- Type:
int
- waveform_repeat_num
Number of times to repeat the waveform
- Type:
int