[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
New Address!   --   Neue Adresse!
[Uni logo]


RADEC Source code in radec.pro

RADEC

Name
       RADEC
Purpose
       To convert RA and Dec  from decimal to sexigesimal units.
Explanation
       The conversion is to sexigesimal hours for RA,  and sexigesimal
       degrees for declination.
Calling Sequence
       radec, ra, dec, ihr, imin, xsec, ideg, imn, xsc, [/HOURS}
Input Parameters
       ra   - right ascension, scalar or vector, in DEGREES unless the
              /HOURS keyword is set
       dec  - declination in decimal DEGREES, scalar or vector, same number
               of elements as RA
Output Parameters
       ihr  - right ascension hours   (INTEGER*2)
       imin - right ascension minutes (INTEGER*2)
       xsec - right ascension seconds  (REAL*4 or REAL*8)
       ideg - declination degrees (INTEGER*2)
       imn  - declination minutes (INTEGER*2)
       xsc  - declination seconds (REAL*4 or REAL*8)
Keyword Parameters
       /HOURS - if set, then the input righ ascension should be specified in
              hours instead of degrees.
Restrictions
       RADEC does minimal parameter checking.
Revision History
       Written by B. Pfarr, STX, 4/24/87
       Converted to IDL V5.0   W. Landsman   September 1997
       Added /HOURS keyword W. Landsman  August 2002

Last modified by pro2html on 2002 August 31 at 03:25 UTC

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

Jörn Wilms ([email protected])
Updated automatically