Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALPulsar 7.1.1.1-8a6b96f
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
upperlimits.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2010, 2011 Evan Goetz
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 __UPPERLIMITS_H__
21#define __UPPERLIMITS_H__
22
23#include "TwoSpectTypes.h"
24
29};
30
36
37
38INT4 skypoint95UL( UpperLimit *ul, const UserInput_t *params, const ffdataStruct *ffdata, const ihsMaximaStruct *ihsmaxima, const ihsfarStruct *ihsfar, const REAL4VectorAligned *fbinavgs );
39REAL8 gsl_ncx2cdf_solver( const REAL8 x, void *p );
40REAL8 gsl_ncx2cdf_float_solver( const REAL8 x, void *p );
45
46INT4 outputUpperLimitToFile( const CHAR *outputfile, const UpperLimit ul, const BOOLEAN printAllULvalues );
47
48#endif
unsigned char BOOLEAN
double REAL8
char CHAR
uint32_t UINT4
int32_t INT4
void destroyUpperLimitStruct(UpperLimit *ul)
Free an UpperLimit structure.
Definition: upperlimits.c:125
REAL8 gsl_ncx2cdf_withouttinyprob_solver(const REAL8 x, void *p)
Definition: upperlimits.c:310
REAL8 gsl_ncx2cdf_solver(const REAL8 x, void *p)
Definition: upperlimits.c:286
void destroyUpperLimitVector(UpperLimitVector *vector)
Free an UpperLimitVector.
Definition: upperlimits.c:87
INT4 skypoint95UL(UpperLimit *ul, const UserInput_t *params, const ffdataStruct *ffdata, const ihsMaximaStruct *ihsmaxima, const ihsfarStruct *ihsfar, const REAL4VectorAligned *fbinavgs)
Determine the 95% confidence level upper limit at a particular sky location from the loudest IHS valu...
Definition: upperlimits.c:155
UpperLimitVector * resizeUpperLimitVector(UpperLimitVector *vector, const UINT4 length)
Resize an UpperLimitVector.
Definition: upperlimits.c:59
REAL8 ncx2cdf_withouttinyprob_withmatlabchi2cdf_solver(const REAL8 x, void *p)
Definition: upperlimits.c:334
UpperLimitVector * createUpperLimitVector(const UINT4 length)
Allocate a new UpperLimitVector.
Definition: upperlimits.c:32
REAL8 gsl_ncx2cdf_float_solver(const REAL8 x, void *p)
Definition: upperlimits.c:298
REAL8 gsl_ncx2cdf_float_withouttinyprob_solver(const REAL8 x, void *p)
Definition: upperlimits.c:322
void resetUpperLimitStruct(UpperLimit *ul)
Reset an UpperLimitStruct.
Definition: upperlimits.c:111
INT4 outputUpperLimitToFile(const CHAR *outputfile, const UpperLimit ul, const BOOLEAN printAllULvalues)
Output the highest upper limit to a file unless printAllULvalues==1 in which case,...
Definition: upperlimits.c:364
REAL8 ncx2cdf_float_withouttinyprob_withmatlabchi2cdf_solver(const REAL8 x, void *p)
Definition: upperlimits.c:346