Changeset 3701 in Sophya for trunk/AddOn/TAcq/brproc.cc


Ignore:
Timestamp:
Dec 5, 2009, 1:00:11 AM (16 years ago)
Author:
ansari
Message:

MAJ du prog svv2mtx pour traitement fichiers produits par vismfib, Reza 4/12/09

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AddOn/TAcq/brproc.cc

    r3698 r3701  
    5757  visdt_.AddFloatColumn("vim");
    5858
    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   */
    7059  if (nmean_ < 1)  nmean_=memgr_.NbPaquets();
    7160  if (nmean_ < 1)  nmean_=1;
     
    9584  POutPersist po(outpath_+"visdt.ppf");
    9685  po << visdt_;
     86  POutPersist poc(outpath_+"chanum.ppf");
     87  po << chanum_;
     88
    9789  delete[] xnt_;
    9890}
     
    109101  if (totnbpaq_%nmean_ == 0) {
    110102    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
    111109      // ATTENTION : Matrice visibilites non moyennee
    112110      char nfile[32];
     
    117115      cout << numfile_ << "-BRVisibilityCalculator::Process() NPaqProc="
    118116           << totnbpaq_ << "  -> Visibility Matrix in " << flnm << endl;
    119       moyfc_/=nmean_;
    120       moytt_/=nmean_;
    121117      FillVisibTable(moyfc_, moytt_);
    122118      numfile_++;
Note: See TracChangeset for help on using the changeset viewer.