A large number of FITS images have been written using the AIPS coordinate convention and a substantial body of software exists to interpret it. Consequently, the AIPS convention has acquired the status of a de facto standard and FITS interpreters will need to support it indefinitely in order to obey the maxim "once FITS always FITS''. Translations between the old and new system are therefore required.
In the AIPS convention, CROTA i assigned to the latitude axis was used to
define a bulk rotation of the image plane. Since this rotation was applied
after CDELT i the translation to the current formalism follows from
![]() |
(188) |
The translation for CD i_ja is simpler, effectively because the CDELT i
have an implied value of unity and the constraint on preserving them in the
translation is dropped:
The SIN projection defined by Greisen (1983) is here generalized by the addition of projection parameters. However, these parameters assume default values which reduce to the simple orthographic projection of the AIPS convention. Therefore no translation is required.
The "north-celestial-pole'' projection defined by Greisen (1983) is
a special case of the new generalized SIN projection. The old header
cards
The TAN, ARC and STG projections defined by Greisen (1983, 1986) are directly equivalent to those defined here and no translation is required.
Special care is required in interpreting the AIT (Hammer-Aitoff),
GLS (Sanson-Flamsteed), and MER (Mercator) projections in the
AIPS convention as defined by Greisen (1986). As explained in
Sect. 7.1, the AIPS convention cannot represent oblique
celestial coordinate graticules such as the one shown in Fig. 2.
CRVAL i for these projections in AIPS does not correspond to the celestial
coordinates
of the reference point, as understood in
this formalism, unless they are both zero in which case no translation is
required.
A translation into the new formalism exists for non-zero CRVAL i but only if
CROTA i is zero. It consists of setting CRVAL i to zero and adjusting
CRPIX j and CDELT i accordingly in the AIPS header whereupon the above
situation is obtained. The corrections to CRPIX j are obtained by
computing the pixel coordinates of
within the AIPS
convention. For AIT and MER (but not GLS), CDELT i
must also be corrected for the scaling factors
and
incorporated into the AIPS projection equations.
Of the three projections only GLS is known to have been used with non-zero CRVAL i. Consequently we have renamed it as SFL as a warning that translation is required.
As mentioned in Sect. 6, FITS interpreters will need to recognize the AIPS convention virtually forever. It stands to reason, therefore, that if modern FITS-writers wish to assist older FITS interpreters they may continue to write older style headers, assuming of course that it is possible to express the coordinate system in the AIPS convention.
Modern FITS-writers must not attempt to help older interpreters by including CROTA i together with the new keyword values (assuming the combination of CDELT i and PC i_ja matrix, or CD i_ja matrix, is amenable to such translation). We make this requirement primarily to minimize confusion.
Assuming that a header has been developed using the present formalism the
following test may be applied to determine whether the combination of
CDELT ia and PC i_ja matrix represents a scale followed by a rotation as
in Eq. (186). Firstly write
![]() ![]() |
|
![]() ![]() |
(191) |
![]() |
(192) |
Solutions for CROTA2 come in pairs separated by
.
The above
formulæ give the solution which falls in the half-open interval
.
The other solution is obtained by subtracting
from
CROTA2 and negating CDELT1 and CDELT2. While each
solution is equally valid, if one makes
and
then it would normally be the one chosen.
Of course, the projection must be one of those supported by the AIPS convention, which only recognizes SIN, NCP, TAN, ARC, STG, AIT, GLS and MER. Of these, we strongly recommend that the AIPS version of AIT, GLS, and MER not be written because of the problems described in Sect. 6.1.4. It is interesting to note that a translation does exist for the slant orthographic (SIN) projection defined in Sect. 5.1.5 to the simple orthographic projection of AIPS. However, we advise against such translation because of the likelihood of creating confusion and so we do not define it here. The exception is where the SIN projection may be translated as NCP as defined in Sect. 6.1.2.
Copyright ESO 2002