Compute an average dark frame of a set of dark frames.
munipack dark [-bias file] [..] file(s)
A dark frame is a map of a dark current, thermally generated charged particles captured in pixels. Amount of the dark current is proportional both temperature and exposure time. This routine creates an average dark frame, sometimes named as a masterdark.
An output image Oij is computed as the average of every pixel of input images (Ik)ij:
Oij = 〈Ik - B〉ij,
where i,j is an index of a pixel and k is an index of an image. The bias frame Bij is optional. When one is available, one is subtracted from dark exposures before averaging.
It is strongly recommended correct setting of FITS_KEY_EXPTIME (environment variables) because the exposure time will usable for later processing. Chip temperatures are checked to be equal during processing when FITS_KEY_TEMPERATURE is valuable.
On input, list of dark frame frames is expected. Optionaly, a bias can by pre-applied on every frame.
On output, a single file representing of mean dark frame is created. Masked values (if parameter -bitmask is presented) are set to the frame mean.
Also see Common options. A temperature and exposure time parameteres are set via Environment variables.
$ munipack dark -o d120.fits d120_*.fits
Light Curve Tutorial, Photometric corrections tutorial, Averaged bias frame.