Laser
LASER module for qosst-hal.
- class qosst_hal.laser.FakeLaser(_location: Any, **_kwargs)
Fake laser, to be used as a dummy laser.
- __init__(_location: Any, **_kwargs) None
- Parameters:
_location (Any) – ignored parameter.
- __str__() str
Return str(self).
- close() None
Close the fake hardware (do nothing)
- disable() None
Disable the fake hardware (do nothing).
- enable() None
Enable the fake hardware (do nothing).
- open() None
Open the fake hardware (do nothing).
- set_parameters(**_kwargs) None
Set the parameters for the fake hardware (do nothing).
- class qosst_hal.laser.GenericLaser(_location: Any, **_kwargs)
Class for Generic Laser.
A Laser Class should implement:
open: open connection with the laser.
close: close connection with the laser.
set_parameters: set the different parameter of the laser.
enable: start the laser with the given parameters.
disable: disable the emission.
- __init__(_location: Any, **_kwargs) None
All parameters are ignored.
- __str__() str
Return str(self).
- abstract disable() None
Stop the emission of the laser.
- abstract enable() None
Start the emission of the laser with the parameters set in set_parameters.
This also disables all possible loops to reach low noise levels.
- abstract set_parameters(**_kwargs) None
Set the parameters of the laser. Refer to specific classes to know which parameters they accept.