Use the command:
generate_cal_script.py
to create a master calibration script for your states on your screen.
This script will create four new scripts in your home directory:
Script | Function |
---|---|
generate_cal_files.csh |
Generate the lists of required calibration for each of your states |
all_calibrations.csh |
Execute a complete calibration sequence, including internal and dome cals |
nodome_calibrations.csh |
Execute only the internal calibrations |
dome_calibrations.csh |
Execute only the dome calibrations, if they have been skipped earlier |
To proceeed, run csh generate_cal_files.csh and inspect the .cal files to make sure they meet your requirements. In general the only values you might want to change are the number of flats/arcs, or add darks. Then, run one of the calibrations scripts, depending on the current conditions. If the telescope is released, you can run csh all_calibrations.csh, otherwise you might want to run the nodome version first.
Each script is made of two parts:
Note that these scripts are highly optimized for speed and to minize the instrument configuration changes. They also minimize the number of binning changes, because the current version of the DSP code introduces a low level of residual charge when the binning is modified
Execution time depends on the number of calibrations and on the exposure times needed. For each state, the execution time can vary from 10 to 40 minutes.
If the telescope is not released (we are not pointing at the flat screen, elevation is not 45), the calibration script will automatically skip dome flats.
They have to be taken separately. See your Support Astronomer to do that.