Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
SSeriesExample.C File Reference

Macros

#define DURATION   2
 
#define nLAYERS   32
 
#define RATE   512
 

Functions

ss AddCore (ifoID,&wc)
 
canvas cd (1)
 
ccluster *cout<< "ncore : "
<< ncore<< endl;cout
<< "ncluster : "<< ncluster
<< endl;cout<< "ccluster : "
<< ccluster<< endl;bool core=true;ss.Expand(core);canvas-> 
cd (3)
 
canvas cd (4)
 
wc clear ()
 
canvas Divide (2, 2)
 
gts Draw (GWAT_TIME)
 
ss Expand (core)
 
 for ()
 
tfmap Forward (ts, wdm)
 
gts GetWATPLOT () -> canvas->cd()
 
ss Inverse ()
 
plot plot (tfmap)
 
plot plot (ss)
 
ts rate (Rate)
 
TRandom3 rnd (1)
 
gPad SetGridx ()
 
gPad SetGridy ()
 
ss SetHalo (mTau)
 
plot hist2D SetName ("Sparse-1")
 
plot hist2D SetName ("Sparse-3")
 
plot hist2D SetName ("Sparse-4")
 
plot hist2D SetTitle (title)
 
ss Shrink ()
 
 sprintf (tfres,"(1/%g)x(%g) (sec)x(Hz)", 2 *df, df)
 
 sprintf (title,"%s - Res : %s","TF Map : Signal", tfres)
 
 sprintf (title,"%s - Res : %s","TF Map : Core Pixels", tfres)
 
 sprintf (title,"%s - Res : %s","TF Map : Core + Halo Pixels", tfres)
 
ss UpdateSparseTable ()
 
WDM< double > wdm (nLAYERS, 2 *nLAYERS, 4, 8)
 

Variables

double amplitude =1.
 
TCanvas * canvas = plot->canvas
 
int ccluster =0
 
 core = false
 
double df = tfmap.resolution()
 
double dt = 1./(2*df)
 
int Duration = DURATION
 
double duration = Q/(TMath::TwoPi()*frequency)
 
double frequency =100.
 
plot hist2D =NULL
 
double mTau = 0.040
 
int N = Rate*Duration
 
int ncluster =0
 
int ncore =0
 
watplotplot = new watplot
 
double Q =9.
 
int Rate = RATE
 
cout<< "Selected Pixels : "
<< nPix<< endl;wc.cluster(1,
1);SSeries< double > 
ss
 
WSeries< double > tfmap
 
char tfres [64]
 
char title [256]
 
wavearray< double > ts (N) =0
 

Macro Definition Documentation

#define DURATION   2
#define nLAYERS   32
#define RATE   512

Function Documentation

ss AddCore ( ifoID  ,
wc 
)
canvas cd ( )
ccluster* cout<< "ncore : " << ncore << endl; cout << "ncluster : " << ncluster << endl; cout << "ccluster : " << ccluster << endl; bool core = true; ss.Expand(core); canvas-> cd ( )
canvas cd ( )
wc clear ( )
canvas Divide ( ,
 
)
gts Draw ( GWAT_TIME  )
ss Expand ( core  )
for ( )

Definition at line 57 of file SSeriesExample.C.

tfmap Forward ( ts  ,
wdm   
)
gts GetWATPLOT ( ) -> canvas->cd()
ss Inverse ( )
plot plot ( tfmap  )
plot plot ( ss  )
ts rate ( Rate  )
TRandom3 rnd ( )
gPad SetGridx ( )
gPad SetGridy ( )
ss SetHalo ( mTau  )
plot hist2D SetName ( "Sparse-1"  )
plot hist2D SetName ( "Sparse-3"  )
plot hist2D SetName ( "Sparse-4"  )
plot hist2D SetTitle ( title  )
ss Shrink ( )
sprintf ( tfres  ,
"(1/%g)x(%g) (sec)x(Hz)"  ,
2 *  df,
df   
)
sprintf ( title  ,
"%s - Res : %s ,
"TF Map : Signal"  ,
tfres   
)
sprintf ( title  ,
"%s - Res : %s ,
"TF Map : Core Pixels"  ,
tfres   
)
sprintf ( title  ,
"%s - Res : %s ,
"TF Map : Core + Halo Pixels"  ,
tfres   
)
ss UpdateSparseTable ( )
WDM<double> wdm ( nLAYERS  ,
2 *  nLAYERS,
,
 
)

Variable Documentation

double amplitude =1.

Definition at line 28 of file SSeriesExample.C.

return canvas = plot->canvas

Definition at line 15 of file SSeriesExample.C.

ccluster =0

Definition at line 127 of file SSeriesExample.C.

core = false

Definition at line 163 of file SSeriesExample.C.

double df = tfmap.resolution()

Definition at line 43 of file SSeriesExample.C.

double dt = 1./(2*df)

Definition at line 44 of file SSeriesExample.C.

int Duration = DURATION

Definition at line 20 of file SSeriesExample.C.

double duration = Q/(TMath::TwoPi()*frequency)

Definition at line 30 of file SSeriesExample.C.

double frequency =100.

Definition at line 29 of file SSeriesExample.C.

plot hist2D =NULL

Definition at line 156 of file SSeriesExample.C.

double mTau = 0.040

Definition at line 117 of file SSeriesExample.C.

Definition at line 21 of file SSeriesExample.C.

ncluster =0

Definition at line 126 of file SSeriesExample.C.

ncore =0

Definition at line 125 of file SSeriesExample.C.

watplot* plot = new watplot

Definition at line 14 of file SSeriesExample.C.

double Q =9.

Definition at line 27 of file SSeriesExample.C.

int Rate = RATE

Definition at line 19 of file SSeriesExample.C.

gts Draw & ss

Definition at line 115 of file SSeriesExample.C.

ss SetMap& tfmap

Definition at line 39 of file SSeriesExample.C.

char tfres[64]

Definition at line 45 of file SSeriesExample.C.

char title[256]
Initial value:
{
#define nLAYERS
#define RATE
#define DURATION
int nifo=1
int nifo

Definition at line 1 of file SSeriesExample.C.

gwavearray<double> gts& ts =0

Definition at line 24 of file SSeriesExample.C.