12 #ifndef CARMA_SERVICES_ASTROTIME_H
13 #define CARMA_SERVICES_ASTROTIME_H
69 void setSite(
double longitude,
double latitude,
double altitude);
174 static double leap(
const double mjd);
200 static double modulo24(
double hours);
275 void checkIERSandLoadIfNecessary(
void);
277 double lastIERSLoadTime_;
282 #endif //CARMA_SERVICES_ASTROTIME_H
double ut1Utc(double mjd=carma::util::Time::MJD())
class to access (processed) IERS tables The IERSTable class reads a (processed by mk-iers...
double meanSiderealTime(double mjd=carma::util::Time::MJD())
static const double HOURS_PER_SIDEREAL_DAY
The number of solar hours per sidereal day.
static const double HOURS_PER_DAY
The number of solar hours per solar day.
static double elapsedJulCent(double mjd=carma::util::Time::MJD())
Computes the time in Julian Centuries (36525 days of universal time) elapsed since 2000 January 1 12 ...
AstroTime()
No-arg Constructor.
static const double SECONDS_PER_DAY
The number of seconds per solar day.
static double leap(const double mjd)
retrieve the number of leap seconds to be added to UTC to get TIA
double eqnEqx(double mjd=carma::util::Time::MJD())
This class implements various astronomical time computation routines.
static const double SOLAR_DAY
The length of a solar day in sidereal days.
static const double MINUTES_PER_DAY
The number of minutes per solar day.
static const double SIDEREAL_DAY
The length of a sidereal day in solar days.
std::string lstString(double mjd=carma::util::Time::MJD(), int precision=1)
double xPolar(double mjd=carma::util::Time::MJD())
static double modulo24(double hours)
static const double JULIAN_CENTURY
Value of one Julian Century, in days.
double localSiderealTime(double mjd=carma::util::Time::MJD())
Location specifies a location (observatory if you wish) on planet earth, as longitude, latitude, and altitude above sea-level.
The Angle class can represent any angle in any units.
virtual ~AstroTime()
Destructor.
double yPolar(double mjd=carma::util::Time::MJD())
static const double MINUTES_PER_HOUR
Number of minutes in one hour.
static const double HOURS_PER_RADIAN
Number of solar hours per radian, i.e.
void setSite(Angle longitude, Angle latitude, Length altitude)
Set the location for calculating the time functions using Conformable Quantities. ...
double hourAngle(double mjd, double RA)
Compute the hour angle for a given RA and time, at the location set in setSite()
static const double SECONDS_PER_HOUR
Number of seconds in one hour.
The Length class can represent a length in any units.
static const double JULIAN_DAY_ZERO
Difference between Julian Day and Modified Julian Day.
static double julianDay(double mjd=carma::util::Time::MJD())
Returns the Julian Day given the Modified Julian Day.
static double MJD()
Get current MJD.
The HourAngle class extends carma::services::Angle to specifically support hour angles.