Changeset 3701 in Sophya for trunk/AddOn/TAcq/brproc.cc
- Timestamp:
- Dec 5, 2009, 1:00:11 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/brproc.cc
r3698 r3701 57 57 visdt_.AddFloatColumn("vim"); 58 58 59 /*60 char colnm[32];61 for(size_t i=0; i<2*memgr_.NbFibres(); i++) {62 for(size_t j=i; j<2*memgr_.NbFibres(); j++) {63 sprintf(colnm,"vr_%d_%d",(int)(i+1),(int)j+1);64 visdt_.AddFloatColumn(colnm);65 sprintf(colnm,"vi_%d_%d",(int)(i+1),(int)j+1);66 visdt_.AddFloatColumn(colnm);67 }68 }69 */70 59 if (nmean_ < 1) nmean_=memgr_.NbPaquets(); 71 60 if (nmean_ < 1) nmean_=1; … … 95 84 POutPersist po(outpath_+"visdt.ppf"); 96 85 po << visdt_; 86 POutPersist poc(outpath_+"chanum.ppf"); 87 po << chanum_; 88 97 89 delete[] xnt_; 98 90 } … … 109 101 if (totnbpaq_%nmean_ == 0) { 110 102 if (totnbpaq_ > 0) { 103 moyfc_/=nmean_; 104 moytt_/=nmean_; 105 vismtx_.Info()["MeanFC"] = moyfc_; 106 vismtx_.Info()["MeanTT"] = moytt_; 107 vismtx_.Info()["NPAQSUM"] = nmean_; 108 111 109 // ATTENTION : Matrice visibilites non moyennee 112 110 char nfile[32]; … … 117 115 cout << numfile_ << "-BRVisibilityCalculator::Process() NPaqProc=" 118 116 << totnbpaq_ << " -> Visibility Matrix in " << flnm << endl; 119 moyfc_/=nmean_;120 moytt_/=nmean_;121 117 FillVisibTable(moyfc_, moytt_); 122 118 numfile_++;
Note:
See TracChangeset
for help on using the changeset viewer.