Changeset 1982 in Sophya


Ignore:
Timestamp:
May 3, 2002, 5:31:09 PM (23 years ago)
Author:
ansari
Message:

Compil sur magique SGI-CC , Reza 3/5/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Processors/wienerdecor.cc

    r1963 r1982  
    4747      corr.reset();
    4848      autocorr.reset();
    49       for (int i=sn; i<sn+nsamples; i++) {
     49      int i;
     50      for (i=sn; i<sn+nsamples; i++) {
    5051        double sig = getData(0, i);
    5152        double prb = getData(1, i);
     
    5455      }
    5556      // correlation is recomputed, let's recompute the wiener filter from wiener equations
    56       for (int i=0; i<lcorr; i++) {
     57      for (i=0; i<lcorr; i++) {
    5758        r[lcorr+i] = r[lcorr-i] = autocorr.correl(i);
    5859        y[i+1] = corr.correl(i);
     
    6768      }
    6869      cout << "Wiener filter : " << sn << "\n ";
    69       for (int i=0; i<lcorr; i++) {
     70      for (i=0; i<lcorr; i++) {
    7071        cout << filter[i] << " ";
    7172      }
Note: See TracChangeset for help on using the changeset viewer.