Logo coherent WaveBurst  
Library Reference Guide
Logo
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

◆ DURATION

#define DURATION   2

◆ nLAYERS

#define nLAYERS   32

◆ RATE

#define RATE   512

Function Documentation

◆ AddCore()

ss AddCore ( ifoID  ,
wc 
)

◆ cd() [1/3]

canvas cd ( )

◆ cd() [2/3]

ccluster* cout<< "ncore : " << ncore << endl; cout << "ncluster : " << ncluster << endl; cout << "ccluster : " << ccluster << endl; bool core = true; ss.Expand(core); canvas-> cd ( )

◆ cd() [3/3]

canvas cd ( )

◆ clear()

wc clear ( )

◆ Divide()

canvas Divide ( ,
 
)

◆ Draw()

gts Draw ( GWAT_TIME  )

◆ Expand()

ss Expand ( core  )

◆ for()

for ( )

Definition at line 57 of file SSeriesExample.C.

◆ Forward()

tfmap Forward ( ts  ,
wdm   
)

◆ GetWATPLOT()

gts GetWATPLOT ( ) -> canvas->cd()

◆ Inverse()

ss Inverse ( )

◆ plot() [1/2]

plot plot ( tfmap  )

◆ plot() [2/2]

plot plot ( ss  )

◆ rate()

ts rate ( Rate  )

◆ rnd()

TRandom3 rnd ( )

◆ SetGridx()

gPad SetGridx ( )

◆ SetGridy()

gPad SetGridy ( )

◆ SetHalo()

ss SetHalo ( mTau  )

◆ SetName() [1/3]

plot hist2D SetName ( "Sparse-1"  )

◆ SetName() [2/3]

plot hist2D SetName ( "Sparse-3"  )

◆ SetName() [3/3]

plot hist2D SetName ( "Sparse-4"  )

◆ SetTitle()

plot hist2D SetTitle ( title  )

◆ Shrink()

ss Shrink ( )

◆ sprintf() [1/4]

sprintf ( tfres  ,
"(1/%g)x(%g) (sec)x(Hz)"  ,
2 *  df,
df   
)

◆ sprintf() [2/4]

sprintf ( title  ,
"%s - Res : %s ,
"TF Map : Signal"  ,
tfres   
)

◆ sprintf() [3/4]

sprintf ( title  ,
"%s - Res : %s ,
"TF Map : Core Pixels"  ,
tfres   
)

◆ sprintf() [4/4]

sprintf ( title  ,
"%s - Res : %s ,
"TF Map : Core + Halo Pixels"  ,
tfres   
)

◆ UpdateSparseTable()

ss UpdateSparseTable ( )

◆ wdm()

WDM<double> wdm ( nLAYERS  ,
2 *  nLAYERS,
,
 
)

Variable Documentation

◆ amplitude

double amplitude =1.

Definition at line 28 of file SSeriesExample.C.

◆ canvas

return canvas = plot->canvas

Definition at line 15 of file SSeriesExample.C.

◆ ccluster

ccluster =0

Definition at line 127 of file SSeriesExample.C.

◆ core

core = false

Definition at line 163 of file SSeriesExample.C.

◆ df

double df = tfmap.resolution()

Definition at line 43 of file SSeriesExample.C.

◆ dt

double dt = 1./(2*df)

Definition at line 44 of file SSeriesExample.C.

◆ Duration

int Duration = DURATION

Definition at line 20 of file SSeriesExample.C.

◆ duration

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

Definition at line 30 of file SSeriesExample.C.

◆ frequency

double frequency =100.

Definition at line 29 of file SSeriesExample.C.

◆ hist2D

plot hist2D =NULL

Definition at line 156 of file SSeriesExample.C.

◆ mTau

double mTau = 0.040

Definition at line 117 of file SSeriesExample.C.

◆ N

Definition at line 21 of file SSeriesExample.C.

◆ ncluster

ncluster =0

Definition at line 126 of file SSeriesExample.C.

◆ ncore

ncore =0

Definition at line 125 of file SSeriesExample.C.

◆ plot

watplot* plot = new watplot

Definition at line 14 of file SSeriesExample.C.

◆ Q

double Q =9.

Definition at line 27 of file SSeriesExample.C.

◆ Rate

int Rate = RATE

Definition at line 19 of file SSeriesExample.C.

◆ ss

gts Draw & ss

Definition at line 115 of file SSeriesExample.C.

◆ tfmap

ss SetMap& tfmap

Definition at line 39 of file SSeriesExample.C.

◆ tfres

char tfres[64]

Definition at line 45 of file SSeriesExample.C.

◆ title

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

Definition at line 1 of file SSeriesExample.C.

◆ ts

gwavearray<double> gts& ts =0

Definition at line 24 of file SSeriesExample.C.