MaxiOPG¶
- class lsst.ts.tunablelaser.MaxiOPG(component, simulation_mode=False, configuration='No SCU')¶
Bases:
CanbusModule
Implement the MaxiOPG laser module which contains registers for optical alignment and wavelength.
- Parameters:
- commander
TCPIPClient
A reference to the tcp/ip client
- simulation_mode
bool
False for normal operation, true for simulation operation.
- configuration
str
Used for unit testing, changes the laser direction between the spectral cleaning unit or not Requires a physical change on the hardware which is why it’s hardcoded in the class.
- commander
- Attributes:
- name
str
The name of the module.
- id
int
The id of the module.
- commander
TCPIPClient
A reference to the tcp/ip client.
- wavelength_register
AsciiRegister
Handles the “WaveLength” register.
- configuration_register
AsciiRegister
Handles the “Configuration” register.
- name
Methods Summary
change_wavelength
(wavelength)Change the wavelength of the laser.
Set the configuration of the output of the laser
Publish the register values of the modules.
Methods Documentation
- async change_wavelength(wavelength)¶
Change the wavelength of the laser.
- Parameters:
- wavelength
float
The wavelength to change to.
- wavelength
- Returns:
- None
- async set_configuration()¶
Set the configuration of the output of the laser
- Parameters:
- configuration
str
, {Det,No SCU,SCU,F1 SCU,F2 SCU,F1 No SCU, - F2 No SCU}
These are the output points that can be chosen. Note that if SCU/No SCU is set in the controller, then only those options with the term can be chosen.
- configuration
- Returns:
- None
- async update_register()¶
Publish the register values of the modules.
- Returns:
- None