navigate.model.devices.galvo.synthetic.SyntheticGalvo
- class navigate.model.devices.galvo.synthetic.SyntheticGalvo(microscope_name: str, device_connection: Optional[Any], configuration: dict[str, Any], device_id: int = 0)
Bases:
GalvoBase
SyntheticGalvo Class
- __init__(microscope_name: str, device_connection: Optional[Any], configuration: dict[str, Any], device_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.
device_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: dict[str, float], sweep_times: dict[str, float]) → dict[str, Any]
Adjust the galvo waveform to account for the camera readout time. :param exposure_times: Dictionary of exposure times. :type exposure_times: dict[str, float] :param sweep_times: Dictionary of sweep times. :type sweep_times: dict[str, float]
- Returns:
Adjusted exposure and sweep times.
- Return type:
dict[str, Any]
- 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