LALInspiral 5.0.3.1-eeff03c
LALNoiseModelsInspiral.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2007 Stas Babak, David Churches, Duncan Brown, Jolien Creighton, B.S. Sathyaprakash, Anand Sengupta, Thomas Cokelaer
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 _LALNOISEMODELSINSPIRAL_H
21#define _LALNOISEMODELSINSPIRAL_H
22
23#include <lal/LALDatatypes.h>
24#include <lal/LALInspiral.h>
25#include <lal/RealFFT.h>
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31typedef struct
32tagInspiralWaveCorrelateIn
33{
41}
43
44typedef struct
45tagInspiralWaveOverlapIn
46{
54 UINT2 ifExtOutput; /* A flag which takes values 0 or 1 to denote
55 if an extended output consisting of filter
56 and xcorr vectors need to be filled out in
57 the call to LALInspiralWaveOverlap ( )
58 */
59 UINT2 ifCorrelationOutput;/* a flag to fill the xcorr1 and xcorr2 outputs*/
60}
62
63typedef struct
64tagInspiralWaveOverlapOut
65{
66 REAL8 max, phase, alpha;
67 INT4 bin; /* bin at which max occurs */
68 REAL4Vector *filter1, *filter2; /* zero and pi/2 phase templates */
69 REAL4Vector *xcorr1, *xcorr2; /* cross correlation against filter 1/2 */
70}
72
73typedef struct
74tagInspiralWaveNormaliseIn
75{
80}
82
83
84/* Function prototypes */
85
86void
88(
90 REAL4Vector *output,
92 );
93
94void
96(
98 REAL4Vector *dh,
99 REAL8 *norm,
100 REAL8Vector psd
101 );
102
103void
105(
107 REAL4Vector *filter,
108 REAL8 *norm,
110 );
111
112void
114(
116 REAL4Vector *output,
117 InspiralWaveOverlapOut *overlapout,
118 InspiralWaveOverlapIn *overlapin
119 );
120
121#ifdef __cplusplus
122}
123#endif
124
125#endif /* _LALNOISEMODELSINSPIRAL_H */
void LALInspiralWaveOverlap(LALStatus *status, REAL4Vector *output, InspiralWaveOverlapOut *overlapout, InspiralWaveOverlapIn *overlapin)
void LALInspiralWaveNormalise(LALStatus *status, REAL4Vector *dh, REAL8 *norm, REAL8Vector psd)
void LALInspiralWaveNormaliseLSO(LALStatus *status, REAL4Vector *filter, REAL8 *norm, InspiralWaveNormaliseIn *in)
void LALInspiralWaveCorrelate(LALStatus *status, REAL4Vector *output, InspiralWaveCorrelateIn in)
double REAL8
uint16_t UINT2
int32_t INT4
#define RealFFTPlan
The inspiral waveform parameter structure containing information about the waveform to be generated.
Definition: LALInspiral.h:205