Developer Guide¶
Developers are expected to manually maintain the Python enumeration modules in lsst.ts.idl.enums
,
updating them as the enumerations in ts_xml
are updated.
API¶
lsst.ts.idl Package¶
Functions¶
Return the data directory of this package. |
|
Return the path to the |
lsst.ts.idl.enums.ATCamera Module¶
Classes¶
|
|
|
|
|
|
|
|
|
|
|
|
|
lsst.ts.idl.enums.ATDome Module¶
Classes¶
|
|
|
|
|
|
|
lsst.ts.idl.enums.ATHexapod Module¶
Classes¶
|
lsst.ts.idl.enums.ATMCS Module¶
Classes¶
|
|
|
|
|
lsst.ts.idl.enums.ATMonochromator Module¶
Classes¶
|
|
|
|
|
|
|
|
|
|
|
|
|
ATMonochromator error codes. |
lsst.ts.idl.enums.ATPneumatics Module¶
Classes¶
|
|
|
|
|
lsst.ts.idl.enums.ATPtg Module¶
Classes¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Defines wrap strategy enumeration. |
lsst.ts.idl.enums.ATSpectrograph Module¶
Classes¶
|
|
|
|
|
|
|
lsst.ts.idl.enums.ATThermoelectricCooler Module¶
Classes¶
|
|
|
|
|
|
|
lsst.ts.idl.enums.Electrometer Module¶
Classes¶
|
|
|
lsst.ts.idl.enums.FiberSpectrograph Module¶
Classes¶
|
The event issued by the FiberSpectrograph CSC when exposures are started and/or stopped. |
|
Allowed SAL indices. |
lsst.ts.idl.enums.Guider Module¶
Classes¶
|
Guider status. |
|
Allowed SAL indices. |
lsst.ts.idl.enums.LinearStage Module¶
Classes¶
|
lsst.ts.idl.enums.MTAOS Module¶
Classes¶
|
MTAOS wavefront sensing mode. |
|
lsst.ts.idl.enums.MTDome Module¶
Classes¶
|
Drive enabled state. |
|
Louver name and associated array index. |
|
Motion state. |
|
Operational Modes. |
|
SubSystem ID bitmask. |
lsst.ts.idl.enums.MTHexapod Module¶
Classes¶
|
Bit masks for the value reported in |
|
Controller state reported as |
|
Controller substate for the ENABLED state. |
|
Controller substate for the OFFLINE state. |
|
Allowed SAL indices. |
|
Error codes. |
lsst.ts.idl.enums.MTM1M3 Module¶
Classes¶
|
|
|
|
|
|
|
|
|
lsst.ts.idl.enums.MTM2 Module¶
Classes¶
|
|
|
Type of the power. |
|
State of the power system. |
|
Closed loop control mode. |
|
Inner-loop control mode. |
lsst.ts.idl.enums.MTMount Module¶
Classes¶
|
Motion state of azimuth elevation and camera cable wrap. |
|
Who commands the low-level controller. |
|
Motion state of deployable systems. |
|
Position of elevation locking pin. |
|
Bit masks for the various limits. |
|
Power state of a system or motion controller. |
|
Subsystem ID: the subsystem field in error and warning events. |
lsst.ts.idl.enums.MTPtg Module¶
Classes¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Defines wrap strategy enumeration. |
lsst.ts.idl.enums.MTRotator Module¶
Classes¶
|
Controller state reported as |
|
Controller substate for the OFFLINE state. |
|
Controller substate for the ENABLED state. |
|
Bit masks for the value reported in |
|
Error codes. |
lsst.ts.idl.enums.PMD Module¶
Classes¶
|
lsst.ts.idl.enums.Script Module¶
Classes¶
|
ScriptState constants. |
|
Constants for the Script metadata.coordinateSystem event field |
|
Constants for the Script metadata.rotationSystem event field |
|
Constants for the Script metadata.dome event field |
lsst.ts.idl.enums.ScriptQueue Module¶
Classes¶
|
Location constants for adding and moving scripts. |
|
Allowed SAL indices for the bin scripts. |
|
ScriptQueue script.processState event constants. |
lsst.ts.idl.enums.TunableLaser Module¶
Classes¶
|
An enumeration class for handling the TunableLaser's substates. |
|
Laser error codes |
lsst.ts.idl.enums.Watcher Module¶
Classes¶
|
Alarm severity. |
Build and Test¶
This is a pure python package. You can build IDL files (see the user guide for instructions), run unit tests and build documentation.
setup -r .
pytest -v # to run tests
package-docs clean; package-docs build # to build the documentation
Contributing¶
ts_idl
is developed at https://github.com/lsst-ts/ts_idl.
You can find Jira issues for this package using labels=ts_idl..