Changeset 3682 in Sophya


Ignore:
Timestamp:
Nov 20, 2009, 1:03:53 PM (16 years ago)
Author:
ansari
Message:

Corrections ds MonitorProc , Reza 20/11/2009

File:
1 edited

Legend:

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

    r3681 r3682  
    180180          for(sa_size_t j=1; j<spectre_.NCols(); j++)
    181181            spectre_(lc,j) += Zmod2(tbcp[j]);
    182           nzm_[lc]++;   
    183           tbcp=paq.Data2C();
     182          nzm_[lc]++; 
     183          tbcp=paq.Data2C();   lc++;
    184184          for(sa_size_t j=1; j<spectre_.NCols(); j++)
    185185            spectre_(lc,j) += Zmod2(tbcp[j]);
    186           nzm_[lc+1]++;
     186          nzm_[lc]++;
    187187        }
    188188        else {   // Traitement RawData
     
    193193          for(sa_size_t j=0; j<spectre_.NCols(); j++)
    194194            spectre_(lc,j) += Zmod2(cfour(j+1));
    195           nzm_[lc]++;
     195          nzm_[lc]++;      lc++;
    196196          for(sa_size_t j=0; j<vx.Size(); j++)
    197197            vx(j) = (r_4)(*(paq.Data2()+j))-127.5;
     
    200200          for(sa_size_t j=0; j<spectre_.NCols(); j++)
    201201            spectre_(lc,j) += Zmod2(cfour(j+1));
    202           nzm_[lc+1]++;
     202          nzm_[lc]++;
    203203        }       
    204204      }  // FIN de la boucle sur les paquets
     
    223223      nfiles_++;
    224224      POutPersist po(fname);
    225       po << PPFNameTag("spectre") << spectre_;       
     225      //      po << PPFNameTag("spectre") << spectre_;
     226      po << spectre_;       
    226227      spectre_ = (r_4)(0.);
    227228      for(int lc=0; lc<2*memgr.NbFibres(); lc++)  nzm_[lc]=0;
     
    257258    sprintf(fname,"%s/meanspec%d.ppf",path_.c_str(),(int)nfiles_);
    258259    POutPersist po(fname);
    259     po << PPFNameTag("spectre") << spectre_;       
     260    po << spectre_;       
    260261    spectre_ = (r_4)(0.);
    261262    for(int lc=0; lc<2*memgr.NbFibres(); lc++)  nzm_[lc]=0;
Note: See TracChangeset for help on using the changeset viewer.