IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 12, 2011, 3:48:58 PM (15 years ago)
Author:
eugene
Message:

remove extra test print statements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110404/Ohana/src/relphot/src/StarOps.c

    r31273 r31275  
    598598  float Mcal, Mmos, Mgrid;
    599599  StatType stats;
    600   int N1, N2, N3, N4, N0;
    601   N1 = N2 = N3 = N4 = N0 = 0;
     600  // int N1, N2, N3, N4, N0;
     601  // N1 = N2 = N3 = N4 = N0 = 0;
    602602
    603603  int Nsecfilt = GetPhotcodeNsecfilt ();
     
    616616
    617617      /* calculate the average value for a single star */
    618       if (catalog[i].secfilt[Nsecfilt*j+Nsec].flags & STAR_BAD) { N1++; continue;  }
     618      if (catalog[i].secfilt[Nsecfilt*j+Nsec].flags & STAR_BAD) { continue;  }
    619619      m = catalog[i].averageT[j].measureOffset;
    620620
     
    622622      for (k = 0; k < catalog[i].averageT[j].Nmeasure; k++, m++) {
    623623        int ecode = GetPhotcodeEquivCodebyCode (catalog[i].measureT[m].photcode);
    624         if (ecode != seccode) { N0++; continue;}
     624        if (ecode != seccode) { continue;}
    625625        Mcal = getMcal  (m, i);
    626         if (isnan(Mcal)) { N2++; continue;}
     626        if (isnan(Mcal)) { continue;}
    627627        Mmos = getMmos  (m, i);
    628         if (isnan(Mmos)) { N3++; continue; }
     628        if (isnan(Mmos)) { continue; }
    629629        Mgrid = getMgrid (m, i);
    630         if (isnan(Mgrid)) { N4++; continue;}
     630        if (isnan(Mgrid)) { continue;}
    631631        N++;
    632632      }
     
    638638  }
    639639
    640   fprintf (stderr, "N1: %d, N2: %d, N3: %d, N4: %d, N0: %d\n", N1, N2, N3, N4, N0);
     640  // fprintf (stderr, "N1: %d, N2: %d, N3: %d, N4: %d, N0: %d\n", N1, N2, N3, N4, N0);
    641641  liststats (list, dlist, n, &stats);
    642642  free (list);
Note: See TracChangeset for help on using the changeset viewer.