The raw, uncalibrated FITS files are processed through calwf3, the software task that calibrates the data for individual exposures, producing calibrated FITS files. Exposures that are obtained as part of an associated set, such as dithered images, have
calwf3 calibration applied to the individual exposures before being processed as a set for the purpose of image combination. All calibrated images will be processed further with the STScI
AstroDrizzle software, for the purpose of removing geometric distortions from individual exposures and for combining associated exposures.
The FITS file name suffixes given to WFC3 raw and calibrated data products are described in Table E.1 and closely mimic the suffixes used by ACS and NICMOS. The initial input files to
calwf3 are the raw (RAW) files from generic conversion and the association (ASN) table, if applicable, for the complete observation set. For WFC3/UVIS images, a temporary file, with the suffix “BLV_TMP,” is created by
calwf3 once bias levels have been subtracted and the overscan regions trimmed. This file is renamed using the “FLT” suffix after the remaining standard calibrations (dark subtraction, flat fielding, etc.) have been completed. For exposures taken as part of a UVIS CR-SPLIT or REPEAT-OBS set, a parallel set of processing is performed, using the BLV_TMP files as input to an image combination and cosmic ray rejection routine. The resulting CR-combined image, with a temporary file name suffix of “CRJ_TMP”, then receives the remaining standard calibrations, after which it is renamed using the “CRJ” suffix.
The UVIS processing portion of calwf3 is based on
calacs calibrations of ACS/WFC CCD images, while the
calwf3 IR processing is very similar to
calnica processing of NICMOS images.
Calwf3 performs the following basic science data calibrations:
WFC3 grism observations are handled in a special way by the pipeline. Grism observations require a special flat-fielding procedure, where the flat-field value for each pixel is based on the wavelength of the detected signal. Calwf3 processing of grism images therefore uses an “identity” flat-field reference image (an image filled with values of 1.0 at each pixel), which allows for the gain calibration part of the flat-fielding step to still be applied without actually flat-fielding the science image. A separate software package, aXe, which was developed at ST-ECF and previously used for processing NICMOS and ACS spectral observations, is used to extract and calibrate one-dimensional spectra from WFC3 grism exposures (see
Section 8.5). The aXe software is available in STSDAS via PyRAF. The aXe software is used to locate and extract spectra of individual sources from calibrated images and performs wavelength calibration, background subtraction, flat fielding, and absolute flux calibration for the extracted spectra.
Table E.2 shows the values assigned to pixels in the DQ arrays of calibrated images, which indicate anomalous conditions and are frequently used in downstream processes to reject a pixel value. If more than one data quality condition applies to a pixel, the sum of the values is used. Note that some flag values have different meanings for UVIS and IR images.