Macros | |
#define | DURATION 2 |
#define | FREQ_PIXEL_INDEX 20 |
#define | nLAYERS 32 |
#define | RATE 512 |
#define | TIME_PIXEL_INDEX 100 |
Functions | |
gx | Draw (GWAT_TIME) |
ts | rate (Rate) |
x | rate (RATE) |
x | resize (N) |
Variables | |
int | Duration = DURATION |
int | j00 = wdm->getBaseWave(index,x,false) |
int | N = Rate*Duration |
int | Rate = RATE |
WSeries< double > | tf |
wavearray< double > | ts (N) =0 |
WDM< double > | wdm (nLAYERS, nLAYERS, 6, 10) |
cout<< endl;cout<< "ts size = " << ts.size()<< " ts rate = " << ts.rate()<< endl;tf.Forward(ts, wdm);int levels=tf.getLevel();cout << "tf size = "<< tf.size() << endl;double dF=tf.resolution();double dT=1./(2 *dF);cout<< "rate(hz) : " << RATE<< "\t layers : " << nLAYERS<< "\t dF(hz) : " << dF<< "\t dT(ms) : "<< dT *1000. << endl;int itime=TIME_PIXEL_INDEX;int ifreq=FREQ_PIXEL_INDEX;int index=(levels+1)*itime+ifreq;double time=itime *dT;double freq=(ifreq > 0)?ifreq *dF:dF/4;cout<< endl;cout << "PIXEL TIME = "<< time << " sec "<< endl;cout << "PIXEL FREQ = "<< freq << " Hz "<< endl;cout<< endl;wavearray < double > | x |
#define DURATION 2 |
Definition at line 7 of file BaseFunctionWDM.C.
#define FREQ_PIXEL_INDEX 20 |
Definition at line 10 of file BaseFunctionWDM.C.
#define nLAYERS 32 |
Definition at line 5 of file BaseFunctionWDM.C.
#define RATE 512 |
Definition at line 6 of file BaseFunctionWDM.C.
#define TIME_PIXEL_INDEX 100 |
Definition at line 9 of file BaseFunctionWDM.C.
Definition at line 14 of file BaseFunctionWDM.C.
Definition at line 15 of file BaseFunctionWDM.C.
Definition at line 13 of file BaseFunctionWDM.C.
WSeries<double> tf |
Definition at line 22 of file BaseFunctionWDM.C.
gwavearray< double > gts & ts =0 |
Definition at line 18 of file BaseFunctionWDM.C.
frt x |
Definition at line 51 of file BaseFunctionWDM.C.