Provides a set of utilities for manipulating simInspiralTables
.
More...
Prototypes | |
static INT8 | geocent_end_time (const SimInspiralTable *x) |
void | LALGalacticInspiralParamsToSimInspiralTable (LALStatus *status, SimInspiralTable *output, GalacticInspiralParamStruc *input, RandomParams *params) |
static void | LALInspiralSiteTimeAndDist (LALStatus *status, SimInspiralTable *output, LALDetector *detector, LIGOTimeGPS *endTime, REAL4 *effDist, SkyPosition *skyPos) |
void | LALPopulateSimInspiralSiteInfo (LALStatus *status, SimInspiralTable *output) |
void | XLALSortSimInspiral (SimInspiralTable **head, int(*comparefunc)(const SimInspiralTable *const *, const SimInspiralTable *const *)) |
int | XLALCompareSimInspiralByGeocentEndTime (const SimInspiralTable *const *a, const SimInspiralTable *const *b) |
Provides a set of utilities for manipulating simInspiralTables
.
The function LALInspiralSiteTimeAndDist()
calculates detector end time (endTime
) and effective distance (effDist
) for an inspiral signal from a specific location in the sky (skyPos
) assumed to be given in equatorial coordinates. The detector end time is obtained by using LALTimeDelayFromEarthCenter()
, while the effective distance requires calculation of the detector response, calculated using LALComputeDetAMResponse()
.
The function LALPopulateSimInspiralSiteInfo()
populates the end time and effective distance for each of the interferometer sites. The sky location (in equatorial coordinates) is assumed to be already contained in the input SimInspiralTable
. The end time and effective distance for each site is calculated by calling LALInspiralSiteTimeAndDist()
once for each of the detectors, and setting the detector
appropriately.
None.
LALGetInspiralParams(), LALGPStoGMST1(), LALTimeDelayFromEarthCenter(), LALComputeDetAMResponse().
Definition in file SimInspiralUtils.c.
Go to the source code of this file.
|
static |
Definition at line 81 of file SimInspiralUtils.c.
void LALGalacticInspiralParamsToSimInspiralTable | ( | LALStatus * | status, |
SimInspiralTable * | output, | ||
GalacticInspiralParamStruc * | input, | ||
RandomParams * | params | ||
) |
Definition at line 88 of file SimInspiralUtils.c.
|
static |
Definition at line 234 of file SimInspiralUtils.c.
void LALPopulateSimInspiralSiteInfo | ( | LALStatus * | status, |
SimInspiralTable * | output | ||
) |
Definition at line 305 of file SimInspiralUtils.c.
void XLALSortSimInspiral | ( | SimInspiralTable ** | head, |
int(*)(const SimInspiralTable *const *, const SimInspiralTable *const *) | comparefunc | ||
) |
Definition at line 378 of file SimInspiralUtils.c.
int XLALCompareSimInspiralByGeocentEndTime | ( | const SimInspiralTable *const * | a, |
const SimInspiralTable *const * | b | ||
) |
Definition at line 418 of file SimInspiralUtils.c.