|Script to do biases and spectral calibs for all setups and windows used in a particular night.|
Of course, this script should not be used for previous nights in case optical elements have been changed since.
The wheel setups are checked for inconsistencies in current vs stored wheel position content.
Any such inconsistent setup will be skipped, with a warning on the talker.
[-e] echo mode: only show what will have be done in case started without the -e flag
<datestr> for expample 'ALwb13'
Spectroscopic and window setups are collected from the FITSheader database.
For all different window setups bias frames will be taken.
For all different setups with a grism in the beam, spectroscopic flats and arc-lamp spectra will be taken.
For flat/arc exposure times, alfosc.callampstimes is used.
Setups that are yet non-supported by alfosc.callampstimes will automatically be skipped, with a warning on the talker
When the flag -skip is given, the user is asked to specify interactively
from which GRISM or WINDOW setup to (re-)start alfosc-calibs.
Is supposed to work also for spectropolarimetry.