29 #include <lal/LALConstants.h>
30 #include <lal/ComputeSky.h>
119 for (
n = 0;
n <
params->mObsSFT;
n++ ) {
129 dTbary = tBary - tB0;
131 for (
m = 0;
m <
params->spinDwnOrder + 1;
m++ ) {
132 basedTbary = pow( dTbary, (
REAL8 )
m );
133 skyConst[2 *
n * (
params->spinDwnOrder + 1 ) + 2 * (
INT4 )
m] = 1.0 / ( (
REAL8 )
m + 1.0 ) * basedTbary * dTbary - 0.5 *
params->tSFT *
params->emit->tDot * basedTbary;
134 skyConst[2 *
n * (
params->spinDwnOrder + 1 ) + 2 * (
INT4 )
m + 1] =
params->tSFT *
params->emit->tDot * basedTbary;
155 REAL8 temp0, temp2, temp3;
159 temp1 = ( *f ) * 1.e10;
160 temp2 = fmod( temp1, 1.e10 );
161 temp3 = fmod( temp1, 1.e2 );
162 temp4 = ( temp2 - temp3 ) * 0.1;
void LALComputeSky(LALStatus *status, REAL8 *skyConst, INT8 iSkyCoh, CSParams *params)
Given an input index which refers to the sky patch under consideration, this routine returns the phas...
static void FloatToTime(LIGOTimeGPS *tgps, REAL8 *f)
static void TimeToFloat(REAL8 *f, LIGOTimeGPS *tgps)
#define COMPUTESKYH_MSGENULL
#define COMPUTESKYH_ENEGA
#define COMPUTESKYH_ENNUL
#define COMPUTESKYH_ENULL
#define COMPUTESKYH_MSGENEGA
#define COMPUTESKYH_MSGENNUL
#define XLAL_CHECK_LAL(sp, assertion,...)
#define ATTATCHSTATUSPTR(statusptr)
#define ASSERT(assertion, statusptr, code, mesg)
#define DETATCHSTATUSPTR(statusptr)
#define INITSTATUS(statusptr)
#define RETURN(statusptr)
int XLALBarycenterEarth(EarthState *earth, const LIGOTimeGPS *tGPS, const EphemerisData *edat)
Computes the position and orientation of the Earth, at some arrival time , specified LIGOTimeGPS inp...
int XLALBarycenter(EmissionTime *emit, const BarycenterInput *baryinput, const EarthState *earth)
Transforms from detector arrival time in GPS (as specified in the LIGOTimeGPS structure) to pulse em...
This structure contains the parameters for the LALComputeSky() routine.