Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALInference 4.1.9.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
LALInferenceRemoveLines.h
Go to the documentation of this file.
1/*
2 * LALInferenceRemoveLines.h Utility functions for identifying lines
3 * in IFO data to be removed in LALInference
4 *
5 * Copyright (C) 2013 Michael Coughlin
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with with program; see the file COPYING. If not, write to the
19 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20 * MA 02110-1301 USA
21*/
22
23#ifndef LALInferenceRemoveLines_h
24#define LALInferenceRemoveLines_h
25
26/**
27 * \defgroup LALInferenceRemoveLines_h Header LALInferenceRemoveLines.h
28 * \ingroup lalinference_general
29 * \brief Utility functions for identifying lines
30 * in IFO data to be removed in LALInference
31 */
32/** @{ */
33
34/**
35 * \brief Determine correlated frequency bands using cross correlation.
36 * This function reads command line arguments and returns a REAL8 array.
37 * \author Michael Coughlin
38 */
39
41 REAL8FrequencySeries *spectrum,
42 const REAL8TimeSeries *tseries,
44 UINT4 stride,
45 const REAL8Window *window,
46 const REAL8FFTPlan *plan,
48 char* filename
49 );
50
51/**
52 * \brief Determine non-Gaussian frequency bins using a chi-squared test.
53 * This function reads command line arguments and returns a REAL8 array.
54 * \author Michael Coughlin
55 */
56
58 REAL8FrequencySeries *spectrum,
59 const REAL8TimeSeries *tseries,
61 UINT4 stride,
62 const REAL8Window *window,
63 const REAL8FFTPlan *plan,
65 );
66
67/**
68 * \brief Determine non-Gaussian frequency bins using a K-S test.
69 * This function reads command line arguments and returns a REAL8 array.
70 * \author Michael Coughlin
71 */
72
74 REAL8FrequencySeries *spectrum,
75 const REAL8TimeSeries *tseries,
77 UINT4 stride,
78 const REAL8Window *window,
79 const REAL8FFTPlan *plan,
81 );
82
83/**
84 * \brief Calculate PSD by fitting bins to lines.
85 * This function reads command line arguments and returns a modified
86 * REAL8FrequencySeries.
87 * \author Michael Coughlin
88 */
89
91 REAL8FrequencySeries *spectrum,
92 const REAL8TimeSeries *tseries,
94 UINT4 stride,
95 const REAL8Window *window,
96 const REAL8FFTPlan *plan,
97 char* filename,
98 LIGOTimeGPS GPStime
99 );
100
101/**
102 * \brief Determine large amplitude frequency bins using power law fit.
103 * This function reads command line arguments and returns a REAL8 array.
104 * \author Michael Coughlin
105 */
106
108 REAL8FrequencySeries *spectrum,
109 const REAL8TimeSeries *tseries,
111 UINT4 stride,
112 const REAL8Window *window,
113 const REAL8FFTPlan *plan,
115 );
116
117/** @} */
118
119#endif
double REAL8
uint32_t UINT4
int LALInferenceRemoveLinesChiSquared(REAL8FrequencySeries *spectrum, const REAL8TimeSeries *tseries, UINT4 seglen, UINT4 stride, const REAL8Window *window, const REAL8FFTPlan *plan, REAL8 *pvalues)
Determine non-Gaussian frequency bins using a chi-squared test.
int LALInferenceXCorrBands(REAL8FrequencySeries *spectrum, const REAL8TimeSeries *tseries, UINT4 seglen, UINT4 stride, const REAL8Window *window, const REAL8FFTPlan *plan, REAL8 *pvalues, char *filename)
Determine correlated frequency bands using cross correlation.
int LALInferenceRemoveLinesPowerLaw(REAL8FrequencySeries *spectrum, const REAL8TimeSeries *tseries, UINT4 seglen, UINT4 stride, const REAL8Window *window, const REAL8FFTPlan *plan, REAL8 *pvalues)
Determine large amplitude frequency bins using power law fit.
int LALInferenceAverageSpectrumBinFit(REAL8FrequencySeries *spectrum, const REAL8TimeSeries *tseries, UINT4 seglen, UINT4 stride, const REAL8Window *window, const REAL8FFTPlan *plan, char *filename, LIGOTimeGPS GPStime)
Calculate PSD by fitting bins to lines.
int LALInferenceRemoveLinesKS(REAL8FrequencySeries *spectrum, const REAL8TimeSeries *tseries, UINT4 seglen, UINT4 stride, const REAL8Window *window, const REAL8FFTPlan *plan, REAL8 *pvalues)
Determine non-Gaussian frequency bins using a K-S test.