MockNT900¶
- class lsst.ts.tunablelaser.MockNT900¶
Bases:
object
Implements a mock NT900 laser.
- Attributes:
- wavelength
float
The wavelength of the laser.
- temperature
float
The temperature of the laser.
- current
str
The electrical current of the laser.
- propagating
str
Whether the laser is propagating.
- output_energy_level
str
The energy level of the laser’s output
- configuration
str
Which output the laser is propagating from.
- log
logging.Logger
The log for this class.
- wavelength
Methods Summary
check_limits
(value, min, max)Check the limits of a value.
Return current as formatted string.
Return fault code of the module.
Return the power state of the module
Return error code from module
Return current hv voltage as formatted string.
Return temperature from module
Return temperature from module
Return temperature from module
Return the power current of the module
Return the fault code of the module
Return the power state of the module
Return current burst length as formatted string.
Return current burst pulses left as formatted string.
Return laser propagation mode.
Return the power current of the module.
Return the fault code of the module.
Return current frequency divider as formatted string.
Return current output energy level as formatted string.
Return propagation state.
Return current qsw adjustment output delay as formatted string.
Return current repetition rate as formatted string.
Return current synchronization mode as formatted string.
Return temperature from module
Return temperature from module
Return current configuration as formatted string.
Return current wavelength as formatted string.
Return current error code as formatted string.
do_set_m_cpu800_18_continuous_burst_mode_trigger_burst
(mode)Set the propagation mode of the laser.
Change output energy level as formatted string.
do_set_m_cpu800_18_power
(state)Set the propagation state of the laser.
do_set_maxiopg_31_configuration
(configuration)Change the configuration as formatted string.
do_set_maxiopg_31_wavelength
(wavelength)Set wavelength.
Change setpoint temperature as formatted string.
parse_message
(msg)Parse and return the result of the message.
Methods Documentation
- check_limits(value, min, max)¶
Check the limits of a value.
- do_11pmku_54_power()¶
- do_cpu8000_16_power()¶
Return the power state of the module
- Returns:
str
The current power state of the module.
- do_delaylin_40_error_code()¶
Return error code from module
- do_ldco48bp_24_display_temperature()¶
Return temperature from module
- do_ldco48bp_29_display_temperature()¶
Return temperature from module
- do_ldco48bp_30_display_temperature()¶
Return temperature from module
- do_m_cpu800_17_display_current()¶
Return the power current of the module
- Returns:
str
The displayed current.
- do_m_cpu800_17_fault_code()¶
Return the fault code of the module
- Returns:
str
The current fault code. Always returns 0.
- do_m_cpu800_17_power()¶
Return the power state of the module
- Returns:
str
The current power state of the module
- do_m_cpu800_18_burst_pulses_to_go()¶
Return current burst pulses left as formatted string.
- Returns:
- do_m_cpu800_18_display_current()¶
Return the power current of the module.
- do_m_cpu800_18_fault_code()¶
Return the fault code of the module.
- do_m_cpu800_18_frequency_divider()¶
Return current frequency divider as formatted string.
- Returns:
- do_m_cpu800_18_output_energy_level()¶
Return current output energy level as formatted string.
- Returns:
- do_m_cpu800_18_qsw_adjustment_output_delay()¶
Return current qsw adjustment output delay as formatted string.
- Returns:
- do_m_cpu800_18_synchronization_mode()¶
Return current synchronization mode as formatted string.
- Returns:
- do_m_ldco48_33_display_temperature()¶
Return temperature from module
- do_m_ldco48_34_display_temperature()¶
Return temperature from module
- do_maxiopg_31_wavelength()¶
Return current wavelength as formatted string.
- Returns:
str
The current wavelength.
- do_set_m_cpu800_18_burst_length(count)¶
- do_set_m_cpu800_18_continuous_burst_mode_trigger_burst(mode)¶
Set the propagation mode of the laser.
- do_set_m_cpu800_18_output_energy_level(energy_level)¶
Change output energy level as formatted string.
- Returns:
- do_set_m_cpu800_18_power(state)¶
Set the propagation state of the laser.
- do_set_maxiopg_31_configuration(configuration)¶
Change the configuration as formatted string.
- Returns:
- do_set_maxiopg_31_wavelength(wavelength)¶
Set wavelength.
- do_tk6_44_display_temperature()¶
- do_tk6_45_display_temperature()¶