BAIT: eveflat.html script

NAME

eveflat.csh - generates dusk flat fields

SYNOPSIS

eveflat.csh

DESCRIPTION

eveflat.csh is a script which takes a series of exposures of the twilight sky, modifying the exposure time as necessary for each picture. The filter must be specified by the FILTERS environment variable so it is usually invoked by telco thru a request file. The genflat script can be used to generate the needed request file.

The procedure points the telescope slightly east of the zenith (so the dome is pointed away from the setting sun) and strives to take exposures with an average count rate of 10,000 adu's. After each exposure the telescope is offset slightly so that background stars will be eliminated by the subsequent median. If the sky is too bright, the procedure sleeps and will try again. If the sky is too dark (exposure greater than 60 seconds) the procedure exits with a non-zero code. The images are written to the files `flat$FILTERS$num.fts'. If the median is successful, the image is given a unique id using mkid and the image is copied into DATA_DIR/flats/flat$FILTERS.fts.

SEE ALSO

request_file, telco