navigate.model.devices.lasers.laser_synthetic.SyntheticLaser
- class navigate.model.devices.lasers.laser_synthetic.SyntheticLaser(microscope_name, device_connection, configuration, laser_id)
Bases:
LaserBase
SyntheticLaser Class
- __init__(microscope_name, device_connection, configuration, laser_id)
Initialize the SyntheticLaser class.
- Parameters:
microscope_name (str) – The microscope name.
device_connection (object) – The device connection object.
configuration (dict) – The device configuration.
laser_id (str) – 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()
Close the port before exit.
- initialize_laser()
Initialize lasers.
- set_power(laser_intensity)
Set laser power
- Parameters:
laser_intensity (int) – Laser intensity
- turn_off()
Turn off the laser
- turn_on()
Turn on the laser
- configuration
Configuration dictionary
- Type:
dict
- device_config
Laser ID
- Type:
int
- microscope_name
Name of the microscope
- Type:
str