Logo Coherent WaveBurst  
Reference Guide
Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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

Function Documentation

canvas cd ( )
canvas cd ( )
canvas Divide ( ,
 
)
for ( )

Definition at line 53 of file HowToAccessToWSeries.C.

tfmap Forward ( ts  ,
wdm   
)
plot plot ( tfmap  )
ts rate ( Rate  )
c2 SetGridx ( )
c2 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  )
WDM<double> wdm ( nLAYERS  ,
2 *  nLAYERS,
,
 
)

Variable Documentation

double amplitude =1.

Definition at line 25 of file HowToAccessToWSeries.C.

return canvas = plot->canvas

Definition at line 12 of file HowToAccessToWSeries.C.

double df = tfmap.resolution()

Definition at line 36 of file HowToAccessToWSeries.C.

double dt = 1./(2*df)

Definition at line 37 of file HowToAccessToWSeries.C.

int Duration = DURATION

Definition at line 17 of file HowToAccessToWSeries.C.

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

Definition at line 27 of file HowToAccessToWSeries.C.

double frequency =100.

Definition at line 26 of file HowToAccessToWSeries.C.

plot hist2D =NULL

Definition at line 72 of file HowToAccessToWSeries.C.

int layers = tfmap.maxLayer()+1

Definition at line 48 of file HowToAccessToWSeries.C.

Definition at line 18 of file HowToAccessToWSeries.C.

watplot* plot = new watplot

Definition at line 11 of file HowToAccessToWSeries.C.

double Q =9.

Definition at line 24 of file HowToAccessToWSeries.C.

int Rate = RATE

Definition at line 16 of file HowToAccessToWSeries.C.

int slices = tfmap.sizeZero()

Definition at line 49 of file HowToAccessToWSeries.C.

WSeries<double> tfmap

Definition at line 32 of file HowToAccessToWSeries.C.

char tfres[64]

Definition at line 38 of file HowToAccessToWSeries.C.

double THRESHOLD = 2

Definition at line 52 of file HowToAccessToWSeries.C.

ts =0

Definition at line 21 of file HowToAccessToWSeries.C.