IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30168


Ignore:
Timestamp:
Dec 24, 2010, 3:20:53 PM (15 years ago)
Author:
eugene
Message:

candidate psf stars are noted with tmpFlags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/psphot/src/psphotCheckStarDistribution.c

    r19909 r30168  
    3434        pmSource *source = stars->data[i];
    3535        if (source->peak == NULL) continue;
    36         if (!(source->mode & PM_SOURCE_MODE_PSFSTAR)) continue;
     36        if (!(source->tmpFlags & PM_SOURCE_TMPF_CANDIDATE_PSFSTAR)) continue;
    3737
    3838        int binX = psImageBinningGetRuffX (binning, source->peak->xf);
     
    8585        if (source->peak == NULL) continue;
    8686        if (source->moments == NULL) continue;
    87         if (source->mode & PM_SOURCE_MODE_PSFSTAR) continue;
     87        if (source->tmpFlags & PM_SOURCE_TMPF_CANDIDATE_PSFSTAR) continue;
    8888        if (source->mode & PM_SOURCE_MODE_SATSTAR) continue;
    8989        if (source->type != PM_SOURCE_TYPE_STAR) continue;
     
    9797        if (y > Ye) continue;
    9898
    99         source->mode |= PM_SOURCE_MODE_PSFSTAR;
     99        source->tmpFlags |= PM_SOURCE_TMPF_CANDIDATE_PSFSTAR;
    100100        psArrayAdd (stars, 200, source);
    101101
Note: See TracChangeset for help on using the changeset viewer.