Changeset 3703 in Sophya
- Timestamp:
- Dec 6, 2009, 12:19:14 AM (16 years ago)
- Location:
- trunk/AddOn/TAcq
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/brbaseproc.h
r3696 r3703 25 25 public: 26 26 BRBaseProcessor(RAcqMemZoneMgr& memgr); 27 27 28 virtual void run(); 29 inline void Stop(); 30 inline void STOP() { stop_ = true; } 31 32 protected: 28 33 // Methode devant etre redefinie pour effectuer le traitement - appele pour chaque trigger 29 34 virtual int Process(); // renvoie 0 si OK, sinon, arret traitement 30 inline void Stop(); 31 inline void STOP() { stop_ = true; } 32 protected: 35 33 36 RAcqMemZoneMgr& memgr_; 34 37 bool stop_; -
trunk/AddOn/TAcq/brproc.h
r3694 r3703 31 31 virtual ~BRVisibilityCalculator(); // Fait le nettoyage final , sauvegarde des objets ... 32 32 33 protected: 33 34 virtual int Process(); 34 35 virtual int FillVisibTable(double fcm, double ttm); 35 36 36 protected:37 37 uint_4 nmean_; // Nombre de spectres pour le calcul des moyennes 38 38 string outpath_; // directory pour fichiers de sortie -
trunk/AddOn/TAcq/svv2mtx.cc
r3702 r3703 153 153 { 154 154 Timer tm("ProcSVFiles"); 155 156 vector< TMatrix< complex<r_4> > > vmtf(rowlist.size()); 157 155 158 156 DataTable visdt; 159 157 visdt.AddDoubleColumn("mfc"); … … 164 162 visdt.AddFloatColumn("vim"); 165 163 164 vector< TMatrix< complex<r_4> > > vmtf; 165 166 166 if (jf1<1) jf1=1; 167 167 if ((jf2<1)||(jf2<jf1)) jf2=jf1; … … 169 169 int djf=(jf2-jf1)/nfreq; 170 170 if (djf<1) djf=0; 171 171 172 172 char fname[1024]; 173 173 174 cout << " ---- ProcSVFiles()-Begin - Reading chanum vector" << endl; 174 175 TVector< uint_4 > chanum; 176 { 175 177 sprintf(fname, "%s/chanum.ppf",inoutpath.c_str()); 176 {177 178 PInPersist pic(fname); 178 179 pic >> chanum; 179 180 } 180 181 181 sa_size_t nrows = (imax-imin+1)/istep;\ 182 cout << " ---- ProcSVFiles()-Read chanum done " << endl; 183 sa_size_t nrows = (imax-imin+1)/istep; 182 184 sa_size_t kr=0; 183 185 … … 193 195 cout << " ProcSVFilesVJun09/Info: Output Time-Frequency matrices NRows=NFiles" 194 196 << nrows << " NCols=NFreq=" << ncols << endl; 195 for(size_t j=0; j<rowlist.size(); j++) vmtf[j].SetSize(nrows, ncols); 197 for(size_t j=0; j<rowlist.size(); j++) 198 vmtf.push_back(TMatrix< complex<r_4> >(nrows, ncols) ); 196 199 } 197 200 for(size_t j=0; j<rowlist.size(); j++)
Note:
See TracChangeset
for help on using the changeset viewer.