LAL  7.5.0.1-89842e6
ReadFTSeriesTest.c File Reference

Tests the routines in Module ReadTimeSeries.c and Module ReadFrequencySeries.c. More...

Detailed Description

Tests the routines in Module ReadTimeSeries.c and Module ReadFrequencySeries.c.

Author
Torres, C. W.

Usage

ReadFTSeriesTest

Description

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>FrequencySeries() and LALPrint<datatype>TimeSeries() routines, then reads them back in with the appropriate LALRead<datatype>FrequencySeries() and LALRead<datatype>TimeSeries() routines and checks to make sure the resulting series agree, printing the results to standard error.

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...
 

Macro Definition Documentation

◆ READFTSERIESTESTC_ENOM

#define READFTSERIESTESTC_ENOM   0

Nominal exit.

Definition at line 47 of file ReadFTSeriesTest.c.

◆ READFTSERIESTESTC_ECHK

#define READFTSERIESTESTC_ECHK   1

Error checking failed to catch bad data.

Definition at line 48 of file ReadFTSeriesTest.c.

◆ READFTSERIESTESTC_EFUN

#define READFTSERIESTESTC_EFUN   2

Subroutine returned error for valid data.

Definition at line 49 of file ReadFTSeriesTest.c.

◆ READFTSERIESTESTC_EFLS

#define READFTSERIESTESTC_EFLS   3

Subroutine returned unexpected results.

Definition at line 50 of file ReadFTSeriesTest.c.