Logo coherent WaveBurst  
Library Reference Guide
Logo
reviewMonster.C
Go to the documentation of this file.
1 { gSystem->CompileMacro("revMonster.cc");
2 
3  // create the time series and the corresponding TF Maps for 7 resolutions
4 
5  init();
6 
7  // here we subtract the signal in TFMap_1 from the signal in TFMap_2
8  // using the overlap coefficients in the catalog accessed via the 'monster' class.
9  // this code assumes tfmap1 > tfmap2 but in general there is no such restriction
10  // for testing purposes, this is fine
11 
12  int tfmap1 = 2;
13  int tfmap2 = 1;
14 
15  testMonster(tfmap1, tfmap2);
16 
17  // plot TFMap_1 , TFMap_2, and the result of the subtraction:
18 
19  watplot p1(const_cast<char*>("TFMap1"));
20  p1.plot(pTF[tfmap1], 4, 0, 10);
21 
22  watplot p2(const_cast<char*>("TFMap2"));
23  p2.plot(pTF[tfmap2], 4, 0, 10);
24 
25  watplot pdiff(const_cast<char*>("subTFMap2"));
26  pdiff.plot(subTF, 4, 0, 10);
27 
28 
29 }
void plot(wavearray< double > &, char *=NULL, int=1, double=0., double=0., bool=false, float=0., float=0., bool=false, float=0., bool=false)
Definition: watplot.cc:150
watplot p2(const_cast< char *>("TFMap2"))
testMonster(tfmap1, tfmap2)
watplot p1(const_cast< char *>("TFMap1"))
WSeries< double > pTF[nRES]
Definition: revMonster.cc:8
int tfmap2
Definition: reviewMonster.C:13
WSeries< double > subTF
Definition: revMonster.cc:9
int tfmap1
Definition: reviewMonster.C:12
watplot pdiff(const_cast< char *>("subTFMap2"))
init()
Definition: revMonster.cc:12