navigate.model.devices.galvo.synthetic.SyntheticGalvo
- class navigate.model.devices.galvo.synthetic.SyntheticGalvo(microscope_name: str, device_connection: Optional[Any], configuration: Dict[str, Any], galvo_id: int = 0)
Bases:
GalvoBase
SyntheticGalvo Class
- __init__(microscope_name: str, device_connection: Optional[Any], configuration: Dict[str, Any], galvo_id: int = 0) → None
Initialize the SyntheticGalvo class.
- Parameters:
microscope_name (str) – Name of the microscope.
device_connection (Any) – Device connection.
configuration (Dict[str, Any]) – Dictionary of configuration parameters.
galvo_id (int) – Galvo ID. Default is 0.
Methods
__init__
(microscope_name, device_connection, ...)Initialize the SyntheticGalvo class.
adjust
(exposure_times, sweep_times)Adjust the galvo waveform to account for the camera readout time.
turn_off
()Turn off the galvo.
Attributes
Name of the microscope.
Device connection.
Configuration parameters.
Galvo ID.
- adjust(exposure_times, sweep_times)
Adjust the galvo waveform to account for the camera readout time.
- Parameters:
exposure_times (dict) – Dictionary of camera exposure time in seconds on a per-channel basis. e.g., exposure_times = {“channel_1”: 0.1, “channel_2”: 0.2}
sweep_times (dict) – Dictionary of acquisition sweep time in seconds on a per-channel basis. e.g., sweep_times = {“channel_1”: 0.1, “channel_2”: 0.2}
- Returns:
waveform_dict – Dictionary that includes the galvo waveforms on a per-channel basis.
- Return type:
dict
- turn_off()
Turn off the galvo.
- camera_delay
Camera delay
- Type:
float
- configuration
Configuration parameters.
- Type:
dict
- device_config
Dictionary of device connections.
- Type:
dict
- device_connection
Device connection.
- Type:
object
- galvo_id
Galvo ID.
- Type:
int
- galvo_max_voltage
Galvo max voltage.
- Type:
float
- galvo_min_voltage
Galvo min voltage.
- Type:
float
- galvo_name
Name of the galvo.
- Type:
str
- galvo_waveform
Galvo waveform. Waveform or Sawtooth.
- Type:
str
- microscope_name
Name of the microscope.
- Type:
str
- sample_rate
Sample rate.
- Type:
int
- sweep_time
Sweep time.
- Type:
float
- waveform_dict
Dictionary of galvo waveforms.
- Type:
dict