navigate.model.devices.laser.asi.ASILaser
- class navigate.model.devices.laser.asi.ASILaser(microscope_name, device_connection, configuration, device_id: int = 0)
Bases:
LaserBase
,SerialDevice
ASILaser - Class for controlling ASI Lasers
This class is used to control a laser connected to a ASI Device.
- __init__(microscope_name, device_connection, configuration, device_id: int = 0)
Initialize the ASILaser class.
- Parameters:
microscope_name (str) – The microscope name.
device_connection (TigerController) – The device connection object.
configuration (dict) – The device configuration.
device_id (int) – The laser id.
Methods
__init__
(microscope_name, device_connection, ...)Initialize the ASILaser class.
close
()Close the ASI Laser serial port.
connect
(port[, baudrate, timeout])Build ASILaser Serial Port connection
Disconnect from serial device.
Initialize lasers.
set_power
(laser_intensity)Sets the analog laser power.
turn_off
()Turns off the laser.
turn_on
()Turns on the laser.
Attributes
The minimum digital modulation voltage.
The maximum digital modulation voltage.
The minimum analog modulation voltage.
The maximum analog modulation voltage.
Output axis on Tiger Controller
Output axes on Tiger Controller
The modulation type of the laser - Analog, Digital, or Mixed.
ASI Tiger Controller object.
- close()
Close the ASI Laser serial port.
Turns the laser off and then closes the port.
- classmethod connect(port, baudrate=115200, timeout=0.25)
Build ASILaser Serial Port connection
- Parameters:
port (str) – Port for communicating with the filter wheel, e.g., COM1.
baudrate (int) – Baud rate for communicating with the filter wheel, default is 115200.
timeout (float) – Timeout for communicating with the filter wheel, default is 0.25.
- Returns:
tiger_controller – ASI Tiger Controller object.
- Return type:
TigerController
- disconnect()
Disconnect from serial device.
- initialize_laser() → None
Initialize lasers.
- set_power(laser_intensity: float)
Sets the analog laser power.
- Parameters:
laser_intensity (float) – The laser intensity.
- turn_off()
Turns off the laser.
- turn_on()
Turns on the laser.
- analog_axis
Output axis on Tiger Controller
- Type:
str
- configuration
Configuration dictionary
- Type:
dict
- device_config
Laser ID
- Type:
int
- device_connection
Communication instance with the device
- Type:
Any
- digital_axis
Output axes on Tiger Controller
- Type:
str
- laser
ASI Tiger Controller object.
- Type:
TigerController
- laser_max_ao
The maximum analog modulation voltage.
- Type:
float
- laser_max_do
The maximum digital modulation voltage.
- Type:
float
- laser_min_ao
The minimum analog modulation voltage.
- Type:
float
- laser_min_do
The minimum digital modulation voltage.
- Type:
float
- microscope_name
Name of the microscope
- Type:
str
- modulation_type
The modulation type of the laser - Analog, Digital, or Mixed.
- Type:
str