IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 7, 2007, 11:54:39 AM (19 years ago)
Author:
eugene
Message:

cleanup Nsec / Nsecfilt names, fixed usage with PRI photcodes dropped

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dvo-mods-2007-02/Ohana/src/opihi/dvo/dmt.c

    r12046 r12295  
    55 
    66  int i, m, k, N, Ngraph, SaveVectors;
    7   int Ns, Nsec, NPTS;
     7  int Nsec, Nsecfilt, NPTS;
    88  double Radius;
    99  float dt1, dt2, dmt1, dmt2;
     
    5050    return (FALSE);
    5151  }
    52   Nsec = GetPhotcodeNsecfilt();
    53   Ns = GetPhotcodeNsec (code[0].code);
     52  Nsecfilt = GetPhotcodeNsecfilt();
     53  Nsec = GetPhotcodeNsec (code[0].code);
    5454
    5555  Radius = MAX (fabs(graphsky.xmax), fabs(graphsky.ymax));
     
    8484      if (catalog.average[i].Nm != 3) continue;
    8585      m = catalog.average[i].offset;
    86       M0 = (Ns == -1) ? NO_MAG : catalog.secfilt[i*Nsec+Ns].M;
     86      M0 = catalog.secfilt[i*Nsecfilt+Nsec].M;
    8787      M1 = PhotCat (&catalog.measure[m+0]);
    8888      M2 = PhotCat (&catalog.measure[m+1]);
Note: See TracChangeset for help on using the changeset viewer.