#include "Date.h"
Functions | |
double | GreenwichMeanSiderealTime (const double gpstime) |
Convenience wrapper, calling GreenwichSiderealTime() with the equation of equinoxes set to 0. | |
double | GreenwichSiderealTime (const double gpstime, double equation_of_equinoxes) |
Returns the Greenwich Sidereal Time IN RADIANS corresponding to a specified GPS time. |
double GreenwichMeanSiderealTime | ( | const double | gpstime | ) |
Convenience wrapper, calling GreenwichSiderealTime() with the equation of equinoxes set to 0.
double GreenwichSiderealTime | ( | const double | gpstime, | |
double | equation_of_equinoxes | |||
) |
Returns the Greenwich Sidereal Time IN RADIANS corresponding to a specified GPS time.
Aparent sidereal time is computed by providing the equation of equinoxes in units of seconds. For mean sidereal time, set this parameter to 0.
This function returns the sidereal time in radians measured from the Julian epoch (current J2000). The result is NOT modulo 2 pi.
Inspired by the function sidereal_time() in the NOVAS-C library, version 2.0.1, which is dated December 10th, 1999, and carries the following references:
Aoki, et al. (1982) Astronomy and Astrophysics 105, 359-361. Kaplan, G. H. "NOVAS: Naval Observatory Vector Astrometry Subroutines"; USNO internal document dated 20 Oct 1988; revised 15 Mar 1990.
See http://aa.usno.navy.mil/software/novas for more information.