LALApps 10.1.0.1-eeff03c
FindChirpSP.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2007 Darren Woods, Duncan Brown, Eirini Messaritaki, Gareth Jones, 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/*-----------------------------------------------------------------------
21 *
22 * File Name: FindChirpSP.h
23 *
24 * Author: Brown, D. A.
25 *
26 *-----------------------------------------------------------------------
27 */
28
29#ifndef _FINDCHIRPSPH_H
30#define _FINDCHIRPSPH_H
31
32#include <lal/LALDatatypes.h>
33#include <lal/RealFFT.h>
34#include <lal/LALInspiral.h>
35#include <lal/FindChirp.h>
36
37#if defined(__cplusplus)
38extern "C" {
39#elif 0
40} /* so that editors will match preceding brace */
41#endif
42
43/**
44 * \defgroup FindChirpSP_h Header FindChirpSP.h
45 * \ingroup lalinspiral_findchirp
46 * \author Brown, D. A.
47 *
48 * \brief Provides structures and functions to condition interferometer data
49 * and generate binary inspiral chirps using the stationary phase approximation.
50 *
51 * ### Synopsis ###
52 *
53 * \code
54 * #include <lal/FindChirpSP.h>
55 * \endcode
56 *
57 */
58/** @{ */
59
60/**\name Error Codes */
61/** @{ */
62#define FINDCHIRPSPH_ENULL 1 /**< Null pointer */
63#define FINDCHIRPSPH_ENNUL 2 /**< Non-null pointer */
64#define FINDCHIRPSPH_EALOC 3 /**< Memory allocation error */
65#define FINDCHIRPSPH_ENUMZ 4 /**< Invalid number of segments */
66#define FINDCHIRPSPH_ESEGZ 5 /**< Invalid number of points in segments */
67#define FINDCHIRPSPH_EMISM 6 /**< Mismatch between number of points in segments */
68#define FINDCHIRPSPH_EDELT 7 /**< deltaT is zero or negative */
69#define FINDCHIRPSPH_EFLOW 8 /**< Low frequency cutoff is negative */
70#define FINDCHIRPSPH_EDYNR 9 /**< Dynamic range scaling is zero or negative */
71#define FINDCHIRPSPH_EISTN 10 /**< Truncation of inverse power spectrum is negative */
72#define FINDCHIRPSPH_EDIVZ 11 /**< Attempting to divide by zero */
73#define FINDCHIRPSPH_EMAPX 12 /**< Mismatch in waveform approximant */
74#define FINDCHIRPSPH_EUAPX 13 /**< Unknown approximant */
75#define FINDCHIRPSPH_EORDR 14 /**< Invalid post-Newtonian order */
76/** @} */
77
78/** \cond DONT_DOXYGEN */
79#define FINDCHIRPSPH_MSGENULL "Null pointer"
80#define FINDCHIRPSPH_MSGENNUL "Non-null pointer"
81#define FINDCHIRPSPH_MSGEALOC "Memory allocation error"
82#define FINDCHIRPSPH_MSGENUMZ "Invalid number of segments"
83#define FINDCHIRPSPH_MSGESEGZ "Invalid number of points in segments"
84#define FINDCHIRPSPH_MSGEMISM "Mismatch between number of points in segments"
85#define FINDCHIRPSPH_MSGEDELT "deltaT is zero or negative"
86#define FINDCHIRPSPH_MSGEFLOW "Low frequency cutoff is negative"
87#define FINDCHIRPSPH_MSGEDYNR "Dynamic range scaling is zero or negative"
88#define FINDCHIRPSPH_MSGEISTN "Truncation of inverse power spectrum is negative"
89#define FINDCHIRPSPH_MSGEDIVZ "Attempting to divide by zero"
90#define FINDCHIRPSPH_MSGEMAPX "Mismatch in waveform approximant"
91#define FINDCHIRPSPH_MSGEUAPX "Unknown approximant"
92#define FINDCHIRPSPH_MSGEORDR "Invalid post-Newtonian order"
93/** \endcond */
94
95void
98 FindChirpTemplate *fcTmplt,
99 InspiralTemplate *tmplt,
101 );
102
103/** @} */
104
105#if 0
106{ /* so that editors will match succeeding brace */
107#elif defined(__cplusplus)
108}
109#endif
110
111#endif /* _FINDCHIRPSPH_H */
void LALFindChirpSPTemplate(LALStatus *status, FindChirpTemplate *fcTmplt, InspiralTemplate *tmplt, FindChirpTmpltParams *params)
static LALStatus status
Definition: inspinj.c:552
This structure contains a frequency domain template used as input to the FindChirpFilter() routine.
This structure contains the parameters for generation of templates by the various template generation...