LAL  7.5.0.1-b72065a
TranslateMJD.c File Reference

Prototypes

LIGOTimeGPSXLALTranslateMJDTTtoGPS (LIGOTimeGPS *gps, INT4 mjdDays, REAL8 mjdFracDays)
 convert given MJD(TT) time, mjd = mjdDays + mjdFracDays into LIGOTimeGPS format, preserving full (ns) accuracy. More...
 
LIGOTimeGPSXLALTranslateStringMJDTTtoGPS (LIGOTimeGPS *gps, const char *mjdString)
 Parse and convert given string representing MJD(TT) time into LIGOTimeGPS gps time, without loss of (ns) accuracy. More...
 

Go to the source code of this file.

Variables

const REAL8 TT_minus_TAI = 32.184
 constant offset between TT and TAI epochs (see e.g. Table 1 in [24],) More...
 
const REAL8 TAI_minus_UTC_at_GPS0 = 19.0
 offset between TAI and UTC at GPS epoch, ie number of leap seconds at GPS epoch More...
 
const REAL8 TT_minus_UTC_at_GPS0 = 51.184
 = TT_minus_TAI + TAI_minus_UTC_at_GPS0, ie offset between TT and UTC at GPS epoch More...
 
const REAL8 GPS0_in_MJDUTC = 44244.0
 GPS epoch [1980 JAN 6 0h UTC] expressed in MJD(UTC) More...
 

Variable Documentation

◆ TT_minus_TAI

const REAL8 TT_minus_TAI = 32.184

constant offset between TT and TAI epochs (see e.g. Table 1 in [24],)

Definition at line 36 of file TranslateMJD.c.

◆ TAI_minus_UTC_at_GPS0

const REAL8 TAI_minus_UTC_at_GPS0 = 19.0

offset between TAI and UTC at GPS epoch, ie number of leap seconds at GPS epoch

Definition at line 37 of file TranslateMJD.c.

◆ TT_minus_UTC_at_GPS0

const REAL8 TT_minus_UTC_at_GPS0 = 51.184

= TT_minus_TAI + TAI_minus_UTC_at_GPS0, ie offset between TT and UTC at GPS epoch

Definition at line 38 of file TranslateMJD.c.

◆ GPS0_in_MJDUTC

const REAL8 GPS0_in_MJDUTC = 44244.0

GPS epoch [1980 JAN 6 0h UTC] expressed in MJD(UTC)

Definition at line 39 of file TranslateMJD.c.