Space Telescope Science Institute
COS Data Handbook 2.00
help@stsci.edu
Table of Contents Previous Next Print


COS Data Handbook > Chapter 3: COS Calibration > 3.3 Calcos: Structure and Data Flow

3.3
Calcos: Structure and Data Flow
Calcos is comprised of three main components that provide calibration of the COS data. This structure incorporates modules that (1) correct the data for instrument effects (e.g. noise, thermal drifts, geometric distortions, pixel-to-pixel variations in sensitivity), (2) generate an exposure-specific wavelength-calibrated scale, and (3) extract and produce the final (one-dimensional) flux-calibrated (summed) spectrum for the entire observation. Both COS FUV and NUV TIME-TAG event lists and ACCUM images are fully calibrated by calcos. Target acquisition exposures are not calibrated by calcos, except for ACQ/IMAGE, although the raw data from these observations are available through the data archive.
As with HST calibration pipelines for other instruments, the choice of which operations are performed during calibration is controlled by calibration switches, which are stored in the primary FITS header. OPUS sets the switches that are appropriate for a given data type to PERFORM for steps to be carried out by calcos, and then calcos changes them to COMPLETE in the calibrated files. When OPUS creates the raw data files, it also populates the headers with the names of the appropriate reference files for each calibration operation. Any calibration step may require zero, one, or more calibration reference files. Exactly how the data are processed depends on whether they are FUV Time-TAg or ACCUM spectra, NUV Time-TAg or ACCUM spectra, or NUV images. The names of the keywords containing the switches and reference file names were introduced in Table 2.16, and their roles in the data reduction and the calibration steps are described in the following sections.
Figure 3.1 - Figure 3.5 show how a single raw file moves through the pipeline for FUV Time-TAg, FUV ACCUM, NUV Time-TAg and NUV ACCUM spectroscopic data, and for NUV images. Each Figure shows, from left to right, the input files, the processing steps performed by each module, and the output files. Note that in some instances, output files are created and then subsequently modified. In these cases, the file is shown at the end of a dashed arrow at the point it is created and again by a solid arrow at the point where it is finalized. Steps that apply only when spectra are extracted are marked with an * in Figure 3.1 through Figure 3.4. For ACCUM data, Doppler corrections are done onboard. Consequently, for these spectra certain reference files are transformed to the coordinate system of the data, rather than the other way around. We note on Figure 3.2 and Figure 3.4 when this is done.
Figure 3.1: FUV TIME-TAG Spectroscopic Pipeline Flow Chart.
* These steps are only implemented if X1DCORR=PERFORM.
Figure 3.2: FUV ACCUM Spectroscopic Pipeline Flow Chart.
* These steps are only implemented if X1DCORR=PERFORM.
1 Reference files that are transformed to the doppler corrected coordinate system of the data before being applied
Figure 3.3: NUV TIME-TAG Spectroscopic Pipeline Flow Chart
* These steps are only implemented if X1DCORR=PERFORM.
Figure 3.4: NUV ACCUM Spectroscopic Pipeline Flow Chart
* These steps are only implemented if X1DCORR=PERFORM.
1 Reference files that are transformed to the doppler corrected coordinate system of the data before being applied.
Figure 3.5: NUV Image Pipeline Flow Chart

Table of Contents Previous Next Print