🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.astro.fits
Article #57

Re: World Coordinate System proposal

#57
From: Tim Pearson
Date: Tue, 10 Nov 1992 22:33
94 lines
5492 bytes
I support the recommendations of Hanisch and Wells in their "World
Coordinate Systems" document. It is not intended to provide a complete
and final solution to this problem, but to establish conventions that
will simplify the exchange of datasets that share similar
characteristics.  There are many possible ways of making images, and
they may involve many different possible coordinate systems; but there
are certain types of images that are common in astronomy for which it is
desirable to establish uniform conventions.

The recommendations address three issues:

(1) The FITS standard conventions for rotated images are just plain
wrong: you do not represent a rotation of an N-dimensional image by N
rotation angles, one for each dimension. This has made the CROTAn
keywords virtually useless. The document establishes a rational
interpretation of CROTA1 and CROTA2 for two-dimensional images (ignore
CROTA1!); and suggests a better method (CDiiijjj) for the general linear
transformation between pixel numbers and world coordinates. This new
method is applicable to all images which are sampled on a regular grid
(with equal-size pixels) in the world-coordinate system.

(2) Astronomical images are samples of the celestial sphere, for which
no regular gridding (with equal-size pixels) is possible. The document
establishes conventions (which can be extended) for images that are
obtained by regular gridding of a plane projection of part or all of the
sphere. It is appropriate to include information about the projection in
the CTYPE keywords, because in such cases the coordinate that is sampled
at equal intervals is not DEC (declination) but a function of both RA
and DEC. I do have some reservations about the use of these conventions
with rotation, however: e.g., in an Aitoff projection with tangent point
not on the equator, I am not sure that the two axes can be meaningfully
called GLON-AIT and GLAT-AIT or RA---AIT and DEC--AIT. Additional
clarification is needed as to precisely how to calculate sky coordinates
of a pixel in such cases. 

It is worth emphasizing the distinction between world coordinates
(linear functions of pixel number, derived by applying CRVAl, CRPIX,
CDELT, and CROTA; _or_ the CDiiijjj matrix) and sky coordinates (two
angles derived from the world coordinates by an additional non-linear
transformation specified by CTYPE). I think this distinction might best
be made by putting the description of the CDiiijjj convention in a
separate section, before the description of conventions for projections
of the celestial sphere.

(3) The conventions proposed for coordinate reference frames (equinox,
epoch, etc.) should be adopted as widely as possible to clear up a lot
of confusion and misunderstanding in this area.

In addition to the proposals of the Hanisch-Wells document, I think it 
would be useful to adopt the following conventions. I do not think they
should be part of a legalistic "standard", but I think they should be
strong recommendations to FITS writers.

(1) In the absence of any information to the contrary, FITS readers
should display two-dimensional images with the first pixel in the
lower-left corner, with the first axis increasing to the right and the
second axis increasing upwards. This would not preclude a program from
looking at the axis descriptions and overriding this convention (as AIPS
does for RA/DEC axis pairs), or the user from requesting a different
display. Uniform adoption of this convention would I think remove a lot
of the frustration involved when a program displays an image
"upside-down" or "back-to-front".

(2) The world-coordinates (x,y) of a pixel (i,j), computed according to
the FITS conventions from CRVAL, CRPIX, CDELT, CROTA apply to the
_center_ of the pixel. I agree with Eric Greisen that this is the only
rational choice. Assuming that the image P(i) is a discrete
representation of an idealized continuous function S(x), the
pixelization operation can be described mathematically (for the
one-dimensional case) as a convolution:

        +inf
P(i) = Integral F(x-i) S(x) dx
        -inf

where the convolution kernel F(x) would be delta function for an ideal
"sampling" operation (e.g., a radio aperture-synthesis CLEAN map); or
a top-hat function

F(x) = 1 (-0.5 < x <= 0.5)
       0 (otherwise)

for an ideal "binning" operation (e.g., a perfect CCD).

In practice F(x) is almost always going to be a symmetrical function,
and it seems sensible to choose the center of symmetry as the origin.


Tim Pearson, Astronomy Dept 105-24, Caltech, Pasadena, California 91125, USA
Internet:                  TJP @ Deimos.Caltech.Edu, Pearson_T @ caltech.edu
BITNET/EARN:               TJP @ CITDEIMO
NSI-Decnet (SPAN):         Deimos::TJP or 15237::TJP
Telephone:                 +1 818 356-4980
FAX:                       +1 818 568-9352
Technical Details
Message-ID: <10NOV199214335969@eccles.caltech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!nntp-server.caltech.edu!eccles.caltech.edu!tjp
References: <DWELLS.92Nov5190043@fits.cv.nrao.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!nntp-server.caltech.edu!eccles.caltech.edu!tjp
From: tjp@eccles.caltech.edu (Tim Pearson)
Newsgroups: sci.astro.fits
Subject: Re: World Coordinate System proposal
Date: 10 Nov 1992 14:33 PST
Organization: California Institute of Technology
Lines: 94
Distribution: sci
Message-ID: <10NOV199214335969@eccles.caltech.edu>
References: <DWELLS.92Nov5190043@fits.cv.nrao.edu>
NNTP-Posting-Host: eccles.caltech.edu
News-Software: VAX/VMS VNEWS 1.41