20 #ifndef _INTERPOLATE_H
21 #define _INTERPOLATE_H
24 #include <lal/Sequence.h>
25 #include <lal/LALDatatypes.h>
27 #include <lal/XLALGSL.h>
28 #include <gsl/gsl_errno.h>
29 #include <gsl/gsl_spline.h>
91 #define INTERPOLATEH_ENULL 1
92 #define INTERPOLATEH_ESIZE 2
93 #define INTERPOLATEH_EZERO 4
97 #define INTERPOLATEH_MSGENULL "Null pointer"
98 #define INTERPOLATEH_MSGESIZE "Invalid size"
99 #define INTERPOLATEH_MSGEZERO "Zero divide"
184 const gsl_interp_type *itrp_type
194 const gsl_interp_type *itrp_type
void LALDPolynomialInterpolation(LALStatus *status, DInterpolateOut *output, REAL8 target, DInterpolatePar *params)
int XLALREAL8TimeSeriesInterpolation(REAL8TimeSeries *ts_in, REAL8Sequence *y_in, REAL8Sequence *t_in, REAL8Sequence *t_out, UINT4 n_data_points, const gsl_interp_type *itrp_type)
void LALSPolynomialInterpolation(LALStatus *status, SInterpolateOut *output, REAL4 target, SInterpolatePar *params)
REAL8 XLALREAL8PolynomialInterpolation(REAL8 *yout, REAL8 xtarget, REAL8 *y, REAL8 *x, UINT4 n)
int XLALREAL8Interpolation(REAL8Sequence *x_in, REAL8Sequence *y_in, REAL8Sequence *x_out, REAL8Sequence *y_out, UINT4 n_data_points, const gsl_interp_type *itrp_type)
double REAL8
Double precision real floating-point number (8 bytes).
uint32_t UINT4
Four-byte unsigned integer.
float REAL4
Single precision real floating-point number (4 bytes).
These structures contain the output of the interpolation.
REAL8 y
The interpolated value.
REAL8 dy
The estimated error in the interpolated value.
These structures contain the interpolation parameters; These are the arrays of n domain values and t...
REAL8 * y
The array of values to interpolate.
REAL8 * x
The array of domain values.
UINT4 n
The number of points in the arrays to use in the interpolation.
LAL status structure, see The LALStatus structure for more details.
Time series of REAL8 data, see DATATYPE-TimeSeries types for more details.
Vector of type REAL8, see DATATYPE-Vector types for more details.
These structures contain the output of the interpolation.
REAL4 dy
The estimated error in the interpolated value.
REAL4 y
The interpolated value.
These structures contain the interpolation parameters; These are the arrays of n domain values and t...
REAL4 * x
The array of domain values.
UINT4 n
The number of points in the arrays to use in the interpolation.
REAL4 * y
The array of values to interpolate.
void output(int gps_sec, int output_type)