Tests the routines in Module ReadTimeSeries.c and Module ReadFrequencySeries.c. More...
Tests the routines in Module ReadTimeSeries.c and Module ReadFrequencySeries.c.
For each of the real and complex datatypes (single and double precision), this program fills a Time- and FrequencySeries, prints them to disk with the appropriate LALPrint<datatype>
and FrequencySeries()
LALPrint<datatype>
routines, then reads them back in with the appropriate TimeSeries()
LALRead<datatype>
and FrequencySeries()
LALRead<datatype>
routines and checks to make sure the resulting series agree, printing the results to standard error. TimeSeries()
Definition in file ReadFTSeriesTest.c.
Go to the source code of this file.
Macros | |
Error Codes | |
#define | READFTSERIESTESTC_ENOM 0 |
Nominal exit. More... | |
#define | READFTSERIESTESTC_ECHK 1 |
Error checking failed to catch bad data. More... | |
#define | READFTSERIESTESTC_EFUN 2 |
Subroutine returned error for valid data. More... | |
#define | READFTSERIESTESTC_EFLS 3 |
Subroutine returned unexpected results. More... | |
#define READFTSERIESTESTC_ENOM 0 |
Nominal exit.
Definition at line 47 of file ReadFTSeriesTest.c.
#define READFTSERIESTESTC_ECHK 1 |
Error checking failed to catch bad data.
Definition at line 48 of file ReadFTSeriesTest.c.
#define READFTSERIESTESTC_EFUN 2 |
Subroutine returned error for valid data.
Definition at line 49 of file ReadFTSeriesTest.c.
#define READFTSERIESTESTC_EFLS 3 |
Subroutine returned unexpected results.
Definition at line 50 of file ReadFTSeriesTest.c.