11.2 COS Data Files
When data are taken in TIME-TAG
mode (the default), the raw data are in the form of a table of photon events containing the arrival time, x and y pixel coordinates, and pulse height (for FUV data) for each photon detected. Raw ACCUM
data are in the form of a 2-D image. For ACCUM
FUV data, there will be two raw files for each exposure, one file for Segment A and one for Segment B. For ACCUM
NUV data, there will be one raw file for each exposure.
The calibrated data have the same general format for both FUV and NUV, although there are differences in detail. There is a "corrtag" file (the file name contains the string "corrtag
") containing a corrected events table. The corrtag
table includes all of the columns from the raw data file, plus these additional columns: a weight that accounts for the flat-field and dead-time corrections, a data-quality column, and a column that gives the pulse-height amplitude of each event. (Codes for the DQ flags are listed in the COS Data Handbook, as well as COS ISR 2024-06.) The corrtag
file provides several sets of corrected pixel coordinates for each event. These include X[Y]CORR
, which are corrected for thermal drifts in the detector electronics, geometric distortions in the detector; and Y walk; XDOPP
, which are the x coordinates corrected for orbital Doppler motions; X[Y]FULL
, which are the XDOPP
and YCORR
coordinates corrected for OSM drift and recast into a coordinate system defined by the WAVECAL
spectrum; and WAVELENGTH
, which provides the wavelength corresponding to the XFULL
coordinate. The corrtag
file has a separate extension containing timeline information. It provides second-by-second values for the spacecraft position, solar and target altitude above the horizon, and count rates for the most prominent airglow lines and the background. The data in this extension can be useful when reprocessing TIME-TAG
data, allowing the user to exclude, for example, data obtained during orbital day. The costools package offers a tool called timefilter for this purpose. For ACCUM
data, the corrtag
table has the same format, but all the values in the TIME
column are a constant, half the exposure time. There is one row in this pseudo-TIME-TAG
table for each count in the raw ACCUM
image.
Additional calibrated files include the flt and counts images, which are created by binning the events in the corrtag
table. Both images have units of counts/s, but the flt
image is also corrected for flat-field and dead-time effects. For spectroscopic data, a 1-D extracted spectrum (or three spectra, for NUV exposures) will be written to an x1d
file for each exposure. For data in an association (whereby multiple exposures are processed together—the usual case), the 1-D spectra for separate exposures will be averaged and written to an x1dsum
table. If multiple FP-POS
settings are used, there will be one x1dsum
file for each FP-POS
(x1dsum[1,2,3,4]
), even if only one spectrum was obtained at each position. The distinction between the x1d
and x1dsum
files in such cases is that the DQ_WGT column of the x1d
files (the data-quality weights) are used to eliminate bad or suspect data,such as detector dead spots. The x1dsum
file without a number is the final sum of all of the exposures. It can be a weighted mean of all the x1dsum[n]
files or, if a single exposure was obtained at a single FP-POS
setting, a copy of the x1d
file with the DQ_WGTs applied.
By default CalCOS will combine data taken at different FP-POS
settings, but not at different central wavelengths. A new association is created when either the grating or central wavelength is changed, and CalCOS only combines data within an association.
Wavelength calibration can be performed in either of two ways. The default is to take line-lamp exposures ("wavecal" exposures) simultaneously with the science data (if performing observations at LP1-5) or via SPLIT
wavecal exposures automatically inserted before and after the science exposures (if performing observations at LP6). In these cases, the wavecal spectra will be extracted and saved in lampflash tables. The alternative is to take separate wavecal exposures interspersed with the science exposures. These wavecals will be calibrated in the same way as science exposures, except that the calibrated wavecal data (corrtag
, flt
, counts
, x1d
) will not be corrected for the offset of the spectrum from the template, and no x1dsum
file will be created for a wavecal.
-
COS Instrument Handbook
- Acknowledgments
- Chapter 1: An Introduction to COS
- Chapter 2: Proposal and Program Considerations
- Chapter 3: Description and Performance of the COS Optics
- Chapter 4: Description and Performance of the COS Detectors
-
Chapter 5: Spectroscopy with COS
- 5.1 The Capabilities of COS
- • 5.2 TIME-TAG vs. ACCUM Mode
- • 5.3 Valid Exposure Times
- • 5.4 Estimating the BUFFER-TIME in TIME-TAG Mode
- • 5.5 Spanning the Gap with Multiple CENWAVE Settings
- • 5.6 FUV Single-Segment Observations
- • 5.7 Internal Wavelength Calibration Exposures
- • 5.8 Fixed-Pattern Noise
- • 5.9 COS Spectroscopy of Extended Sources
- • 5.10 Wavelength Settings and Ranges
- • 5.11 Spectroscopy with Available-but-Unsupported Settings
- • 5.12 FUV Detector Lifetime Positions
- • 5.13 Spectroscopic Use of the Bright Object Aperture
- Chapter 6: Imaging with COS
- Chapter 7: Exposure-Time Calculator - ETC
-
Chapter 8: Target Acquisitions
- • 8.1 Introduction
- • 8.2 Target Acquisition Overview
- • 8.3 ACQ SEARCH Acquisition Mode
- • 8.4 ACQ IMAGE Acquisition Mode
- • 8.5 ACQ PEAKXD Acquisition Mode
- • 8.6 ACQ PEAKD Acquisition Mode
- • 8.7 Exposure Times
- • 8.8 Centering Accuracy and Data Quality
- • 8.9 Recommended Parameters for all COS TA Modes
- • 8.10 Special Cases
- Chapter 9: Scheduling Observations
-
Chapter 10: Bright-Object Protection
- • 10.1 Introduction
- • 10.2 Screening Limits
- • 10.3 Source V Magnitude Limits
- • 10.4 Tools for Bright-Object Screening
- • 10.5 Policies and Procedures
- • 10.6 On-Orbit Protection Procedures
- • 10.7 Bright Object Protection for Solar System Observations
- • 10.8 SNAP, TOO, and Unpredictable Sources Observations with COS
- • 10.9 Bright Object Protection for M Dwarfs
- Chapter 11: Data Products and Data Reduction
-
Chapter 12: The COS Calibration Program
- • 12.1 Introduction
- • 12.2 Ground Testing and Calibration
- • 12.3 SMOV4 Testing and Calibration
- • 12.4 COS Monitoring Programs
- • 12.5 Cycle 17 Calibration Program
- • 12.6 Cycle 18 Calibration Program
- • 12.7 Cycle 19 Calibration Program
- • 12.8 Cycle 20 Calibration Program
- • 12.9 Cycle 21 Calibration Program
- • 12.10 Cycle 22 Calibration Program
- • 12.11 Cycle 23 Calibration Program
- • 12.12 Cycle 24 Calibration Program
- • 12.13 Cycle 25 Calibration Program
- • 12.14 Cycle 26 Calibration Program
- • 12.15 Cycle 27 Calibration Program
- • 12.16 Cycle 28 Calibration Program
- • 12.17 Cycle 29 Calibration Program
- • 12.18 Cycle 30 Calibration Program
- • 12.19 Cycle 31 Calibration Program
- Chapter 13: COS Reference Material
- • Glossary