Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALPulsar 7.1.1.1-b246709
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ComputeFstatMCUpperLimit.c File Reference

Computes an upper limit using Monte Carlo integration of the analytic F statistic signal model. More...

Prototypes

BOOLEAN calc_AM_coeffs (gsl_rng *, REAL8, REAL8, REAL8, REAL8, MultiDetectorStateSeries *, MultiNoiseWeights *, REAL8 *, REAL8 *, REAL8 *)
 
REAL8 pdf_ncx2_4 (REAL8, REAL8)
 
REAL8 d_pdf_ncx2_4 (REAL8, REAL8)
 
REAL8 ran_ncx2_4 (const gsl_rng *, REAL8)
 
gsl_vector_int * resize_histogram (gsl_vector_int *old_hist, size_t size)
 
int main (int argc, char *argv[])
 

Detailed Description

Computes an upper limit using Monte Carlo integration of the analytic F statistic signal model.

Author
Karl Wette

Definition in file ComputeFstatMCUpperLimit.c.

Go to the source code of this file.

Macros

#define TRUE   (1==1)
 
#define FALSE   (1==0)
 
#define H0_ERROR   fabs(1.0 - (h0 / h0_prev))
 

Variables

const REAL8 min_cosi = -1
 
const REAL8 max_cosi = 1
 
const REAL8 min_psi = -LAL_PI_4
 
const REAL8 max_psi = LAL_PI_4
 

Macro Definition Documentation

◆ TRUE

#define TRUE   (1==1)

Definition at line 60 of file ComputeFstatMCUpperLimit.c.

◆ FALSE

#define FALSE   (1==0)

Definition at line 61 of file ComputeFstatMCUpperLimit.c.

◆ H0_ERROR

#define H0_ERROR   fabs(1.0 - (h0 / h0_prev))

Function Documentation

◆ calc_AM_coeffs()

BOOLEAN calc_AM_coeffs ( gsl_rng *  rng,
REAL8  alpha,
REAL8  alpha_band,
REAL8  delta,
REAL8  delta_band,
MultiDetectorStateSeries detector_states,
MultiNoiseWeights noise_weights,
REAL8 A_coeff,
REAL8 B_coeff,
REAL8 C_coeff 
)

Definition at line 602 of file ComputeFstatMCUpperLimit.c.

◆ pdf_ncx2_4()

REAL8 pdf_ncx2_4 ( REAL8  lambda,
REAL8  x 
)

Definition at line 644 of file ComputeFstatMCUpperLimit.c.

◆ d_pdf_ncx2_4()

REAL8 d_pdf_ncx2_4 ( REAL8  lambda,
REAL8  x 
)

Definition at line 667 of file ComputeFstatMCUpperLimit.c.

◆ ran_ncx2_4()

REAL8 ran_ncx2_4 ( const gsl_rng *  rng,
REAL8  lambda 
)

Definition at line 692 of file ComputeFstatMCUpperLimit.c.

◆ resize_histogram()

gsl_vector_int * resize_histogram ( gsl_vector_int *  old_hist,
size_t  size 
)

Definition at line 709 of file ComputeFstatMCUpperLimit.c.

◆ main()

int main ( int  argc,
char argv[] 
)
Deprecated:
FIXME: the following code uses obsolete CVS ID tags. It should be modified to use git version information.
Deprecated:
FIXME: the following code uses obsolete CVS ID tags. It should be modified to use git version information.

Definition at line 68 of file ComputeFstatMCUpperLimit.c.

Variable Documentation

◆ min_cosi

const REAL8 min_cosi = -1

Definition at line 63 of file ComputeFstatMCUpperLimit.c.

◆ max_cosi

const REAL8 max_cosi = 1

Definition at line 64 of file ComputeFstatMCUpperLimit.c.

◆ min_psi

const REAL8 min_psi = -LAL_PI_4

Definition at line 65 of file ComputeFstatMCUpperLimit.c.

◆ max_psi

const REAL8 max_psi = LAL_PI_4

Definition at line 66 of file ComputeFstatMCUpperLimit.c.