Module csw.Subsystem
Classes
class Subsystem (*args, **kwds)
-
Expand source code
class Subsystem(UpperCaseEnum): AOESW = SubsystemValue("AOESW", "Adaptive Optics Executive Software") APS = SubsystemValue("APS", "Alignment and Phasing System ") CIS = SubsystemValue("CIS", "Communications and Information Systems") CLN = SubsystemValue("CLN", "Optical Cleaning Systems") CRYO = SubsystemValue("CRYO", "Instrumentation Cryogenic Cooling System") CSW = SubsystemValue("CSW", "Common Software") DMS = SubsystemValue("DMS", "Data Management System") DPS = SubsystemValue("DPS", "Data Processing System") ENC = SubsystemValue("ENC", "Enclosure") ESEN = SubsystemValue("ESEN", "Engineering Sensors") ESW = SubsystemValue("ESW", "Executive Software") HNDL = SubsystemValue("HNDL", "Optics Handling Equipment") HQ = SubsystemValue("HQ", "Observatory Headquarters") IRIS = SubsystemValue("IRIS", "InfraRed Imaging Spectrometer") LGSF = SubsystemValue("LGSF", "Laser Guide Star Facility") M1COAT = SubsystemValue("COAT", "M1COAT M1 Optical Coating System") M1CS = SubsystemValue("CS", "M1CS M1 Control System ") M1S = SubsystemValue("S", "M1S M1 Optics System") M2COAT = SubsystemValue("COAT", "M2/M3 Optical Coating System") M2S = SubsystemValue("S", "M2S M2 System") M3S = SubsystemValue("S", "M3S M3 System") MODHIS = SubsystemValue("MODHIS", "Multi-Object Diffraction-limited High-resolution IR Spectrograph") NFIRAOS = SubsystemValue("NFIRAOS", "Narrow Field Infrared AO System") OSS = SubsystemValue("OSS", "Observatory Safety System") REFR = SubsystemValue("REFR", "Instrumentation Refrigerant Cooling System ") SCMS = SubsystemValue("SCMS", "Site Conditions Monitoring System") SER = SubsystemValue("SER", "Services") SOSS = SubsystemValue("SOSS", "Science Operations Support Systems") STR = SubsystemValue("STR", "Structure ") SUM = SubsystemValue("SUM", "Summit Facilities") TCS = SubsystemValue("TCS", "Telescope Control System") TINS = SubsystemValue("TINS", "Test Instruments") WFOS = SubsystemValue("WFOS", "Wide Field Optical Spectrograph") Container = SubsystemValue("Container", "Container Subsystem")
Create a collection of name/value pairs.
Example enumeration:
>>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3
Access them by:
- attribute access:
Color.RED
- value lookup:
Color(1)
- name lookup:
Color['RED']
Enumerations can be iterated over, and know how many members they have:
>>> len(Color) 3
>>> list(Color) [<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]
Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.
Ancestors
- UpperCaseEnum
- enum.Enum
Class variables
var AOESW
-
The type of the None singleton.
var APS
-
The type of the None singleton.
var CIS
-
The type of the None singleton.
var CLN
-
The type of the None singleton.
var CRYO
-
The type of the None singleton.
var CSW
-
The type of the None singleton.
var Container
-
The type of the None singleton.
var DMS
-
The type of the None singleton.
var DPS
-
The type of the None singleton.
var ENC
-
The type of the None singleton.
var ESEN
-
The type of the None singleton.
var ESW
-
The type of the None singleton.
var HNDL
-
The type of the None singleton.
var HQ
-
The type of the None singleton.
var IRIS
-
The type of the None singleton.
var LGSF
-
The type of the None singleton.
var M1COAT
-
The type of the None singleton.
var M1CS
-
The type of the None singleton.
var M1S
-
The type of the None singleton.
var M2COAT
-
The type of the None singleton.
var M2S
-
The type of the None singleton.
var M3S
-
The type of the None singleton.
var MODHIS
-
The type of the None singleton.
var NFIRAOS
-
The type of the None singleton.
var OSS
-
The type of the None singleton.
var REFR
-
The type of the None singleton.
var SCMS
-
The type of the None singleton.
var SER
-
The type of the None singleton.
var SOSS
-
The type of the None singleton.
var STR
-
The type of the None singleton.
var SUM
-
The type of the None singleton.
var TCS
-
The type of the None singleton.
var TINS
-
The type of the None singleton.
var WFOS
-
The type of the None singleton.
class SubsystemValue (name: str, description: str)
-
Expand source code
@dataclass class SubsystemValue: """ Defines constants for the available subsystems """ name: str description: str
Defines constants for the available subsystems
Instance variables
var description : str
-
The type of the None singleton.
var name : str
-
The type of the None singleton.