IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20356


Ignore:
Timestamp:
Oct 24, 2008, 11:38:50 AM (18 years ago)
Author:
Paul Price
Message:

Apply mask for sources.

File:
1 edited

Legend:

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

    r20339 r20356  
    11# include "psphotInternal.h"
     2
     3#define PSF_SOURCE_MASK (PM_SOURCE_MODE_FAIL | PM_SOURCE_MODE_SATSTAR | PM_SOURCE_MODE_BLEND | \
     4                         PM_SOURCE_MODE_BADPSF | PM_SOURCE_MODE_DEFECT | PM_SOURCE_MODE_SATURATED | \
     5                         PM_SOURCE_MODE_CR_LIMIT | PM_SOURCE_MODE_EXT_LIMIT) // Mask to apply for PSF sources
    26
    37// add newly selected sources to the existing list of sources
     
    8589        pmModel *model = source->modelPSF;
    8690
    87         if (!isfinite(source->psfMag)) {
     91        if (source->mode & PSF_SOURCE_MASK || !isfinite(source->psfMag)) {
    8892            continue;
    8993        }
Note: See TracChangeset for help on using the changeset viewer.