The science data that an observer receives are calibrated in the pipeline by the following
STSDAS calibration routines:
CalTempFromBias, calnica,
calnicb and
runcalsaa. These routines perform different operations:
These routines determine which calibration steps are to be performed by looking at the values of the
calibration switch keywords in the primary header of the input science data files (see
Table 2.4). The tasks select the reference files to use in the calibration of the data by retrieving the reference file names from the
reference file keywords, also located in the primary header of the input data files. The appropriate values of the calibration switches and reference file keywords depend on the instrumental configuration used, the date when the observations were taken, and any special pre-specified constraints. They are set in the headers of the raw data file in the pipeline during the generic conversion process. The
calibration indicators keywords record which steps have been performed on the data, and get updated after processing. In particular, the indicators for completed steps will have been assigned the value “performed”, while the indicators for the steps that were not performed will have been set to “omitted” or “skipped”. If the calibration switch keyword is set to “omit,” then the calibration indicator keyword will be “omitted” after running the calibration routine. If the calibration switch keyword is set to “perform,” and the reference file is a dummy, then the calibration indicator keyword will be “skipped.” The calibration indicators keywords should be examined in the primary header of the calibrated science data (
*_cal.fits) to determine what calibration steps were applied to the data.
The CalTempFromBias, calnica, and
calnicb tasks are available in
STSDAS in the
hst_calib.nicmos package. The
runcalsaa routine in the pipeline comprises of two
PyRAF tasks,
saaclean and
nic_rem_persist which are also available in the
hst_calib.nicmos package. By using these tasks, observers can recalibrate data using the same software as the routine calibration pipeline at STScI. As an alternative, users who want to combine dithered or mosaiced NICMOS images can use the
MultiDrizzle software:
The NICMOS grism mode permits multi-object, slitless spectroscopy at low resolution. The
calnica pipeline will process such grism images but will not apply the flat-fielding step. NICMOS flat fields strongly depend on wavelength, flat-fielding of grism data therefore needs to take the wavelength of extracted spectra into account. Software to extract spectra from
calnica processed images is available from the Space Telescope European Coordinating Facility (ST-ECF).
Both packages require special NICMOS grism calibration data which are distributed with software. The packages are supported by the ST-ECF and questions should be directed to
stdesk@eso.org
Because NICMOS grism data processing and extraction are not really "pipeline" procedures, this handbook will defer an overview of grism reduction methodology and the software tools calnicc and
NICMOSlook until
Chapter 5, where the discussion of NICMOS Data Analysis is presented.