navigate.model.devices.laser.asi.ASILaser
- class navigate.model.devices.laser.asi.ASILaser(microscope_name: str, device_connection: Any, configuration: dict[str, Any], device_id: int)
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: str, device_connection: Any, configuration: dict[str, Any], device_id: int) → None
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.
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() → None
Close the ASI Laser serial port.
Turns the laser off and then closes the port.
- classmethod connect(port: str, baudrate: int = 115200, timeout: float = 0.25) → navigate.model.devices.APIs.asi.asi_tiger_controller.TigerController
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() → None
Disconnect from serial device.
- set_power(laser_intensity: float) → None
Sets the analog laser power.
- Parameters:
laser_intensity (float) – The laser intensity.
- turn_off() → None
Turns off the laser.
- turn_on() → None
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
- device_name
Name of the device, used as a unique identifier.
- Type:
str
- 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