Logo coherent WaveBurst  
Library Reference Guide
Logo
Macros | Functions | Variables
ComputeSNR.C File Reference
#include <vector>
Include dependency graph for ComputeSNR.C:

Macros

#define ADV_LIGO_PSD   "$HOME_WAT/tools/cwb/plugins/strains/advLIGO_NSNS_Opt_8khz_one_side.txt"
 
#define AMP_FACTOR   1e-21
 
#define DELTA_FREQ   0.125
 
#define FHIGH   2048
 
#define FLOW   32
 
#define RD_MDC
 

Functions

 for ()
 pointers to detectors More...
 

Variables

double dt =1./x.rate()
 
x *double Et =0
 
cout<< "SNR "<< xsnr<< endl;wavearray< double > f =psd
 
CWB::mdc MDC
 
CWB::Toolbox TB
 
wavearray< double > x = MDC.GetRD(1000., 0.2, 10.)
 
xsnr * xsnr =sqrt(xsnr)
 

Macro Definition Documentation

◆ ADV_LIGO_PSD

#define ADV_LIGO_PSD   "$HOME_WAT/tools/cwb/plugins/strains/advLIGO_NSNS_Opt_8khz_one_side.txt"

◆ AMP_FACTOR

#define AMP_FACTOR   1e-21

◆ DELTA_FREQ

#define DELTA_FREQ   0.125

◆ FHIGH

#define FHIGH   2048

◆ FLOW

#define FLOW   32

◆ RD_MDC

#define RD_MDC

Function Documentation

◆ for()

for ( )

pointers to detectors

Definition at line 42 of file ComputeSNR.C.

Variable Documentation

◆ dt

double dt =1./x.rate()

Definition at line 41 of file ComputeSNR.C.

◆ Et

x* double Et =0

Definition at line 40 of file ComputeSNR.C.

◆ f

cout<< "SNR " << xsnr << endl; wavearray<double> f =psd

Definition at line 75 of file ComputeSNR.C.

◆ MDC

CWB::mdc MDC

Definition at line 23 of file ComputeSNR.C.

◆ TB

Initial value:
{
#define ADV_LIGO_PSD
#define DELTA_FREQ
#define RD_MDC
#define AMP_FACTOR
#define FLOW
#define FHIGH
TString psdName = gSystem->ExpandPathName(ADV_LIGO_PSD)
TString("c")
#define ADV_LIGO_PSD

Definition at line 5 of file ComputeSNR.C.

◆ x

wavearray<double> x = MDC.GetRD(1000., 0.2, 10.)

Definition at line 29 of file ComputeSNR.C.

◆ xsnr

xsnr* xsnr =sqrt(xsnr)

Definition at line 71 of file ComputeSNR.C.