When delivering non-extracted, 1-D or N-D spectra, the FITS files must contain a valid WCS to
describe the data axes, scales and units.
There is no single, absolute standard for the representation of spectral coordinates in FITS since
there are many flavors of FITS spectra and no one set of keywords can cover all the bases as with
WCS for imaging data. The standard is evolving; therefore we can only make recommendations as to how
best to follow it. Additionally the large variety of spectral reduction software packages
expect different keywords as input and produce their own sets of keywords as output. We recommend
the following WCS resources for reference in building your spectra header keywords. Additional
sections below provide simple examples and key excerpts from this list of WCS resources which
can be used as guidelines for spectral headers.
The NOAO IRAF 'Spectral WCS Conventions'
web page gives a simple overview of 1-D, 2-D
and 3-D spectral headers. The 1-D example is copied below for quick reference.
We highly recommend following the World Coordinate System (WCS) guidelines laid out in the paper
'Representations
of spectral coordinates in FITS' (Greisen et al. 2006).
Some of the key tables from the paper have been copied as screen shots below for
quick reference.
The IRAF documentation for the data reduction package
'onedspec' describes functions for
linear and non-linear dispersion functions, with examples of several spectral headers.
Additionally, we also suggest following the guidelines in the paper
'The VO-Compataple Spectra
Container for HST and other Missions' (Thompson et al. 2006). This will allow MAST to
more easily integrate your spectral data into the Virtual Observatory (VO) search standards.
An example of a VO spectral container group of header keywords can be viewed
below.
Spectra coordinate type codes, (characters 1-4 of CTYPE keyword) Table 1
Non-Linear algorithm codes, (characters 6-8 of CTYPE keyword) Table 2
Recognized values for SPECSYS, SSYSOBS, and SSYSSSRC Table 12
Please see the full
text of the spectra WCS paper for all tables and explanations. The quicklook tables are just a small
representation of some of the required values.
We suggest following the guidelines in the paper
'The VO-Compataple Spectra
Container for HST and other Missions' (Thompson et al. 2006). This will allow MAST to
more easily integrate your spectral data into the Virtual Observatory (VO) search standards.
An example of a VO spectral container group of header keywords can be viewed
below. Note that units are given after the FITS comment
separator "/" within brakets "[]".