[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


HPRECESS Source code in hprecess.pro

HPRECESS

Name
       HPRECESS
Purpose
       Precess the astrometry in a FITS header to a new equinox
Calling Sequence
       HPRECESS, HDR, [ yearf ]
Parameters
       HDR - FITS Header, must contain the CRVAL astrometry keywords,
               and either an EPOCH or EQUINOX keyword.
               HDR will be modified to contain the precessed astrometry
Optional Input Parameters
       YEARF - Scalar, giving the year of the new (Final) equinox.
               If not supplied, user will be prompted for this value.
Procedure
       The CRVAL and CD (or CROTA) keywords are extracted from the header
       and precessed to the new equinox.  The EPOCH or EQUINOX keyword in
       the header is  updated.  A HISTORY record is added
Restrictions
       The FK5 reference frame is assumed for both equinoxes.
Procedures Used
       EXTAST, GET_EQUINOX(), SXADDPAR, SXADDHIST, PRECESS, PRECESS_CD
       PUTAST, ZPARCHECK
Revision History
       Written  W. Landsman        STX              July, 1988
       CD matrix precessed -                        February, 1989
       Update EQUINOX keyword when CROTA2 present   November, 1992
       Recognize a GSSS header                      June, 1994
       Additional Noparams value recognize for storing CDs.  RSH, 6 Apr 95
       Converted to IDL V5.0   W. Landsman   September 1997
       Understand reversed X,Y (X-Dec, Y-RA) axes,   W. Landsman  October 1998

Last modified by pro2html on 2004 March 18 at 04:42 UTC

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

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