No command line options are currently supported. However, preprocessor flags can be set to print output for debugging purposes.
This test program calls and compares the output from LALGeneratePulsarSignal() and LALSignalToSFTs() with the output from LALComputeSkyAndZeroPsiAMResponse() and LALFastGeneratePulsarSFTs() for a variety of signal parameters.
The current code only compares the modulus of the output SFTs, not the phases.
See the pulsar search code in lalpulsar/bin for more example uses of the functions tested by this code.
Definition in file GeneratePulsarSignalTest.c.
Go to the source code of this file.
Macros | |
Error Codes | |
#define | GENERATEPULSARSIGNALTESTC_ENORM 0 |
Normal exit. More... | |
#define | GENERATEPULSARSIGNALTESTC_EIFO 1 |
IFO not supported. More... | |
#define | GENERATEPULSARSIGNALTESTC_EMOD 2 |
SFT max power from LALSignalToSFTs and LALFastGeneratePulsarSFTs differs. More... | |
#define | GENERATEPULSARSIGNALTESTC_EBIN 3 |
SFT freq with max power from LALSignalToSFTs and LALFastGeneratePulsarSFTs differs by more than 1 bin. More... | |
#define | GENERATEPULSARSIGNALTESTC_EBINS 4 |
SFTs freq with max power from LALSignalToSFTs and LALFastGeneratePulsarSFTs differs too often. More... | |
#define GENERATEPULSARSIGNALTESTC_ENORM 0 |
Normal exit.
Definition at line 60 of file GeneratePulsarSignalTest.c.
#define GENERATEPULSARSIGNALTESTC_EIFO 1 |
IFO not supported.
Definition at line 61 of file GeneratePulsarSignalTest.c.
#define GENERATEPULSARSIGNALTESTC_EMOD 2 |
SFT max power from LALSignalToSFTs and LALFastGeneratePulsarSFTs differs.
Definition at line 62 of file GeneratePulsarSignalTest.c.
#define GENERATEPULSARSIGNALTESTC_EBIN 3 |
SFT freq with max power from LALSignalToSFTs and LALFastGeneratePulsarSFTs differs by more than 1 bin.
Definition at line 63 of file GeneratePulsarSignalTest.c.
#define GENERATEPULSARSIGNALTESTC_EBINS 4 |
SFTs freq with max power from LALSignalToSFTs and LALFastGeneratePulsarSFTs differs too often.
Definition at line 64 of file GeneratePulsarSignalTest.c.