IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 15, 2012, 3:23:29 PM (14 years ago)
Author:
eugene
Message:

do not include bad (NAN) values in the PM fit or high-speed search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/relastro/src/UpdateObjects.c

    r33537 r33540  
    131131        dY[N] = GetAstromErrorTiny (&measure[k], ERROR_MODE_DEC);
    132132
    133         // XXX this is a bit hackish -- allow a given photcode or measurement to be
    134         // ignored by ignoring excessively bad errors
    135         if (dX[N] > 10.0) continue;
    136         if (dY[N] > 10.0) continue;
     133        // allow a given photcode or measurement to be
     134        // ignored if the error is NAN (for photcode, set astromErrSys to NaN)
     135        if (isnan(dX[N])) continue;
     136        if (isnan(dY[N])) continue;
    137137
    138138        // add systematic error in quadrature, if desired
Note: See TracChangeset for help on using the changeset viewer.