IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29610


Ignore:
Timestamp:
Oct 29, 2010, 11:05:49 AM (16 years ago)
Author:
eugene
Message:

skip invalid peak/footprint combinations

File:
1 edited

Legend:

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

    r29548 r29610  
    693693    LIMIT_YRANGE(ys, mask);
    694694    LIMIT_YRANGE(ye, mask);
     695
     696    // the peak must be contained in the mask..
     697    if (peak->x < xs) return false;
     698    if (peak->y < ys) return false;
     699    if (peak->x >= xe) return false;
     700    if (peak->y >= ye) return false;
    695701
    696702    int dx = xe - xs;
Note: See TracChangeset for help on using the changeset viewer.