As mentioned previously (), there are a
number of conventions currently in use for storing WCS information in
FITS headers, which we call encodings. Here, we are concerned
with those encodings defined by software systems other than AST, which
we term foreign encodings.
Currently, AST supports three foreign encodings, which may be selected by setting the Encoding attribute of a FitsChan to one of the following (character string) values:
- DSS
This encoding stores WCS information using the convention developed at the Space Telescope Science Institute for the Digitised Sky Survey (DSS) astrometric plate calibrations. DSS images which use this convention are widely available and it is understood by a number of important and well-established astronomy applications. However, the calibration model used (based on a polynomial fit) is not easily applicable to other types of data and creating the polynomial coefficients needed to calibrate your own images can prove difficult. For this reason, the DSS encoding is probably best viewed as a ``read-only'' format. It is possible, however, to read in WCS information using this encoding and then to write it back out again, so long as only minor changes have been made.- FITS-WCS
This encoding is potentially very important because it is based on a proposed new FITS standard which should, for the first time, address the problem of celestial coordinate systems in a proper manner, by considerably extending the original FITS standard.The convention used is described in the paper ``Representation of celestial coordinates in FITS'' (the FITS-WCS paper) by E.W.Greisen and M.Calabretta (Astronomy & Astrophysics). Now that this FITS standard has been agreed, this encoding should be understood by any FITS-WCS compliant software and it is likely to be adopted widely for FITS data in future. Currently, AST does not supports the FITS conventions described in papers III (spectral coordinate systems) and IV (distrortions) which are still in draft form.
- FITS-IRAF
This encoding is based on the conventions described in the document ``World Coordinate Systems Representations Within the FITS Format'' by R.J. Hanisch and D.G. Wells, 1988.It is currently employed by the IRAF data analysis facility, so its use will facilitate data exchange with IRAF. This encoding is in effect a sub-set of the current FITS-WCS encoding.
- FITS-PC
This encoding is based on a previous version of the proposed new FITS WCS standard which used PCjjjjiii and CDELTj keywords to describe axis rotation and scaling. Versions of AST prior to V1.5 used this scheme for the FITS-WCS encoding. As of V1.5, FITS-WCS uses CDi_j keywords instead.The FITS-PC encoding is included in AST V1.5 only to allow FITS-WCS data created with previous versions to be read. It should not, in general, be used to create new data sets.
- FITS-AIPS
This encoding is based on the conventions described in the document ``Non-linear Coordinate Systems in AIPS'' by Eric W. Greisen (revised 9th September, 1994).It is currently employed by the AIPS data analysis facility, so its use will facilitate data exchange with AIPS. This encoding uses CROTAi and CDELTi keywords to describe axis rotation and scaling.
For more detail about the above encodings, see the description of the
Encoding attribute in .
AST A Library for Handling World Coordinate Systems in Astronomy