Changeset 3682 in Sophya
- Timestamp:
- Nov 20, 2009, 1:03:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/racquproc.cc
r3681 r3682 180 180 for(sa_size_t j=1; j<spectre_.NCols(); j++) 181 181 spectre_(lc,j) += Zmod2(tbcp[j]); 182 nzm_[lc]++; 183 tbcp=paq.Data2C(); 182 nzm_[lc]++; 183 tbcp=paq.Data2C(); lc++; 184 184 for(sa_size_t j=1; j<spectre_.NCols(); j++) 185 185 spectre_(lc,j) += Zmod2(tbcp[j]); 186 nzm_[lc +1]++;186 nzm_[lc]++; 187 187 } 188 188 else { // Traitement RawData … … 193 193 for(sa_size_t j=0; j<spectre_.NCols(); j++) 194 194 spectre_(lc,j) += Zmod2(cfour(j+1)); 195 nzm_[lc]++; 195 nzm_[lc]++; lc++; 196 196 for(sa_size_t j=0; j<vx.Size(); j++) 197 197 vx(j) = (r_4)(*(paq.Data2()+j))-127.5; … … 200 200 for(sa_size_t j=0; j<spectre_.NCols(); j++) 201 201 spectre_(lc,j) += Zmod2(cfour(j+1)); 202 nzm_[lc +1]++;202 nzm_[lc]++; 203 203 } 204 204 } // FIN de la boucle sur les paquets … … 223 223 nfiles_++; 224 224 POutPersist po(fname); 225 po << PPFNameTag("spectre") << spectre_; 225 // po << PPFNameTag("spectre") << spectre_; 226 po << spectre_; 226 227 spectre_ = (r_4)(0.); 227 228 for(int lc=0; lc<2*memgr.NbFibres(); lc++) nzm_[lc]=0; … … 257 258 sprintf(fname,"%s/meanspec%d.ppf",path_.c_str(),(int)nfiles_); 258 259 POutPersist po(fname); 259 po << PPFNameTag("spectre") <<spectre_;260 po << spectre_; 260 261 spectre_ = (r_4)(0.); 261 262 for(int lc=0; lc<2*memgr.NbFibres(); lc++) nzm_[lc]=0;
Note:
See TracChangeset
for help on using the changeset viewer.