NAME
flatten - to correct FITS file for instrumental effects
SYNOPSIS
flatten fits_file [noclobber] [bias=] [dark=] [flat=]
DESCRIPTION
flatten does the following.
- subtracts bias frame
- subtracts dark frame scaled by exposure time
- removes cosmic rays
- divides by flat field
The corrected file is written as the file flatten.fits.
This file overwrites the input file unless the
noclobber option is specified.
The bias, dark, and flat fields may be specfied on the
command line or if not specified, they will be
selected using the findcal program.
Cosmic rays are assumed to be 1 pixel events and are removed
with the spike program.
Program index