LALPulsar  6.1.0.1-c9a8ef6
LALBarycenter.h File Reference

Prototypes

int XLALBarycenterEarth (EarthState *earth, const LIGOTimeGPS *tGPS, const EphemerisData *edat)
 Computes the position and orientation of the Earth, at some arrival time \( t_a \) , specified LIGOTimeGPS input structure. More...
 
int XLALBarycenter (EmissionTime *emit, const BarycenterInput *baryinput, const EarthState *earth)
 Transforms from detector arrival time \( t_a \) in GPS (as specified in the LIGOTimeGPS structure) to pulse emission time \( t_e \) , in TDB. More...
 
int XLALBarycenterOpt (EmissionTime *emit, const BarycenterInput *baryinput, const EarthState *earth, BarycenterBuffer **buffer)
 Speed optimized version of XLALBarycenter(), should be fully equivalent except for the additional buffer argument. The 'buffer' is used to keep sky-specific and detector-specific values that can can potentially be re-used across subsequent calls to this function. More...
 
int XLALBarycenterEarthNew (EarthState *earth, const LIGOTimeGPS *tGPS, const EphemerisData *edat, const TimeCorrectionData *tdat, TimeCorrectionType ttype)
 Computes the position and orientation of the Earth, at some arrival time, but unlike XLALBarycenterEarth uses look-up tables for the Einstein delay calculation. More...
 

Go to the source code of this file.

Data Structures

struct  PosVelAcc
 Structure holding a REAL8 time, and a position, velocity and acceleration vector. More...
 
struct  EphemerisData
 This structure contains all information about the center-of-mass positions of the Earth and Sun, listed at regular time intervals. More...
 
struct  TimeCorrectionData
 This structure will contain a vector of time corrections used during conversion from TT to TDB/TCB/Teph. More...
 
struct  EarthState
 Basic output structure of LALBarycenterEarth.c. More...
 
struct  BarycenterInput
 Basic input structure to LALBarycenter.c. More...
 
struct  EmissionTime
 Basic output structure produced by LALBarycenter.c. More...
 

Macros

#define JPL_AU_DE405   149597870.6910000
 Definition of 1 AU from the JPL DE405 ephemeris in km. More...
 
#define JPL_AU_DE200   149597870.6600000
 Definition of 1 AU from the JPL DE200 ephemeris in km. More...
 
#define CURT_AU   149597870.6600
 1 AU from create_solar_system_barycenter.c as used in Curt's original routines More...
 
Constants from Irwin and Fukushima, A&A, 348, 1999 (taken from TEMPO2)

used for ephemeris conversions.

#define IFTE_JD0   2443144.5003725
 Epoch of TCB, TCG and TT in Julian Days. More...
 
#define IFTE_MJD0   43144.0003725
 Epoch of TCB, TCG and TT in Modified Julian Days. More...
 
#define IFTE_TEPH0   -65.564518e-6
 Equation 17 of Irwin and Fukushima. More...
 
#define IFTE_LC   1.48082686742e-8
 Equation 20 of Irwin and Fukushima. More...
 
#define IFTE_KM1   1.55051979176e-8
 Value of K-1, defined using the IAU definition of L_B = 1.55051976772e-8 and K=1/(1-L_B) (see TEMPO2). More...
 
#define IFTE_K   (((long double)1.0) + ((long double)IFTE_KM1))
 Factor relating ephemeris units for time and distance to corresponding SI units, from Eq. More...
 

Enumerations

enum  TimeCorrectionType {
  TIMECORRECTION_NONE = 0 , TIMECORRECTION_TDB , TIMECORRECTION_TCB , TIMECORRECTION_TEMPO ,
  TIMECORRECTION_TEMPO2 , TIMECORRECTION_ORIGINAL , TIMECORRECTION_LAST
}
 Enumerated type denoting the time system type to be produced in the solar system barycentring routines. More...
 
enum  EphemerisType {
  EPHEM_NONE = 0 , EPHEM_DE200 , EPHEM_DE405 , EPHEM_DE414 ,
  EPHEM_DE421 , EPHEM_DE430 , EPHEM_LAST
}
 Enumerated type denoting the JPL solar system ephemeris to be used in calculating barycentre time corrections. More...