aitoff {astrolibR} | R Documentation |
Convert longitude, latitude to X,Y using an AITOFF projection
aitoff(l,b)
l |
longitude, scalar or vector, in degrees |
b |
latitude, scalar or vector (same length as l), in degrees |
This procedure can be used to create an all-sky map in Galactic coordinates with an equal-area Aitoff projection. Output map coordinates are zero longitude centered. See AIPS memo No. 46, page 4, for details of the algorithm. This version of AITOFF assumes the projection is centered at b=0 degrees.
Several polar equal-area map projections are provided by the CRAN package mapproj.
x |
x coordinate in range -180 to +180, same length as l. |
yx |
y coordinate in range -90 to +90, same length as l. |
Written W.B. Landsman STX December 1989
R adaptation by Arnab Chakraborty June 2013
Additional Non-linear Coordinates in AIPS, Eric W. Greisen, AIPS Memo 46, 1993 ftp://ftp.aoc.nrao.edu/pub/software/aips/TEXT/PUBL/AIPSMEMO46.PS.
aitoff(227.23,-8.890) # celestial location of Sirius in Galactic coordinates