LALFrame 3.0.7.1-eeff03c
LALFrameUFrameC.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2014 Jolien Creighton
3*
4* This program is free software; you can redistribute it and/or modify
5* it under the terms of the GNU General Public License as published by
6* the Free Software Foundation; either version 2 of the License, or
7* (at your option) any later version.
8*
9* This program is distributed in the hope that it will be useful,
10* but WITHOUT ANY WARRANTY; without even the implied warranty of
11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12* GNU General Public License for more details.
13*
14* You should have received a copy of the GNU General Public License
15* along with with program; see the file COPYING. If not, write to the
16* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17* MA 02110-1301 USA
18*/
19
20#ifndef _LALFRAMEUFRAMEC_H
21#define _LALFRAMEUFRAMEC_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26#if 0
27}
28#endif
29void XLALFrameUFrFileClose_FrameC_(LALFrameUFrFile * stream);
30LALFrameUFrFile *XLALFrameUFrFileOpen_FrameC_(const char *filename, const char *mode);
31int XLALFrameUFileCksumValid_FrameC_(LALFrameUFrFile * stream);
33LALFrameUFrTOC *XLALFrameUFrTOCRead_FrameC_(LALFrameUFrFile * stream);
35double XLALFrameUFrTOCQueryGTimeModf_FrameC_(double *iptr, const LALFrameUFrTOC * toc, size_t pos);
36double XLALFrameUFrTOCQueryDt_FrameC_(const LALFrameUFrTOC * toc, size_t pos);
38const char *XLALFrameUFrTOCQueryAdcName_FrameC_(const LALFrameUFrTOC * toc, size_t adc);
40const char *XLALFrameUFrTOCQuerySimName_FrameC_(const LALFrameUFrTOC * toc, size_t sim);
42const char *XLALFrameUFrTOCQueryProcName_FrameC_(const LALFrameUFrTOC * toc, size_t proc);
44const char *XLALFrameUFrTOCQueryDetectorName_FrameC_(const LALFrameUFrTOC * toc, size_t det);
46LALFrameUFrameH *XLALFrameUFrameHAlloc_FrameC_(const char *name, double start1, double start2, double dt, int frnum);
47LALFrameUFrameH *XLALFrameUFrameHRead_FrameC_(LALFrameUFrFile * stream, int pos);
48int XLALFrameUFrameHWrite_FrameC_(LALFrameUFrFile * stream, LALFrameUFrameH * frame);
49int XLALFrameUFrameHFrChanAdd_FrameC_(LALFrameUFrameH * frame, LALFrameUFrChan * channel);
50int XLALFrameUFrameHFrDetectorAdd_FrameC_(LALFrameUFrameH * frame, LALFrameUFrDetector * detector);
52const char *XLALFrameUFrameHQueryName_FrameC_(const LALFrameUFrameH * frame);
56double XLALFrameUFrameHQueryGTimeModf_FrameC_(double *iptr, const LALFrameUFrameH * frame);
60void XLALFrameUFrChanFree_FrameC_(LALFrameUFrChan * channel);
61LALFrameUFrChan *XLALFrameUFrChanRead_FrameC_(LALFrameUFrFile * stream, const char *name, size_t pos);
62LALFrameUFrChan *XLALFrameUFrAdcChanAlloc_FrameC_(const char *name, int dtype, size_t ndata);
63LALFrameUFrChan *XLALFrameUFrSimChanAlloc_FrameC_(const char *name, int dtype, size_t ndata);
64LALFrameUFrChan *XLALFrameUFrProcChanAlloc_FrameC_(const char *name, int type, int subtype, int dtype, size_t ndata);
65const char *XLALFrameUFrChanQueryName_FrameC_(const LALFrameUFrChan * channel);
66double XLALFrameUFrChanQueryTimeOffset_FrameC_(const LALFrameUFrChan * channel);
67int XLALFrameUFrChanSetSampleRate_FrameC_(LALFrameUFrChan * channel, double sampleRate);
68int XLALFrameUFrChanSetTimeOffset_FrameC_(LALFrameUFrChan * channel, double timeOffset);
69int XLALFrameUFrChanSetTRange_FrameC_(LALFrameUFrChan * channel, double tRange);
70int XLALFrameUFrChanVectorAlloc_FrameC_(LALFrameUFrChan * channel, int dtype, size_t ndata);
71int XLALFrameUFrChanVectorCompress_FrameC_(LALFrameUFrChan * channel, int compressLevel);
73const char *XLALFrameUFrChanVectorQueryName_FrameC_(const LALFrameUFrChan * channel);
74int XLALFrameUFrChanVectorQueryCompress_FrameC_(const LALFrameUFrChan * channel);
75int XLALFrameUFrChanVectorQueryType_FrameC_(const LALFrameUFrChan * channel);
76void *XLALFrameUFrChanVectorQueryData_FrameC_(const LALFrameUFrChan * channel);
77size_t XLALFrameUFrChanVectorQueryNBytes_FrameC_(const LALFrameUFrChan * channel);
78size_t XLALFrameUFrChanVectorQueryNData_FrameC_(const LALFrameUFrChan * channel);
79size_t XLALFrameUFrChanVectorQueryNDim_FrameC_(const LALFrameUFrChan * channel);
80size_t XLALFrameUFrChanVectorQueryNx_FrameC_(const LALFrameUFrChan * channel, size_t dim);
81double XLALFrameUFrChanVectorQueryDx_FrameC_(const LALFrameUFrChan * channel, size_t dim);
82double XLALFrameUFrChanVectorQueryStartX_FrameC_(const LALFrameUFrChan * channel, size_t dim);
83const char *XLALFrameUFrChanVectorQueryUnitX_FrameC_(const LALFrameUFrChan * channel, size_t dim);
84const char *XLALFrameUFrChanVectorQueryUnitY_FrameC_(const LALFrameUFrChan * channel);
85int XLALFrameUFrChanVectorSetName_FrameC_(LALFrameUFrChan * channel, const char *name);
86int XLALFrameUFrChanVectorSetDx_FrameC_(LALFrameUFrChan * channel, double dx);
87int XLALFrameUFrChanVectorSetStartX_FrameC_(LALFrameUFrChan * channel, double x0);
88int XLALFrameUFrChanVectorSetUnitX_FrameC_(LALFrameUFrChan * channel, const char *unit);
89int XLALFrameUFrChanVectorSetUnitY_FrameC_(LALFrameUFrChan * channel, const char *unit);
90void XLALFrameUFrDetectorFree_FrameC_(LALFrameUFrDetector * detector);
91LALFrameUFrDetector *XLALFrameUFrDetectorRead_FrameC_(LALFrameUFrFile * stream, const char *name);
92LALFrameUFrDetector *XLALFrameUFrDetectorAlloc_FrameC_(const char *name, const char *prefix, double latitude, double longitude,
93 double elevation, double azimuthX, double azimuthY, double altitudeX, double altitudeY, double midpointX, double midpointY,
94 int localTime);
95const char *XLALFrameUFrDetectorQueryName_FrameC_(const LALFrameUFrDetector * detector);
96const char *XLALFrameUFrDetectorQueryPrefix_FrameC_(const LALFrameUFrDetector * detector);
97double XLALFrameUFrDetectorQueryLongitude_FrameC_(const LALFrameUFrDetector * detector);
98double XLALFrameUFrDetectorQueryLatitude_FrameC_(const LALFrameUFrDetector * detector);
99double XLALFrameUFrDetectorQueryElevation_FrameC_(const LALFrameUFrDetector * detector);
100double XLALFrameUFrDetectorQueryArmXAzimuth_FrameC_(const LALFrameUFrDetector * detector);
101double XLALFrameUFrDetectorQueryArmYAzimuth_FrameC_(const LALFrameUFrDetector * detector);
102double XLALFrameUFrDetectorQueryArmXAltitude_FrameC_(const LALFrameUFrDetector * detector);
103double XLALFrameUFrDetectorQueryArmYAltitude_FrameC_(const LALFrameUFrDetector * detector);
104double XLALFrameUFrDetectorQueryArmXMidpoint_FrameC_(const LALFrameUFrDetector * detector);
105double XLALFrameUFrDetectorQueryArmYMidpoint_FrameC_(const LALFrameUFrDetector * detector);
106int XLALFrameUFrDetectorQueryLocalTime_FrameC_(const LALFrameUFrDetector * detector);
108LALFrameUFrHistory *XLALFrameUFrHistoryAlloc_FrameC_(const char *name, double gpssec, const char *comment);
109
110#if 0
111{
112#endif
113#ifdef __cplusplus
114}
115#endif
116
117#endif /* _LALFRAMEUFRAMEC_H */
const char * XLALFrameUFrChanVectorQueryName_FrameC_(const LALFrameUFrChan *channel)
Definition: LALFrameC.c:732
double XLALFrameUFrDetectorQueryArmXAzimuth_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:985
const char * XLALFrameUFrTOCQuerySimName_FrameC_(const LALFrameUFrTOC *toc, size_t sim)
Definition: LALFrameC.c:375
int XLALFrameUFrChanSetTimeOffset_FrameC_(LALFrameUFrChan *channel, double timeOffset)
Definition: LALFrameC.c:661
LALFrameUFrChan * XLALFrameUFrProcChanAlloc_FrameC_(const char *name, int type, int subtype, int dtype, size_t ndata)
Definition: LALFrameC.c:633
LALFrameUFrTOC * XLALFrameUFrTOCRead_FrameC_(LALFrameUFrFile *stream)
Definition: LALFrameC.c:292
int XLALFrameUFrameHQueryRun_FrameC_(const LALFrameUFrameH *frame)
Definition: LALFrameC.c:518
int XLALFrameUFrameHWrite_FrameC_(LALFrameUFrFile *stream, LALFrameUFrameH *frame)
Definition: LALFrameC.c:483
size_t XLALFrameUFrChanVectorQueryNBytes_FrameC_(const LALFrameUFrChan *channel)
Definition: LALFrameC.c:758
int XLALFrameUFrChanVectorSetName_FrameC_(LALFrameUFrChan *channel, const char *name)
Definition: LALFrameC.c:858
int XLALFrameUFrameHFrDetectorAdd_FrameC_(LALFrameUFrameH *frame, LALFrameUFrDetector *detector)
Definition: LALFrameC.c:497
const char * XLALFrameUFrChanVectorQueryUnitY_FrameC_(const LALFrameUFrChan *channel)
Definition: LALFrameC.c:850
LALFrameUFrameH * XLALFrameUFrameHAlloc_FrameC_(const char *name, double start1, double start2, double dt, int frnum)
Definition: LALFrameC.c:452
const char * XLALFrameUFrDetectorQueryPrefix_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:959
int XLALFrameUFrChanSetSampleRate_FrameC_(LALFrameUFrChan *channel, double sampleRate)
Definition: LALFrameC.c:655
LALFrameUFrChan * XLALFrameUFrSimChanAlloc_FrameC_(const char *name, int dtype, size_t ndata)
Definition: LALFrameC.c:583
void XLALFrameUFrHistoryFree_FrameC_(LALFrameUFrHistory *history)
Definition: LALFrameC.c:1038
double XLALFrameUFrDetectorQueryElevation_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:978
int XLALFrameUFrameHQueryFrame_FrameC_(const LALFrameUFrameH *frame)
Definition: LALFrameC.c:524
int XLALFrameUFrChanVectorExpand_FrameC_(LALFrameUFrChan *channel)
Definition: LALFrameC.c:724
void XLALFrameUFrameHFree_FrameC_(LALFrameUFrameH *frame)
Definition: LALFrameC.c:447
size_t XLALFrameUFrTOCQueryAdcN_FrameC_(const LALFrameUFrTOC *toc)
Definition: LALFrameC.c:343
const char * XLALFrameUFrTOCQueryAdcName_FrameC_(const LALFrameUFrTOC *toc, size_t adc)
Definition: LALFrameC.c:350
double XLALFrameUFrDetectorQueryArmYAzimuth_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:992
void XLALFrameUFrDetectorFree_FrameC_(LALFrameUFrDetector *detector)
Definition: LALFrameC.c:893
size_t XLALFrameUFrTOCQueryDetectorN_FrameC_(const LALFrameUFrTOC *toc)
Definition: LALFrameC.c:418
double XLALFrameUFrDetectorQueryLatitude_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:971
int XLALFrameUFrChanSetTRange_FrameC_(LALFrameUFrChan *channel, double tRange)
Definition: LALFrameC.c:667
int XLALFrameUFrChanVectorSetUnitY_FrameC_(LALFrameUFrChan *channel, const char *unit)
Definition: LALFrameC.c:863
const char * XLALFrameUFrTOCQueryDetectorName_FrameC_(const LALFrameUFrTOC *toc, size_t det)
Definition: LALFrameC.c:425
double XLALFrameUFrDetectorQueryArmXMidpoint_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:1013
LALFrameUFrChan * XLALFrameUFrAdcChanAlloc_FrameC_(const char *name, int dtype, size_t ndata)
Definition: LALFrameC.c:578
double XLALFrameUFrameHQueryGTimeModf_FrameC_(double *iptr, const LALFrameUFrameH *frame)
Definition: LALFrameC.c:536
size_t XLALFrameUFrTOCQuerySimN_FrameC_(const LALFrameUFrTOC *toc)
Definition: LALFrameC.c:368
const char * XLALFrameUFrChanVectorQueryUnitX_FrameC_(const LALFrameUFrChan *channel, size_t dim)
Definition: LALFrameC.c:831
double XLALFrameUFrameHQueryDt_FrameC_(const LALFrameUFrameH *frame)
Definition: LALFrameC.c:550
const char * XLALFrameUFrChanQueryName_FrameC_(const LALFrameUFrChan *channel)
Definition: LALFrameC.c:641
size_t XLALFrameUFrChanVectorQueryNx_FrameC_(const LALFrameUFrChan *channel, size_t dim)
Definition: LALFrameC.c:776
size_t XLALFrameUFrTOCQueryNFrame_FrameC_(const LALFrameUFrTOC *toc)
Definition: LALFrameC.c:297
void XLALFrameUFrFileClose_FrameC_(LALFrameUFrFile *stream)
Definition: LALFrameC.c:189
const char * XLALFrameUFrDetectorQueryName_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:951
double XLALFrameUFrChanVectorQueryStartX_FrameC_(const LALFrameUFrChan *channel, size_t dim)
Definition: LALFrameC.c:812
LALFrameUFrFile * XLALFrameUFrFileOpen_FrameC_(const char *filename, const char *mode)
Definition: LALFrameC.c:207
int XLALFrameUFileCksumValid_FrameC_(LALFrameUFrFile *stream)
Definition: LALFrameC.c:247
size_t XLALFrameUFrTOCQueryProcN_FrameC_(const LALFrameUFrTOC *toc)
Definition: LALFrameC.c:393
double XLALFrameUFrDetectorQueryLongitude_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:964
int XLALFrameUFrChanVectorSetUnitX_FrameC_(LALFrameUFrChan *channel, const char *unit)
Definition: LALFrameC.c:883
size_t XLALFrameUFrChanVectorQueryNDim_FrameC_(const LALFrameUFrChan *channel)
Definition: LALFrameC.c:770
int XLALFrameUFrameHQueryULeapS_FrameC_(const LALFrameUFrameH *frame)
Definition: LALFrameC.c:544
int XLALFrameUFrChanVectorSetStartX_FrameC_(LALFrameUFrChan *channel, double x0)
Definition: LALFrameC.c:877
double XLALFrameUFrTOCQueryGTimeModf_FrameC_(double *iptr, const LALFrameUFrTOC *toc, size_t pos)
Definition: LALFrameC.c:303
int XLALFrameUFrChanVectorCompress_FrameC_(LALFrameUFrChan *channel, int compressLevel)
Definition: LALFrameC.c:711
void XLALFrameUFrChanFree_FrameC_(LALFrameUFrChan *channel)
Definition: LALFrameC.c:568
double XLALFrameUFrDetectorQueryArmXAltitude_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:999
int XLALFrameUFrChanVectorAlloc_FrameC_(LALFrameUFrChan *channel, int dtype, size_t ndata)
Definition: LALFrameC.c:677
LALFrameUFrameH * XLALFrameUFrameHRead_FrameC_(LALFrameUFrFile *stream, int pos)
Definition: LALFrameC.c:478
int XLALFrameUFrChanVectorQueryType_FrameC_(const LALFrameUFrChan *channel)
Definition: LALFrameC.c:745
LALFrameUFrChan * XLALFrameUFrChanRead_FrameC_(LALFrameUFrFile *stream, const char *name, size_t pos)
Definition: LALFrameC.c:573
int XLALFrameUFrameHQueryDataQuality_FrameC_(const LALFrameUFrameH *frame)
Definition: LALFrameC.c:530
double XLALFrameUFrDetectorQueryArmYMidpoint_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:1020
LALFrameUFrHistory * XLALFrameUFrHistoryAlloc_FrameC_(const char *name, double gpssec, const char *comment)
Definition: LALFrameC.c:1043
int XLALFrameUFrChanVectorQueryCompress_FrameC_(const LALFrameUFrChan *channel)
Definition: LALFrameC.c:738
double XLALFrameUFrChanVectorQueryDx_FrameC_(const LALFrameUFrChan *channel, size_t dim)
Definition: LALFrameC.c:794
void XLALFrameUFrTOCFree_FrameC_(LALFrameUFrTOC *toc)
Definition: LALFrameC.c:287
double XLALFrameUFrChanQueryTimeOffset_FrameC_(const LALFrameUFrChan *channel)
Definition: LALFrameC.c:647
void * XLALFrameUFrChanVectorQueryData_FrameC_(const LALFrameUFrChan *channel)
Definition: LALFrameC.c:752
const char * XLALFrameUFrameHQueryName_FrameC_(const LALFrameUFrameH *frame)
Definition: LALFrameC.c:512
LALFrameUFrDetector * XLALFrameUFrDetectorAlloc_FrameC_(const char *name, const char *prefix, double latitude, double longitude, double elevation, double azimuthX, double azimuthY, double altitudeX, double altitudeY, double midpointX, double midpointY, int localTime)
Definition: LALFrameC.c:929
int XLALFrameUFrDetectorQueryLocalTime_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:1027
double XLALFrameUFrDetectorQueryArmYAltitude_FrameC_(const LALFrameUFrDetector *detector)
Definition: LALFrameC.c:1006
int XLALFrameUFrameHSetRun_FrameC_(LALFrameUFrameH *frame, int run)
Definition: LALFrameC.c:558
int XLALFrameUFrChanVectorSetDx_FrameC_(LALFrameUFrChan *channel, double dx)
Definition: LALFrameC.c:871
size_t XLALFrameUFrChanVectorQueryNData_FrameC_(const LALFrameUFrChan *channel)
Definition: LALFrameC.c:764
int XLALFrameUFrameHFrHistoryAdd_FrameC_(LALFrameUFrameH *frame, LALFrameUFrHistory *history)
Definition: LALFrameC.c:504
double XLALFrameUFrTOCQueryDt_FrameC_(const LALFrameUFrTOC *toc, size_t pos)
Definition: LALFrameC.c:325
const char * XLALFrameUFrTOCQueryProcName_FrameC_(const LALFrameUFrTOC *toc, size_t proc)
Definition: LALFrameC.c:400
LALFrameUFrDetector * XLALFrameUFrDetectorRead_FrameC_(LALFrameUFrFile *stream, const char *name)
Definition: LALFrameC.c:905
int XLALFrameUFrameHFrChanAdd_FrameC_(LALFrameUFrameH *frame, LALFrameUFrChan *channel)
Definition: LALFrameC.c:490
struct tagLALFrameUFrameH LALFrameUFrameH
Incomplete type for a frame header FrameH structure.
Definition: LALFrameU.h:64
struct tagLALFrameUFrHistory LALFrameUFrHistory
Incomplete type for a history data FrHistory structure.
Definition: LALFrameU.h:105
struct tagLALFrameUFrTOC LALFrameUFrTOC
Incomplete type for a table of contents FrTOC structure.
Definition: LALFrameU.h:78
double dt
Definition: stream.c:110
char * channel
Definition: stream.c:108