Heaters
pychilaslasers.laser_components.heaters
Heater components package for laser thermal control.
This package provides heater component classes for controlling thermal elements of the laser. Includes channel definitions and individual heater types.
Classes:
-
HeaterChannel
–Enum representing the different heater channels
-
TunableCoupler
–Tunable coupler section heater for wavelength fine-tuning
-
LargeRing
–Large ring section heater for coarse wavelength adjustment
-
SmallRing
–Small ring section heater for fine wavelength adjustment
-
PhaseSection
–Phase section heater for phase adjustment and mode control
Authors: SDU
Classes
Heater(laser: Laser)
Bases: LaserComponent
Base class for laser heater components.
Provides common functionality for all heater types including value setting and channel management.
Attributes:
-
channel
(HeaterChannel
) –The heater channel identifier.
-
value
(float
) –The current heater drive value.
-
min_value
(float
) –Minimum heater value.
-
max_value
(float
) –Maximum heater value.
-
unit
(str
) –Heater value unit.
Sets up the heater with its operating limits and units by querying the laser hardware.
Parameters:
-
laser
(Laser
) –The laser instance to control.
Source code in src/pychilaslasers/laser_components/heaters/heaters.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|
Attributes
channel: HeaterChannel
abstractmethod
property
Get the heater channel identifier.
Must be implemented by subclasses to specify which heater channel this component controls.
Returns:
-
HeaterChannel
–The channel identifier for this heater.
value: float
property
writable
Get the current heater drive value.
Returns:
-
float
–The current heater drive value.
Functions
get_value() -> float
Alias for the value
property getter.
Returns:
-
float
–The current heater drive value.
Source code in src/pychilaslasers/laser_components/heaters/heaters.py
110 111 112 113 114 115 116 117 |
|
set_value(value: float) -> None
Alias for the value
property setter.
Parameters:
-
value
(float
) –The heater drive value to set.
Raises:
-
ValueError
–If value is not a number or outside valid range.
Source code in src/pychilaslasers/laser_components/heaters/heaters.py
119 120 121 122 123 124 125 126 127 128 129 |
|
LargeRing(laser: Laser)
Bases: Heater
Large ring heater component.
Source code in src/pychilaslasers/laser_components/heaters/heaters.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|
Attributes
channel: HeaterChannel
property
Get the large ring channel.
PhaseSection(laser: Laser)
Bases: Heater
Phase section heater component.
Source code in src/pychilaslasers/laser_components/heaters/heaters.py
162 163 164 165 166 167 168 169 |
|
Attributes
anti_hyst: bool
property
writable
Get the anti-hysteresis flag.
channel: HeaterChannel
property
Get the phase section channel.
Functions
SmallRing(laser: Laser)
Bases: Heater
Small ring heater component.
Source code in src/pychilaslasers/laser_components/heaters/heaters.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|
Attributes
channel: HeaterChannel
property
Get the small ring channel.
TunableCoupler(laser: Laser)
Bases: Heater
Tunable coupler heater component.
Source code in src/pychilaslasers/laser_components/heaters/heaters.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|
Attributes
channel: HeaterChannel
property
Get the tunable coupler channel.
pychilaslasers.laser_components.heaters.HeaterChannel
Bases: Enum