IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 23, 2007, 8:34:37 AM (19 years ago)
Author:
eugene
Message:

move all average mags to secfilt

File:
1 edited

Legend:

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

    r12008 r12012  
    116116      while (average[i].R > Rmax) average[i].R -= 360.0;
    117117
    118       mag = (Nsec == -1) ? average[i].M : secfilt[i*Nsecfilt+Nsec].M;
     118      mag = (Nsec == -1) ? NO_MAG : secfilt[i*Nsecfilt+Nsec].M;
    119119      Zvec[Npts] = MIN (1.0, MAX (0.01, (mag - Mz) / Mr));
    120120      if (LimExclude && (Zvec[Npts] > 0.99)) continue;
Note: See TracChangeset for help on using the changeset viewer.