biasflat makes bias and flat-field corrections to all CCD frames of an image set. Depending on input, biasflat does one of several things:
biasflat returns a new set of image files framename_b_cn.fits
, for bias
corrected frames, and framename_f_cn.fits
for bias and flat corrected frames.
biasflat may be used for either direct of spectroscopic frames; if
spectroscopic, the flat field frame should have been prepared with Sflats.
USAGE | biasflat [-b biasframe] [-f flatframe] [framename[s]]
| ||||||||||||
INPUT |
| ||||||||||||
OUTPUT | framename_b_cn.fits or framename_f_cn.fits are sets of corrected frames
| ||||||||||||
PARAMETERS |
|
At a minimum, biasflat used the overscan regions to do bias corrections., and corrects, for IMACS, for the relative gains of the 8 chips, using the gains specified in the parameter files. If a bias file is specified, either on the command line or in the parameter file, that image is first subtracted from the data frames, before a final overscan correction is made. If a flat field frame is specified, either on the command line or in the parameter file, the bias- corrected frame is divided by the flat field frame. The flat field frame must either (1) have already been bias-corrected, or (2) have the same bias levels and overscan regions as the other frames.
In the case of spectroscopic data, the flat field frame should have been prepared with Sflats, which properly normalizes each flat field spectrum.
The gains inserted in the parameter file included with the COSMOS distribution represent the latest, best determinations for IMACS at the time the distribution was made, and should not be changed unless you have better or more recent information. The gains are not used for the LDSS3 data, which at this stage of the analysis have already been combined into one array.