[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


EULER Source code in euler.pro

EULER

Name
     EULER
Purpose
     Transform between Galactic, celestial, and ecliptic coordinates.
Explanation
     Use the procedure ASTRO to use this routine interactively
Calling Sequence
      EULER, AI, BI, AO, BO, [ SELECT, /FK4, SELECT = ]
Input Parameters
       AI - Input Longitude in DEGREES, scalar or vector.  If only two
               parameters are supplied, then  AI and BI will be modified to
               contain the output longitude and latitude.
       BI - Input Latitude in DEGREES
Optional Input Parameters
       SELECT - Integer (1-6) specifying type of coordinate transformation.
      SELECT   From          To        |   SELECT      From            To
       1     RA-Dec (2000)  Galactic   |     4       Ecliptic      RA-Dec
       2     Galactic       RA-DEC     |     5       Ecliptic      Galactic
       3     RA-Dec         Ecliptic   |     6       Galactic      Ecliptic
      If not supplied as a parameter or keyword, then EULER will prompt for
      the value of SELECT
      Celestial coordinates (RA, Dec) should be given in equinox J2000
      unless the /FK4 keyword is set.
Output Parameters
       AO - Output Longitude in DEGREES
       BO - Output Latitude in DEGREES
Keyword Parameters
       /FK4 - If this keyword is set and non-zero, then input and output
             celestial and ecliptic coordinates should be given in equinox
             B1950.
       /SELECT  - The coordinate conversion integer (1-6) may alternatively be
              specified as a keyword
Note
       EULER was changed in December 1998 to use J2000 coordinates as the
       default, ** and may be incompatible with earlier versions***.
Revision History
       Written W. Landsman,  February 1987
       Adapted from Fortran by Daryl Yentis NRL
       Converted to IDL V5.0   W. Landsman   September 1997
       Made J2000 the default, added /FK4 keyword  W. Landsman December 1998
       Add option to specify SELECT as a keyword W. Landsman March 2003

Last modified by pro2html on 2004 April 20 at 03:39 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically