IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20069


Ignore:
Timestamp:
Oct 11, 2008, 11:55:04 AM (18 years ago)
Author:
eugene
Message:

do not count NAN ap mags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotMagnitudes.c

    r19913 r20069  
    4343        pmSource *source = (pmSource *) sources->data[i];
    4444        status = pmSourceMagnitudes (source, psf, photMode, maskVal);
    45         if (status) Nap ++;
     45        if (status && isfinite(source->apMag)) Nap ++;
    4646
    4747        source->sky = psImageUnbinPixel(source->peak->x, source->peak->y, backModel->image, binning);
Note: See TracChangeset for help on using the changeset viewer.