39 template<
class DataType_t>
76 if(tMin>=tMax)
return;
77 double tStart=this->
start();
79 this->tMin = tMin<tStart||tMin>tStop ? tStart :
tMin;
80 this->tMax = tMax<tStart||tMax>tStop ? tStop :
tMax;
void PlotTime(double edge=0)
void PhaseShift(double pShift=0.)
void DumpToFile(char *fname)
void PlotPSD(double edge=0)
void PlotTF(double edge=0)
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<< "\ layers : "<< nLAYERS<< "\ dF(hz) : "<< dF<< "\ 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
void PlotFFT(double edge=0)
virtual size_t size() const
virtual double rate() const
void TimeShift(double tShift=0.)
virtual double start() const
double GetTimeRange(double &tMin, double &tMax, double efraction=0.9999999)
void SetComment(TString comment)
void SetTimeRange(double tMin, double tMax)
virtual double edge() const
void SetWATPLOT(watplot *pts)
virtual void Browse(TBrowser *b)
CWB::STFT * DrawTF(TString options="")
watplot * DrawTime(TString options="ALP", Color_t color=kBlack)
void Draw(GWAT_DRAW type=GWAT_TIME, TString options="ALP", Color_t color=kBlack)
watplot * DrawFFT(TString options="ALP", Color_t color=kBlack)