25 #include <lal/LALDatatypes.h>
26 #include <lal/LALStdlib.h>
27 #include <lal/Sequence.h>
28 #include <lal/TimeSeries.h>
29 #include <lal/Units.h>
30 #include <lal/XLALError.h>
43 for(i = 0; i <
new->data->length; i++)
44 new->data->data[i] = series->
data->
data[i];
60 for(i = 0; i <
new->data->length; i++)
61 new->data->data[i] = series->
data->
data[i];
67 #define DATATYPE REAL4
68 #include "TimeSeries_source.c"
71 #define DATATYPE REAL8
72 #include "TimeSeries_source.c"
75 #define DATATYPE COMPLEX8
76 #include "TimeSeries_source.c"
79 #define DATATYPE COMPLEX16
80 #include "TimeSeries_source.c"
84 #include "TimeSeries_source.c"
87 #define DATATYPE UINT2
88 #include "TimeSeries_source.c"
92 #include "TimeSeries_source.c"
95 #define DATATYPE UINT4
96 #include "TimeSeries_source.c"
100 #include "TimeSeries_source.c"
103 #define DATATYPE UINT8
104 #include "TimeSeries_source.c"
REAL8TimeSeries * XLALConvertREAL4TimeSeriesToREAL8(const REAL4TimeSeries *series)
REAL8TimeSeries * XLALCreateREAL8TimeSeries(const CHAR *name, const LIGOTimeGPS *epoch, REAL8 f0, REAL8 deltaT, const LALUnit *sampleUnits, size_t length)
REAL4TimeSeries * XLALCreateREAL4TimeSeries(const CHAR *name, const LIGOTimeGPS *epoch, REAL8 f0, REAL8 deltaT, const LALUnit *sampleUnits, size_t length)
REAL4TimeSeries * XLALConvertREAL8TimeSeriesToREAL4(const REAL8TimeSeries *series)
#define XLAL_ERROR_NULL(...)
Macro to invoke a failure from a XLAL routine returning a pointer.
@ XLAL_EFUNC
Internal function call failed bit: "or" this with existing error number.
Time series of REAL4 data, see DATATYPE-TimeSeries types for more details.
CHAR name[LALNameLength]
The name of the time series.
REAL4Sequence * data
The sequence of sampled data.
LALUnit sampleUnits
The physical units of the quantity being sampled.
REAL8 deltaT
The time step between samples of the time series in seconds.
LIGOTimeGPS epoch
The start time of the time series.
REAL8 f0
The heterodyning frequency, in Hertz (zero if not heterodyned).
REAL4 * data
Pointer to the data array.
UINT4 length
Number of elements in array.
Time series of REAL8 data, see DATATYPE-TimeSeries types for more details.
REAL8Sequence * data
The sequence of sampled data.
LALUnit sampleUnits
The physical units of the quantity being sampled.
REAL8 f0
The heterodyning frequency, in Hertz (zero if not heterodyned).
REAL8 deltaT
The time step between samples of the time series in seconds.
LIGOTimeGPS epoch
The start time of the time series.
CHAR name[LALNameLength]
The name of the time series.
REAL8 * data
Pointer to the data array.
UINT4 length
Number of elements in array.