IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 20, 2011, 11:03:36 AM (15 years ago)
Author:
eugene
Message:

commented-out test code; include the mark in the mask when replacing sources (they were subtracted including the mark)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110404/psphot/src/psphotSourceStats.c

    r31313 r31328  
    238238    psphotVisualShowMoments (sources);
    239239
     240    // clear the mark bits
     241    // psImageMaskPixels (readout->mask, "AND", PS_NOT_IMAGE_MASK(markVal));
     242
    240243    if (detections->allSources) {
    241244        psphotMaskCosmicRayFootprintCheck(detections->allSources);
     
    462465            continue;
    463466        }
     467
     468        // XXX test of masking neighbors when measureing moments (does this fail?)
     469        // psEllipseMoments moments = {source->moments->Mxx, source->moments->Myy, source->moments->Mxy};
     470        // psEllipseAxes axes = psEllipseMomentsToAxes(moments, 20.0);
     471        // psImageMaskCircle (source->maskView, source->peak->x, source->peak->y, 3.0*axes.major, "OR", markVal);
     472
    464473        Nmoments ++;
    465474
Note: See TracChangeset for help on using the changeset viewer.