Laser¶
- class lsst.ts.tunablelaser.Laser(csc, terminator, encoding, simulation_mode=False)¶
Bases:
ABC
Implement common Laser interface.
- Parameters:
- Attributes:
- csc
LaserCSC
The CSC object.
- terminator
bytes
The characters that terminate sent/received messages.
- encoding
str
The type of encoding to use.
- log
logging.Logger
The log of the component.
- simulation_mode
bool
Is the laser being simulated?
- commander
lsst.ts.tcpip.Client
A TCP/IP client.
- csc
Attributes Summary
Is the laser connected?
Is the laser propagating?
The temperature sensors.
The wavelength of the laser.
Methods Summary
change_wavelength
(wavelength)Change the wavelength.
Clear the fault state of the laser.
configure
(config)Configure the laser.
connect
()Connect to the laser.
Disconnect from the laser.
set_burst_mode
(count)Set the burst mode and count.
set_output_energy_level
(output_energy_level)Set the output energy level.
Start propagating the laser.
Stop propagating the laser.
Trigger burst.
Attributes Documentation
- connected¶
Is the laser connected?
- is_propagating¶
Is the laser propagating?
- temperature¶
The temperature sensors.
- wavelength¶
The wavelength of the laser.
Methods Documentation
- abstract change_wavelength(wavelength)¶
Change the wavelength.
- Parameters:
- wavelength: `float`
The value to change the wavelength.
- abstract clear_fault()¶
Clear the fault state of the laser.
- abstract configure(config)¶
Configure the laser.
- async connect()¶
Connect to the laser.
- async disconnect()¶
Disconnect from the laser.
- abstract set_burst_mode(count)¶
Set the burst mode and count.
- abstract set_output_energy_level(output_energy_level)¶
Set the output energy level.
- Parameters:
- output_energy_level:
The laser’s energy level.
- abstract start_propagating()¶
Start propagating the laser.
- abstract stop_propagating()¶
Stop propagating the laser.
- abstract trigger_burst()¶
Trigger burst.