LAL  7.5.0.1-bede9b2
ResampleTimeSeries.h File Reference

Prototypes

int XLALResampleREAL4TimeSeries (REAL4TimeSeries *series, REAL8 dt)
 
int XLALResampleREAL8TimeSeries (REAL8TimeSeries *series, REAL8 dt)
 
void LALResampleREAL4TimeSeries (LALStatus *status, REAL4TimeSeries *ts, ResampleTSParams *params)
 

Go to the source code of this file.

Data Structures

union  ResampleTSFilterParams
 This union is provided so that the code can store the parameters of the filter in a place accessible by the user for user designed low pass filters. More...
 
struct  ResampleTSParams
 This structure controls the behaviour of the resampling function. More...
 

Macros

Error Codes
#define RESAMPLETIMESERIESH_ENULL   1
 Null pointer. More...
 
#define RESAMPLETIMESERIESH_ENNUL   2
 Non-null pointer. More...
 
#define RESAMPLETIMESERIESH_EZERO   3
 Length of input time series is zero. More...
 
#define RESAMPLETIMESERIESH_ERATE   4
 Sample rate is zero. More...
 
#define RESAMPLETIMESERIESH_EUPSM   5
 Cannot upsample. More...
 
#define RESAMPLETIMESERIESH_EHIGH   6
 Input sample rate is greater than 32kHz. More...
 
#define RESAMPLETIMESERIESH_ELOG2   7
 Only power-of-two resampling is avaliable. More...
 
#define RESAMPLETIMESERIESH_EFILT   8
 Unknown filter type. More...
 
#define RESAMPLETIMESERIESH_EINVD   9
 Invalid or non-integer resample factor. More...
 
#define RESAMPLETIMESERIESH_ELDAS   10
 Input resample factor with LDAS FIR. More...
 

Enumerations

enum  ResampleTSFilter { defaultButterworth , LDASfirLP }
 This enum type contains the different low pass filters available to prevent power above the new Nyquist frequency entering the resampled time series due to aliasing. More...