21 #include <lal/XLALError.h>
22 #include <lal/LALStdlib.h>
23 #include <lal/LALConstants.h>
25 #include <lal/GetEarthTimes.h>
30 401222588, 432778929, 464336350, 495893590, 527450411, 559007772,
31 590564232, 622121473, 653678833, 685235053, 716792113, 748349233,
32 779905813, 811462993, 843019393, 874576273, 906133453, 937689493,
33 969246553, 1000803853, 1032360553, 1063917853, 1095474553,
34 1127031613, 1158589273, 1190145733, 1221702853, 1253260213,
90 *tMidnight = 86400.0 -
t;
93 while (
epoch.gpsNanoSeconds > 0 ) {
94 epoch.gpsSeconds += 1;
95 epoch.gpsNanoSeconds -= 1000000000;
99 - ( 1.0e-9 ) *
epoch.gpsNanoSeconds;
108 - ( 1.0e-9 ) *
epoch.gpsNanoSeconds;
112 - ( 1.0e-9 ) *
epoch.gpsNanoSeconds;
static const INT4 equinoxes[NEQUINOXES]
Define a list of GPS times of autumnal equinoxes (1992 to 2020).
int XLALGetEarthTimes(const LIGOTimeGPS *tepoch, REAL8 *tMidnight, REAL8 *tAutumn)
This function takes a GPS time from tepoch and uses it to assign tAutumn and tMidnight,...
#define XLAL_CHECK(assertion,...)
#define XLAL_IS_REAL8_FAIL_NAN(val)
REAL8 XLALGreenwichMeanSiderealTime(const LIGOTimeGPS *gpstime)