LALApps 10.1.0.1-eeff03c
getresp.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2007 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 GETRESP_H
21#define GETRESP_H
22
23/*
24 *
25 * Routines to construct a response function from information contained in
26 * a cache file of calibration frames.
27 *
28 */
29
30#include <lal/LALDatatypes.h>
31#include <lal/LALCache.h>
32
33
34/* routine read a response function or construct an impulse response function */
36 const char *cacheName,
37 const char *ifoName,
38 LIGOTimeGPS *epoch,
39 REAL8 dataDuration,
40 REAL8 dataSampleRate,
41 REAL4 responseScale,
42 int strainData,
43 const char *channel_name
44 );
45
46
47/* routine to construct an impulse (uniform in frequency) response function */
49 const char *ifoName,
50 LIGOTimeGPS *epoch,
51 REAL8 dataDuration,
52 REAL8 dataSampleRate,
53 REAL4 responseScale
54 );
55
56
57/* routine to construct a response function from calibration frame files */
59 const char *cacheName,
60 const char *ifoName,
61 LIGOTimeGPS *epoch,
62 REAL8 dataDuration,
63 REAL8 dataSampleRate,
64 REAL4 responseScale,
65 const char *channel_name
66 );
67
68
69/* routine to read the reference response function from a frame file cache */
71 const char *ifoName );
72
73
74/* routine to read the reference sensing function from a frame file cache */
76 const char *ifoName );
77
78
79/* routine to read one cavity gain factor from a frame file cache */
81 LIGOTimeGPS *epoch, const char *ifoName );
82
83
84/* routine to read one open loop gain factor from a frame file cache */
86 LIGOTimeGPS *epoch, const char *ifoName );
87
88#endif /* GETRESP_H */
COMPLEX8FrequencySeries * get_response(const char *cacheName, const char *ifoName, LIGOTimeGPS *epoch, REAL8 dataDuration, REAL8 dataSampleRate, REAL4 responseScale, int strainData, const char *channel_name)
Definition: getresp.c:45
COMPLEX8TimeSeries * get_open_loop_gain_factor(LALCache *calCache, LIGOTimeGPS *epoch, const char *ifoName)
Definition: getresp.c:303
COMPLEX8FrequencySeries * get_frame_response(const char *cacheName, const char *ifoName, LIGOTimeGPS *epoch, REAL8 dataDuration, REAL8 dataSampleRate, REAL4 responseScale, const char *channel_name)
Definition: getresp.c:107
COMPLEX8FrequencySeries * get_impulse_response(const char *ifoName, LIGOTimeGPS *epoch, REAL8 dataDuration, REAL8 dataSampleRate, REAL4 responseScale)
Definition: getresp.c:70
COMPLEX8TimeSeries * get_cavity_gain_factor(LALCache *calCache, LIGOTimeGPS *epoch, const char *ifoName)
Definition: getresp.c:269
COMPLEX8FrequencySeries * get_reference_response_function(LALCache *calCache, const char *ifoName)
Definition: getresp.c:203
COMPLEX8FrequencySeries * get_reference_sensing_function(LALCache *calCache, const char *ifoName)
Definition: getresp.c:236
double REAL8
float REAL4