Quick Reference
- After creating multiple states for KCWI, take some time to verify that they look correct, including the detector configuration sub-menu
- States that are modified after taking calibrations might require a new set of calibrations
The GUI looks like this:
- Enter the name of your program in the Program ID box
- Check the boxes next to the configurations that you want to calibrate
- Click "Prepare calibration scripts"
- This will save
.state
files for each configuration to the current outdir.
- Then it will generate
.csh
scripts to iterate over and execute cals for each state in the three modes (see below).
- Finally, it will generate
.cal
files for each state.
- If you wish to take a different number of calibration frames or change exposure times or otherwise customize your calibrations, you can edit the relevant
.cal
files.
- Note that clicking "Prepare calibration scripts" again will overwrite old files, so if you have made edits to your
.cal
files, you will need to make the changes again.
- Chose the calibration mode:
- All if the telescope is released
- Internal if you don't have access to the telescope
- Dome if you are taking dome flats only after the telescope has been released
- Click "Run cals". This will execute the relevant
.csh
file generated in the "Prepare calibration scripts" step.
If the Calibration GUI crashes when you select your program, the most likely problem is that one of your states is missing keywords. A quick fix is to go back to the configuration manager (the web page), edit the state and click on Default Cal Unit and Default Detector, and Update.
If it still doesn't work, ask for help from your SA but remember that the manual version still works.