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

Macros

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

Functions

canvas cd (1)
 
canvas cd (2)
 
canvas Divide (1, 2)
 
 for (int i=0;i< slices;i++)
 
tfmap Forward (ts, wdm)
 
plot plot (tfmap)
 
ts rate (Rate)
 
gPad SetGridx ()
 
gPad SetGridy ()
 
plot hist2D SetName ("WSeries-1")
 
plot hist2D SetName ("WSeries-2")
 
plot hist2D SetTitle (title)
 
 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 - pixels above the threshold (sqrt((A00*A00+A90*A90)/2)>%g","TF Map : Signal", tfres, THRESHOLD)
 
WDM< double > wdm (nLAYERS, 2 *nLAYERS, 4, 8)
 

Variables

double amplitude =1.
 
TCanvas * canvas = plot->canvas
 
double df = tfmap.resolution()
 
double dt = 1./(2*df)
 
int Duration = DURATION
 
double duration = Q/(TMath::TwoPi()*frequency)
 
double frequency =100.
 
plot hist2D =NULL
 
int layers = tfmap.maxLayer()+1
 
int N = Rate*Duration
 
watplotplot = new watplot
 
double Q =9.
 
int Rate = RATE
 
int slices = tfmap.sizeZero()
 
WSeries< double > tfmap
 
char tfres [64]
 
double THRESHOLD = 2
 
wavearray< double > ts (N) =0
 

Macro Definition Documentation

◆ DURATION

#define DURATION   2

◆ nLAYERS

#define nLAYERS   32

◆ RATE

#define RATE   512

Function Documentation

◆ cd() [1/2]

canvas cd ( )

◆ cd() [2/2]

canvas cd ( )

◆ Divide()

canvas Divide ( ,
 
)

◆ for()

for ( )

Definition at line 53 of file HowToAccessToWSeries.C.

◆ Forward()

tfmap Forward ( ts  ,
wdm   
)

◆ plot()

plot plot ( tfmap  )

◆ rate()

ts rate ( Rate  )

◆ SetGridx()

c2 SetGridx ( )

◆ SetGridy()

c2 SetGridy ( )

◆ SetName() [1/2]

plot hist2D SetName ( "WSeries-1"  )

◆ SetName() [2/2]

plot hist2D SetName ( "WSeries-2"  )

◆ SetTitle()

plot hist2D SetTitle ( title  )

◆ sprintf() [1/3]

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

◆ sprintf() [2/3]

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

◆ sprintf() [3/3]

sprintf ( title  )

◆ wdm()

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

Variable Documentation

◆ amplitude

double amplitude =1.

Definition at line 25 of file HowToAccessToWSeries.C.

◆ canvas

return canvas = plot->canvas

Definition at line 12 of file HowToAccessToWSeries.C.

◆ df

double df = tfmap.resolution()

Definition at line 36 of file HowToAccessToWSeries.C.

◆ dt

double dt = 1./(2*df)

Definition at line 37 of file HowToAccessToWSeries.C.

◆ Duration

int Duration = DURATION

Definition at line 17 of file HowToAccessToWSeries.C.

◆ duration

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

Definition at line 27 of file HowToAccessToWSeries.C.

◆ frequency

double frequency =100.

Definition at line 26 of file HowToAccessToWSeries.C.

◆ hist2D

plot hist2D =NULL

Definition at line 72 of file HowToAccessToWSeries.C.

◆ layers

int layers = tfmap.maxLayer()+1

Definition at line 48 of file HowToAccessToWSeries.C.

◆ N

Definition at line 18 of file HowToAccessToWSeries.C.

◆ plot

watplot* plot = new watplot

Definition at line 11 of file HowToAccessToWSeries.C.

◆ Q

double Q =9.

Definition at line 24 of file HowToAccessToWSeries.C.

◆ Rate

int Rate = RATE

Definition at line 16 of file HowToAccessToWSeries.C.

◆ slices

int slices = tfmap.sizeZero()

Definition at line 49 of file HowToAccessToWSeries.C.

◆ tfmap

WSeries<double> tfmap

Definition at line 32 of file HowToAccessToWSeries.C.

◆ tfres

char tfres[64]

Definition at line 38 of file HowToAccessToWSeries.C.

◆ THRESHOLD

double THRESHOLD = 2

Definition at line 52 of file HowToAccessToWSeries.C.

◆ ts

ts =0

Definition at line 21 of file HowToAccessToWSeries.C.