navigate.model.devices.lasers.laser_base.LaserBase
- class navigate.model.devices.lasers.laser_base.LaserBase(microscope_name, device_connection, configuration, laser_id)
Bases:
object
Laser Base Class
- __init__(microscope_name, device_connection, configuration, laser_id)
Initialize Laser Base Class
- Parameters:
microscope_name (str) – Name of the microscope
device_connection (str) – Connection string for the device
configuration (dict) – Configuration dictionary
laser_id (int) – Laser ID
Methods
__init__
(microscope_name, device_connection, ...)Initialize Laser Base Class
close
()Close the laser before exit.
Initialize lasers.
set_power
(laser_intensity)Set laser power
turn_off
()Turn off the laser
turn_on
()Turn on the laser
Attributes
Configuration dictionary
Name of the microscope
Laser ID
- close()
Close the laser 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