Changeset 34403 for trunk/psModules/src/objects/pmSource.c
- Timestamp:
- Sep 5, 2012, 4:16:36 PM (14 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/objects/pmSource.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120805/psModules (added) merged: 34367,34374-34376,34379,34381,34383,34396
- Property svn:mergeinfo changed
-
trunk/psModules/src/objects/pmSource.c
r34318 r34403 40 40 #include "pmSourceDiffStats.h" 41 41 #include "pmSourcePhotometry.h" 42 #include "pmSourceSatstar.h" 42 43 #include "pmSource.h" 43 44 … … 61 62 psFree(tmp->modelFits); 62 63 psFree(tmp->extFitPars); 64 psFree(tmp->blends); 65 psFree(tmp->satstar); 63 66 psFree(tmp->extpars); 64 psFree(tmp->moments);65 67 psFree(tmp->diffStats); 66 68 psFree(tmp->radialAper); 67 psFree(tmp->blends);68 69 psTrace("psModules.objects", 10, "---- end ----\n"); 69 70 } … … 160 161 source->region = psRegionSet(NAN, NAN, NAN, NAN); 161 162 source->blends = NULL; 163 source->satstar = NULL; 162 164 source->extpars = NULL; 163 165 source->diffStats = NULL; … … 650 652 if (source->peak->y >= region->y1) continue; 651 653 654 # define DEBUG 0 655 # define TEST_X 2792 656 # define TEST_Y 1741 657 # if (DEBUG) 658 if ((fabs(source->peak->x - TEST_X) < 5) && (fabs(source->peak->y - TEST_Y) < 5)) { 659 fprintf (stderr, "test peak\n"); 660 } 661 # endif 662 652 663 // should be set by pmSourceAlloc 653 664 psAssert (source->type == PM_SOURCE_TYPE_UNKNOWN, "source type was not init-ed?"); … … 665 676 666 677 // XXX EAM : can we use the value of SATURATE if mask is NULL? 678 // XXX a 5x5 box centered on the peak is a rather small region to check for 667 679 inner = psRegionForSquare (source->peak->x, source->peak->y, 2); 668 680 inner = psRegionForImage (source->maskView, inner);
Note:
See TracChangeset
for help on using the changeset viewer.
