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