44 #ifndef _BINARYPULSARTIMING_H
45 #define _BINARYPULSARTIMING_H
49 #include <lal/LALStdlib.h>
50 #include <lal/StringVector.h>
51 #include <lal/LALBarycenter.h>
54 #include <lal/ReadPulsarParFile.h>
62 #define BINARYPULSARTIMINGH_ENULLINPUT 1
63 #define BINARYPULSARTIMINGH_ENULLOUTPUT 2
64 #define BINARYPULSARTIMINGH_ENULLPARAMS 3
65 #define BINARYPULSARTIMINGH_ENULLBINARYMODEL 4
66 #define BINARYPULSARTIMINGH_EFAIL 5
67 #define BINARYPULSARTIMINGH_ENAN 6
69 #define BINARYPULSARTIMINGH_MSGENULLINPUT "Input was Null"
70 #define BINARYPULSARTIMINGH_MSGENULLOUTPUT "Output was Null"
71 #define BINARYPULSARTIMINGH_MSGENULLPARAMS "Params was Null"
72 #define BINARYPULSARTIMINGH_MSGNULLBINARYMODEL "Binary model is Null or not specified - you should\
73 not be in the binary timing routine"
74 #define BINARYPULSARTIMINGH_MSGEFAIL "Time delay computation failed"
75 #define BINARYPULSARTIMINGH_MSGENAN "Output is NaN!"
81 typedef struct tagKopeikinTerms {
104 typedef struct tagBinaryPulsarInput {
112 typedef struct tagBinaryPulsarOutput {
void XLALBinaryPulsarDeltaTNew(BinaryPulsarOutput *output, BinaryPulsarInput *input, PulsarParameters *params)
function to calculate the binary system delay using new parameter structure
void XLALComputeKopeikinTerms(KopeikinTerms *kop, BinaryPulsarParams *params, BinaryPulsarInput *input)
This function will compute the effect of binary parameters on the pulsar parallax.
void XLALComputeKopeikinTermsNew(KopeikinTerms *kop, PulsarParameters *params, BinaryPulsarInput *input)
void XLALComputeEccentricAnomaly(REAL8 phase, REAL8 ecc, REAL8 *u)
This function will iteratively calculate the eccentric anomaly from Kelper's equation.
void LALBinaryPulsarDeltaT(LALStatus *status, BinaryPulsarOutput *output, BinaryPulsarInput *input, BinaryPulsarParams *params)
Calculate the binary system time delay using the pulsar parameters in params.
void XLALBinaryPulsarDeltaT(BinaryPulsarOutput *output, BinaryPulsarInput *input, BinaryPulsarParams *params)
function to calculate the binary system delay
structure containing the output parameters for the binary delay function
REAL8 deltaT
deltaT to add to TDB in order to account for binary
A structure to contain all pulsar parameters and associated errors.
Basic output structure of LALBarycenterEarth.c.
structure containing the Kopeikin terms
The PulsarParameters structure to contain a set of pulsar parameters.