56 #include<lal/LALDatatypes.h>
57 #include<lal/ComputeSky.h>
58 #include<lal/LALInitBarycenter.h>
59 #include<lal/LALBarycenter.h>
60 #include<lal/LALStdlib.h>
61 #include<lal/LALConstants.h>
70 #define VELOCITYH_ENULL 1
71 #define VELOCITYH_EVAL 2
72 #define VELOCITYH_MSGENULL "Null Pointer"
73 #define VELOCITYH_MSGEVAL "Invalid Value"
84 typedef struct tagVelocityPar {
96 SWIGLAL( OUTPUT_ARRAY_1D(
REAL8, v[3],
x[3] ) );
void LALDetectorVel(LALStatus *status, REAL8 v[3], LIGOTimeGPS *time0, LALDetector detector, EphemerisData *edat)
This function finds the velocity of a given detector at a given time.
void LALDetectorPos(LALStatus *status, REAL8 x[3], LIGOTimeGPS *time0, LALDetector detector, EphemerisData *edat)
This finds velocity of a given detector at a given time.
void LALAvgDetectorVel(LALStatus *status, REAL8 v[3], VelocityPar *in)
This function outputs the average velocity REAL8 v[3] of the detector during a time interval.
void LALAvgDetectorPos(LALStatus *status, REAL8 x[3], VelocityPar *in)
Given a detector and a time interval, this function outputs the average position of the detector duri...
This structure contains all information about the center-of-mass positions of the Earth and Sun,...
This structure stores the parameters required by XLALBarycenter() to calculate Earth velocity at a gi...
EphemerisData * edat
ephemeris data pointer from XLALInitBarycenter()
LALDetector detector
the detector
REAL8 tBase
duration of interval
LIGOTimeGPS startTime
start of time interval
REAL8 vTol
fractional accuracy required for velocity (redundant for average velocity calculation)