navigate.model.devices.lasers.synthetic.SyntheticLaser
- class navigate.model.devices.lasers.synthetic.SyntheticLaser(microscope_name: str, device_connection: Any, configuration: Dict[str, Any], laser_id: int)
Bases:
LaserBase
SyntheticLaser Class
- __init__(microscope_name: str, device_connection: Any, configuration: Dict[str, Any], laser_id: int) → None
Initialize the SyntheticLaser class.
- Parameters:
microscope_name (str) – The microscope name.
device_connection (Any) – The device connection object.
configuration (Dict[str, Any]) – The device configuration.
laser_id (int) – The laser ID.
Methods
__init__
(microscope_name, device_connection, ...)Initialize the SyntheticLaser class.
close
()Close the port before exit.
Initialize lasers.
set_power
(laser_intensity)Set laser power
turn_off
()Turn off the laser
turn_on
()Turn on the laser
Attributes
- close() → None
Close the port before exit.
- initialize_laser() → None
Initialize lasers.
- set_power(laser_intensity: int) → None
Set laser power
- Parameters:
laser_intensity (int) – Laser intensity
- turn_off() → None
Turn off the laser
- turn_on() → None
Turn on the laser
- configuration
Configuration dictionary
- Type:
dict
- device_config
Laser ID
- Type:
int
- device_connection
Communication instance with the device
- Type:
Any
- microscope_name
Name of the microscope
- Type:
str