42#include <lal/LALStdlib.h>
43#include <lal/AVFactories.h>
44#include <lal/PrintFTSeries.h>
45#include <lal/LALFrStream.h>
46#include <lal/TimeSeries.h>
50#define CHANNEL "H1:LSC-AS_Q"
56 const UINT4 npts = 200001;
73 epoch.gpsSeconds = 600000071;
74 epoch.gpsNanoSeconds = 123456789;
94 if ( (
int)typecode < 0 )
97 fprintf( stderr,
"Wrong data type!\n" );
int XLALFrStreamSeek(LALFrStream *stream, const LIGOTimeGPS *epoch)
Seeks a LALFrStream stream to data at a given time.
int XLALFrStreamClose(LALFrStream *stream)
Closes a LALFrStream.
int XLALFrStreamGetpos(LALFrStreamPos *position, LALFrStream *stream)
Gets the current position of a LALFrStream stream.
LALFrStream * XLALFrStreamOpen(const char *dirname, const char *pattern)
Opens a LALFrStream for specified frame files.
int XLALFrStreamSetMode(LALFrStream *stream, int mode)
Change the operating mode of a LALFrStream.
int XLALFrStreamSetpos(LALFrStream *stream, const LALFrStreamPos *position)
Sets the current position of a LALFrStream stream.
@ LAL_FR_STREAM_CHECKSUM_MODE
ensure that file checksums are OK
@ LAL_FR_STREAM_VERBOSE_MODE
display warnings and info
LALTYPECODE XLALFrStreamGetTimeSeriesType(const char *chname, LALFrStream *stream)
Returns the type code for the data type of channel chname in the current frame in frame stream stream...
int XLALFrStreamGetINT4TimeSeries(INT4TimeSeries *series, LALFrStream *stream)
void LALI4PrintTimeSeries(INT4TimeSeries *series, const CHAR *filename)
void XLALDestroyINT4TimeSeries(INT4TimeSeries *series)
INT4TimeSeries * XLALCreateINT4TimeSeries(const CHAR *name, const LIGOTimeGPS *epoch, REAL8 f0, REAL8 deltaT, const LALUnit *sampleUnits, size_t length)
const LALUnit lalDimensionlessUnit
void XLALAbortErrorHandler(const char *func, const char *file, int line, int errnum)
XLALErrorHandlerType * XLALSetErrorHandler(XLALErrorHandlerType *newHandler)
This structure details the state of the frame stream.
This structure contains a record of the state of a frame stream; this record can be used to restore t...