stoner_measurement.instruments.magnet_controller.MagnetState¶
- class stoner_measurement.instruments.magnet_controller.MagnetState(*values)[source]¶
Bases:
EnumOperational state of a superconducting magnet power supply.
- Variables:
STANDBY – The supply is powered but not actively ramping.
RAMPING – The output is being ramped towards the programmed target.
AT_TARGET – The output has reached the programmed target field or current.
PERSISTENT – The magnet is in persistent mode (heater off, leads de-energised).
QUIESCENT – The supply is in a low-power idle state.
FAULT – A recoverable fault condition has been detected.
QUENCH – A quench has been detected; the magnet protection circuit has discharged the stored energy.
UNKNOWN – The state cannot be determined from the instrument response.
- AT_TARGET = 'at_target'¶
- FAULT = 'fault'¶
- HOLDING = 'standby'¶
- PERSISTENT = 'persistent'¶
- QUENCH = 'quench'¶
- QUIESCENT = 'quiescent'¶
- RAMPING = 'ramping'¶
- STANDBY = 'standby'¶
- UNKNOWN = 'unknown'¶