46 void write(
char* filename);
50 void read(
char* filename);
59 xtalk getXTalk(
int nLay1,
size_t indx1,
int nLay2,
size_t indx2);
63 float getXTalk(
int nLay1,
int quad1,
size_t indx1,
int nLay2,
int quad2,
size_t indx2);
74 if(clusterCC.size()!=sizeCC.size())
exit(1);
75 return clusterCC.size();
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
WDM< double > wdm(nLAYERS, nLAYERS, 6, 10)
vector< xtalk > vector_XT
watplot p1(const_cast< char * >("TFMap1"))
std::vector< int > sizeCC
xtalk getXTalk(netpixel *p1, netpixel *p2)
std::vector< float * > clusterCC
M for each resolution.
watplot p2(const_cast< char * >("TFMap2"))