NAME
dark
SYNOPSIS
dark tarid= [logid=]
DESCRIPTION
This procedure creates a dark or bias frame that is requested by the
targetID number on the command line.
Remember a bias is a dark with a very short exposure time.
dark does the following:
- Points telescope to zenith
- Closes the mirror
- Waits for the CCD to cool
- Makes sure the slit is closed and the lights are all off
- Turns off the telescope tracking
- Then for each PictureID it:
- Takes the Picture.Count images with the shutter closed Picture.Exptime long
- Takes the median of the Picture.Count images
- If time is less than 1 second, the FITS keyword is set to 'BIAS'
- Otherwise it is set to 'DARK' and it subtracts off the bias frame
- Creates and names FITS file with mkid
Database Inputs
Observer.Name
Picture.Exptime
Picture.Binning
Picture.Count
FITS Keywords
IMAGETYP - BIAS or DARK
OBSERVER from Observer.Name
PICID from Target
COUNT from Picture.Count
COMMENT stating generated by dark
BIAS - if it is a dark
Program Index