LAL  7.5.0.1-08ee4f4
TimeSeriesInterpTest.c File Reference

Prototypes

static REAL8TimeSeriesnew_series (double deltaT, unsigned length, double fill)
 
static REAL8TimeSeriescopy_series (const REAL8TimeSeries *src)
 
static LIGOTimeGPS t_i (const REAL8TimeSeries *s, unsigned i)
 
static void add_sine (REAL8TimeSeries *s, LIGOTimeGPS epoch, double ampl, double freq)
 
static void evaluate (REAL8TimeSeries *dst, LALREAL8TimeSeriesInterp *interp, int bounds_check)
 
static REAL8TimeSerieserror (const REAL8TimeSeries *s1, const REAL8TimeSeries *s0)
 
static double RMS (const REAL8TimeSeries *s)
 
static void minmax (const REAL8TimeSeries *s, double *min, double *max)
 
static void check_result (const REAL8TimeSeries *model, const REAL8TimeSeries *result, double rms_bound, double residual_min, double residual_max)
 
int main (void)
 

Go to the source code of this file.

Variables

static LIGOTimeGPS gps_zero = LIGOTIMEGPSZERO
 

Function Documentation

◆ new_series()

static REAL8TimeSeries* new_series ( double  deltaT,
unsigned  length,
double  fill 
)
static

Definition at line 35 of file TimeSeriesInterpTest.c.

◆ copy_series()

static REAL8TimeSeries* copy_series ( const REAL8TimeSeries src)
static

Definition at line 45 of file TimeSeriesInterpTest.c.

◆ t_i()

static LIGOTimeGPS t_i ( const REAL8TimeSeries s,
unsigned  i 
)
static

Definition at line 51 of file TimeSeriesInterpTest.c.

◆ add_sine()

static void add_sine ( REAL8TimeSeries s,
LIGOTimeGPS  epoch,
double  ampl,
double  freq 
)
static

Definition at line 59 of file TimeSeriesInterpTest.c.

◆ evaluate()

static void evaluate ( REAL8TimeSeries dst,
LALREAL8TimeSeriesInterp *  interp,
int  bounds_check 
)
static

Definition at line 71 of file TimeSeriesInterpTest.c.

◆ error()

static REAL8TimeSeries* error ( const REAL8TimeSeries s1,
const REAL8TimeSeries s0 
)
static

Definition at line 82 of file TimeSeriesInterpTest.c.

◆ RMS()

static double RMS ( const REAL8TimeSeries s)
static

Definition at line 96 of file TimeSeriesInterpTest.c.

◆ minmax()

static void minmax ( const REAL8TimeSeries s,
double *  min,
double *  max 
)
static

Definition at line 108 of file TimeSeriesInterpTest.c.

◆ check_result()

static void check_result ( const REAL8TimeSeries model,
const REAL8TimeSeries result,
double  rms_bound,
double  residual_min,
double  residual_max 
)
static

Definition at line 122 of file TimeSeriesInterpTest.c.

◆ main()

int main ( void  )

Definition at line 138 of file TimeSeriesInterpTest.c.

Variable Documentation

◆ gps_zero

LIGOTimeGPS gps_zero = LIGOTIMEGPSZERO
static

Definition at line 32 of file TimeSeriesInterpTest.c.