Developer Guide¶
Contributing¶
lsst.ts.standardscripts
is developed at https://github.com/lsst-ts/ts_standardscripts.
You can find Jira issues for this package using project=DM and labels=ts_standardscripts.
Python API reference¶
Standard Scripts Core¶
lsst.ts.standardscripts Package¶
Functions¶
|
Reformat single instance of the attribute |
|
Format two input values into lists with the same lengths. |
Generate an s3 bucket object. |
|
Get the absolute path to the scripts directory. |
|
|
Reformat a topic command time from TAI unix to UTC. |
Classes¶
|
(Deprecated) Extend BaseScript to add support for executing blocks. |
|
A base Script that implements pointing the telescope to a fixed Az/El/Rot position. |
Base class for Script tests. |
|
|
Mute Watcher alarm(s) for a given amount of time. |
|
A script to pause the script queue. |
|
Run a command from a CSC and, optionally, wait for an event once the command finishes. |
|
Set the summary state for one or more CSCs. |
|
Sleep for a given amount of time. |
|
Discover all running CSCs and send them all to OFFLINE state. |
Class Inheritance Diagram¶
lsst.ts.standardscripts.scheduler Package¶
Classes¶
|
A base script that implements setting the desired state for the Scheduler. |
Class Inheritance Diagram¶
lsst.ts.standardscripts.calibration Module¶
OCS Script Classes¶
lsst.ts.standardscripts.data.scripts.ocs.scheduler.add_block Module¶
Classes¶
|
A base script that implements loading BLOCKS to the Scheduler. |
|
Add BLOCK to the OCSScheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.ocs.scheduler.enable Module¶
Classes¶
|
A base script that implements enable functionality for the Scheduler. |
|
Enable the OCS Scheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.ocs.scheduler.load_snapshot Module¶
Classes¶
|
A base script that implements loading snapshots for the Scheduler. |
|
Load snapshot for OCS Scheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.ocs.scheduler.resume Module¶
Classes¶
|
Resume OCS Scheduler. |
|
A base script that implements resuming the Scheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.ocs.scheduler.standby Module¶
Classes¶
|
Send OCS Scheduler to STANDBY state. |
|
Allowed SAL indices. |
|
A base script that implements setting the desired state for the Scheduler. |
lsst.ts.standardscripts.data.scripts.ocs.scheduler.stop Module¶
Classes¶
|
Stop OCS Scheduler. |
|
Allowed SAL indices. |
|
A base script that implements resuming the Scheduler. |
Auxiliary Telescope Standardscripts¶
lsst.ts.auxtel.standardscripts Package¶
Classes¶
|
|
|
Disable ATAOS corrections as a stand alone operation. |
|
Enable ATAOS corrections as a stand alone operation. |
|
Enable all ATCS components. |
|
Enable all LATISS components. |
|
Perform a focus sweep by taking images at different focus positions with LATISS. |
|
Perform a sequence of exposures for a given set of instrument configurations. |
|
Put ATCS components in offline. |
|
Put LATISS components in offline. |
|
Perform an ATAOS offset. |
|
Perform an ATCS offset. |
|
Auxiliary Telescope point_azel script. |
|
Run prepare for flat on ATCS. |
|
Run ATTCS startup. |
|
Run ATTCS shutdown. |
|
Put ATCS components in standby. |
|
Put LATISS components in standby. |
|
Stop telescope and dome. |
|
Stop telescope and dome tracking. |
|
Take a series of images with the ATCamera with set exposure times. |
|
Take a series of stuttered images with LATISS. |
|
Execute a Slew/Track operation with the Auxiliary Telescope. |
|
Track target and take image script. |
Class Inheritance Diagram¶
lsst.ts.auxtel.standardscripts.atdome Package¶
Classes¶
|
Run close dome on ATCS. |
|
Run close dropout door on ATCS. |
|
Run disable dome following on ATCS. |
|
Run enable dome following on ATCS. |
|
Run home dome on ATCS. |
|
Run open dome shutter on ATCS. |
|
A SAL script for opening the dropout door of the Auxiliary Telescope's dome based on current wind conditions as reported by the Environmental Sensor Suite 301 (ESS 301). |
|
Run slew dome on ATCS. |
Class Inheritance Diagram¶
lsst.ts.auxtel.standardscripts.calibrations Package¶
Classes¶
|
Powers off the ATCalSys dome flat illuminator turning white lamp off, closing the shutter and stopping the chiller. |
|
Powers on the ATCalSys dome flat illuminator (ATWhiteLight and ATMonochromator) required to perform image calibrations over white light. |
|
Run calibration sequence with LATISS using ATCalSys. |
Class Inheritance Diagram¶
lsst.ts.auxtel.standardscripts.daytime_checkout Package¶
Classes¶
|
Pneumatics Checkout SAL Script. |
|
DayTime LATISS Checkout SAL Script. |
|
DayTime Slew and Take Image Checkout SAL Script. |
|
DayTime Checkout SAL Script. |
Class Inheritance Diagram¶
lsst.ts.auxtel.standardscripts.detector_characterization Package¶
Classes¶
|
Implement script to get sensor characterization data. |
Class Inheritance Diagram¶
lsst.ts.auxtel.standardscripts.prepare_for Package¶
Classes¶
|
Put AT in CO2 cleanup position. |
|
Run prepare for flat on ATCS. |
|
Run ATTCS startup. |
|
Run prepare for vent on ATCS. |
Class Inheritance Diagram¶
AuxTel Scheduler Scripts¶
lsst.ts.standardscripts.data.scripts.auxtel.scheduler.add_block Module¶
Classes¶
|
Add BLOCK to the ATScheduler. |
|
A base script that implements loading BLOCKS to the Scheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.auxtel.scheduler.enable Module¶
Classes¶
|
Enable the ATScheduler. |
|
A base script that implements enable functionality for the Scheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.auxtel.scheduler.load_snapshot Module¶
Classes¶
|
Load snapshot for ATScheduler. |
|
A base script that implements loading snapshots for the Scheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.auxtel.scheduler.resume Module¶
Classes¶
|
Resume ATScheduler. |
|
A base script that implements resuming the Scheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.auxtel.scheduler.standby Module¶
Classes¶
|
Send ATScheduler to STANDBY state. |
|
Allowed SAL indices. |
|
A base script that implements setting the desired state for the Scheduler. |
lsst.ts.standardscripts.data.scripts.auxtel.scheduler.stop Module¶
Classes¶
|
Stop ATScheduler. |
|
Allowed SAL indices. |
|
A base script that implements resuming the Scheduler. |
Main Telescope Standardscripts¶
lsst.ts.maintel.standardscripts Package¶
Classes¶
|
Apply a DOF to the main telescope, either bending mode or hexapod offset. |
|
(Deprecated) Extend BaseScript to add support for executing blocks. |
|
Closed loop script. |
|
Encapsulates camera object, its configuration, and a unique identifier. |
|
Change filter of the LSSTCam. |
|
Run Closed Loop with ComCam. |
|
Run closed loop with LSSTCam. |
|
Run open mirror covers on MTCS. |
|
Send MTCS and LSSTCam CSCs to End Of Night State. |
|
Disable AOS Closed Loop task to run in parallel to survey mode imaging. |
Disable compensation mode for M2 and/or Camera Hexapods. |
|
|
Enable AOS Closed Loop task to run in parallel to survey mode imaging. |
|
Enable all ComCam components. |
Enable compensation mode for M2 and/or Camera Hexapods. |
|
|
Enable all LSSTCam components. |
|
Enable all MTCS components. |
The End-of-Night configurations for desired states |
|
|
Perform a focus sweep by taking images at different focus positions with ComCam. |
|
Perform a focus sweep by taking images at different focus positions with LSSTCam. |
|
Home azimuth and elevation axes of the MTMount. |
|
High level library for the Main Telescope Control System |
|
Move Telescope using point to point trajectory instead of traditional slew/tracking. |
|
Put ComCam components in offline. |
|
Put MTCS components in offline. |
|
Perform a camera hexapod offset or reset operation. |
|
Perform a m2 hexapod offset or reset operation.. |
|
Perform an MTCS offset. |
|
Run open mirror covers on MTCS. |
|
Main Telescope point_azel script. |
|
ScriptState constants. |
|
Set absolute positions DOF to the main telescope, either bending mode or hexapod position. |
|
Setup MTCS components so they are ready for operation. |
|
Put ComCam components in standby. |
|
Put MTCS components in standby. |
|
Stop telescope and dome. |
|
A script that executes stop_rotator method for |
|
Take aos sequence with ComCam. |
|
Take aos sequence with LSSTCam. |
|
A script for taking images concurrently with ComCam, LSSTCam, and/or one or more Generic Cameras. |
|
Take images with ComCam. |
|
Take images with LSSTCam. |
|
Take a series of stuttered images with ComCam. |
|
Take a series of stuttered images with LSSTCam. |
|
Execute a Slew/Track operation with the Main Telescope. |
|
Track target and take image script. |
|
Track target and take image script with one more Generic Cameras. |
|
Track target and take image script. |
Class Inheritance Diagram¶
lsst.ts.maintel.standardscripts.calibration Package¶
Classes¶
|
Stope the propagation of the Tunable Laser for functional testing. |
|
Starts propagating the Tunable Laser for functional testing. |
Class Inheritance Diagram¶
lsst.ts.maintel.standardscripts.laser_tracker Package¶
Classes¶
|
Align component using laser tracker. |
|
|
|
Measure component using laser tracker. |
|
Set up Laser Tracker. |
|
Shut down Laser Tracker. |
Class Inheritance Diagram¶
lsst.ts.maintel.standardscripts.m1m3 Package¶
Classes¶
|
Perform a M1M3 bump test on either a selection of individual actuators or on all actuators. |
|
Check M1M3 Individual hardpoint breakaway. |
|
Disable M1M3 force balance system. |
|
Enable M1M3 force balance system. |
Set M1M3 Slew Controller Settings for the main telescope. |
|
|
Lower M1M3 mirror. |
|
Raise M1M3 mirror. |
Class Inheritance Diagram¶
lsst.ts.maintel.standardscripts.m2 Package¶
Classes¶
|
Perform a M2 bump test on either a selection of individual actuators or on all axial actuators. |
|
Disable M2 closed-loop. |
|
Enable M2 closed-loop. |
Class Inheritance Diagram¶
lsst.ts.maintel.standardscripts.mtdome Package¶
Classes¶
|
Close MTDome shutter door. |
|
Script that makes the MTDome crawl. |
|
|
|
Disable Dome Following for the MTDome. |
|
Enable Dome Following for the MTDome. |
|
Home azimuth of the MTDome. |
|
Open MTDome shutter door. |
|
Park Dome for the MTDome. |
|
Slew main telescope dome to desired azimuth. |
|
Unpark Dome for the MTDome. |
Class Inheritance Diagram¶
lsst.ts.maintel.standardscripts.mtmount Package¶
Classes¶
|
Park Mount for the MTMount. |
|
Un-park Mount for the MTMount. |
Class Inheritance Diagram¶
lsst.ts.maintel.standardscripts.mtrotator Package¶
Classes¶
|
Move the rotator to a given angle. |
Class Inheritance Diagram¶
lsst.ts.maintel.standardscripts.prepare_for Package¶
Classes¶
|
Run prepare for align on MTCS. |
Class Inheritance Diagram¶
MainTel Scheduler Scripts¶
lsst.ts.standardscripts.data.scripts.maintel.scheduler.add_block Module¶
Classes¶
|
A base script that implements loading BLOCKS to the Scheduler. |
|
Add BLOCK to the MTScheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.maintel.scheduler.enable Module¶
Classes¶
|
A base script that implements enable functionality for the Scheduler. |
|
Enable the MTScheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.maintel.scheduler.load_snapshot Module¶
Classes¶
|
A base script that implements loading snapshots for the Scheduler. |
|
Load snapshot for MTScheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.maintel.scheduler.resume Module¶
Classes¶
|
Resume MTScheduler. |
|
A base script that implements resuming the Scheduler. |
|
Allowed SAL indices. |
lsst.ts.standardscripts.data.scripts.maintel.scheduler.standby Module¶
Classes¶
|
Send MTScheduler to STANDBY state. |
|
Allowed SAL indices. |
|
A base script that implements setting the desired state for the Scheduler. |
lsst.ts.standardscripts.data.scripts.maintel.scheduler.stop Module¶
Classes¶
|
Stop MTScheduler. |
|
Allowed SAL indices. |
|
A base script that implements resuming the Scheduler. |