New SFL implementation in GILDAS
This appendix is based on the formalism of the CG02 paper, applied to
the particular case of the SFL projection. See
Table 1 for the coordinates involved
here. According to the CG02 section 5.3, the pseudocylindricals
are constructed with the native coordinate system origin at the
reference point. Accordingly we set (their eq. 89):
 |
(13) |
The native longitude of the celestial pole
is defined as
(their section 2.2):
 |
(14) |
This implies
. Their eq. 8 is simplified as:
where
atan2
is the inverse tangent function that returns
the correct quadrant.
and
are two
solutions for
. The choice between the two is ruled by
several conditions detailed in the CG02 paper section 2.4. The rule 4
states that the northernly solution is the default if the native
latitude of the celestial pole (
, LATPOLEa in FITS
headers) is not defined, which we implement as:
 |
(17) |
If
, their rule 2 applies to determine
, otherwise their generic equations 9 and 10 are used:
 |
(18) |
Subsections