IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9520


Ignore:
Timestamp:
Oct 12, 2006, 11:49:31 AM (20 years ago)
Author:
eugene
Message:

if BREAK_POINT is PEAKS, we still need to add the minimal source to sources

File:
1 edited

Legend:

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

    r9270 r9520  
    2626        // allocate image, weight, mask arrays for each peak (square of radius OUTER)
    2727        pmSourceDefinePixels (source, readout, source->peak->x, source->peak->y, OUTER);
    28         if (!strcasecmp (breakPt, "PEAKS")) continue;
     28        if (!strcasecmp (breakPt, "PEAKS")) {
     29            psArrayAdd (sources, 100, source);
     30            psFree (source);
     31            continue;
     32        }
    2933
    3034        // XXX skip faint sources?
Note: See TracChangeset for help on using the changeset viewer.