Test for XLALComputeAMCoeffs() and XLALComputeMultiAMCoeffs() by comparison with the old LAL functions old_LALGetAMCoeffs() and old_LALGetMultiAMCoeffs(). More...
Prototypes | |
static int | XLALCompareMultiAMCoeffs (MultiAMCoeffs *multiAM1, MultiAMCoeffs *multiAM2, REAL8 tolerance) |
static void | old_LALGetMultiAMCoeffs (LALStatus *, MultiAMCoeffs **multiAMcoef, const MultiDetectorStateSeries *multiDetStates, SkyPosition pos) |
static void | old_LALNewGetAMCoeffs (LALStatus *, AMCoeffs *coeffs, const DetectorStateSeries *DetectorStates, SkyPosition skypos) |
int | main (int argc, char *argv[]) |
Test for XLALComputeAMCoeffs() and XLALComputeMultiAMCoeffs() by comparison with the old LAL functions old_LALGetAMCoeffs() and old_LALGetMultiAMCoeffs().
Note, we run a comparison only for the 2-IFO multiAM functions XLALComputeMultiAMCoeffs() comparing it to old_LALGetMultiAMCoeffs() [combined with XLALWeightMultiAMCoeffs()], as this excercises the 1-IFO functions as well.
Sky-location is picked at random each time, which allows a minimal Monte-Carlo validation by simply running this script repeatedly.
Definition in file XLALComputeAMTest.c.
Go to the source code of this file.
Macros | |
#define | LALCOMPUTEAMH_ENULL 7 |
#define | LALCOMPUTEAMH_EINPUT 8 |
#define | LALCOMPUTEAMH_ENONULL 9 |
#define | LALCOMPUTEAMH_EMEM 10 |
#define | LALCOMPUTEAMH_MSGENULL "Arguments contained an unexpected null pointer" |
#define | LALCOMPUTEAMH_MSGEINPUT "Invalid input" |
#define | LALCOMPUTEAMH_MSGENONULL "Output pointer is non-NULL" |
#define | LALCOMPUTEAMH_MSGEMEM "Out of memory. Bad." |
#define LALCOMPUTEAMH_ENULL 7 |
Definition at line 57 of file XLALComputeAMTest.c.
#define LALCOMPUTEAMH_EINPUT 8 |
Definition at line 58 of file XLALComputeAMTest.c.
#define LALCOMPUTEAMH_ENONULL 9 |
Definition at line 59 of file XLALComputeAMTest.c.
#define LALCOMPUTEAMH_EMEM 10 |
Definition at line 60 of file XLALComputeAMTest.c.
#define LALCOMPUTEAMH_MSGENULL "Arguments contained an unexpected null pointer" |
Definition at line 62 of file XLALComputeAMTest.c.
#define LALCOMPUTEAMH_MSGEINPUT "Invalid input" |
Definition at line 63 of file XLALComputeAMTest.c.
#define LALCOMPUTEAMH_MSGENONULL "Output pointer is non-NULL" |
Definition at line 64 of file XLALComputeAMTest.c.
#define LALCOMPUTEAMH_MSGEMEM "Out of memory. Bad." |
Definition at line 65 of file XLALComputeAMTest.c.
|
static |
Definition at line 222 of file XLALComputeAMTest.c.
|
static |
Definition at line 366 of file XLALComputeAMTest.c.
|
static |
Definition at line 452 of file XLALComputeAMTest.c.
Definition at line 68 of file XLALComputeAMTest.c.