Logo coherent WaveBurst  
Library Reference Guide
Logo
Macros | Functions | Variables
TestFrame6.C File Reference

Macros

#define N_IFO   1
 

Functions

ww FFTW (1)
 
ww FFTW (-1)
 
ww rate (srate)
 
ww resize (srate)
 

Variables

TString ifo [N_IFO] ={"L1"}
 
CWB::mdc MDC (N_IFO, ifo)
 
cout<< endl;cout<< "ww srate "<< ww.rate()<< endl;cout<< "ww start "<< ww.start()<< endl;cout<< "ww stop "<< ww.stop()<< endl;cout<< "ww size "<< ww.size()<< endl;cout<< endl;fr.resample(ww, 11);cout<< endl;cout<< "resampled ww srate "<< ww.rate()<< endl;cout<< "resampled ww start "<< ww.start()<< endl;cout<< "resampled ww stop "<< ww.stop()<< endl;cout<< "resampled ww size "<< ww.size()<< endl;cout<< endl;watplot plot(const_cast< char * >"plot"), 200, 20, 800, 500);char gtitle[256];sprintf(gtitle,"Original PSD (Black) Reasampled PSD (Red)");plot.gtitle(gtitle,"frequency (Hz)","strain/#sqrt{Hz}");plot.goptions(const_cast< char * >"alp logy"), 1, 0, 0, true, 0, w.rate()/2., true, 32);wplot
 
wavearray< double > w = MDC.GetWNB(500., 4000., 0.01)
 
cout<< endl;cout<< "w srate "<< w.rate()<< endl;cout<< "w start "<< w.start()<< endl;cout<< "w stop "<< w.stop()<< endl;cout<< "w size "<< w.size()<< endl;cout<< endl;double srate=2 *4300;wavearray< double > ww = w
 

Macro Definition Documentation

◆ N_IFO

#define N_IFO   1

Function Documentation

◆ FFTW() [1/2]

ww FFTW ( )

◆ FFTW() [2/2]

ww FFTW ( 1)

◆ rate()

ww rate ( srate  )

◆ resize()

ww resize ( srate  )

Variable Documentation

◆ ifo

TString ifo[N_IFO] ={"L1"}

Definition at line 10 of file TestFrame6.C.

◆ MDC

◆ plot

ww plot

Definition at line 54 of file TestFrame6.C.

◆ w

wavearray<double> w = MDC.GetWNB(500., 4000., 0.01)

Definition at line 15 of file TestFrame6.C.

◆ ww

cout<< endl; cout << "w srate " << w.rate() << endl; cout << "w start " << w.start() << endl; cout << "w stop " << w.stop() << endl; cout << "w size " << w.size() << endl; cout << endl; double srate = 2*4300; wavearray<double> ww = w

Definition at line 25 of file TestFrame6.C.