Changeset 31154 for trunk/psphot/src/psphotStackReadout.c
- Timestamp:
- Apr 4, 2011, 1:12:39 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (2 props)
-
src/psphotStackReadout.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:ignore
-
old new 19 19 psphot-config 20 20 Doxyfile 21 a.out.dSYM
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
trunk/psphot/src/psphotStackReadout.c
r30624 r31154 127 127 } 128 128 129 psMemDump("sourcestats"); 130 129 131 // generate the objects (object unify the sources from the different images) 130 132 // XXX this could just match the detections for the chisq image, and not bother measuring the … … 132 134 psArray *objects = psphotMatchSources (config, view, STACK_SRC); 133 135 136 psMemDump("matchsources"); 137 134 138 if (!strcasecmp (breakPt, "TEST2")) { 135 139 psFree(objects); … … 143 147 return psphotReadoutCleanup (config, view, STACK_SRC); 144 148 } 149 150 psMemDump("sourcestats"); 145 151 146 152 // find blended neighbors of very saturated stars (detections->newSources) … … 211 217 } 212 218 219 psMemDump("psfstats"); 220 213 221 psphotStackObjectsUnifyPosition (objects); 214 222 … … 230 238 } 231 239 240 psMemDump("extmeas"); 241 232 242 bool smoothAgain = true; 233 243 for (int nMatchedPSF = 0; smoothAgain; nMatchedPSF++) { … … 250 260 // smooth to the next FWHM, or set 'smoothAgain' to false if no more 251 261 psphotStackMatchPSFsNext(&smoothAgain, config, view, STACK_OUT, nMatchedPSF); 262 psMemDump("matched"); 252 263 } 253 264 … … 264 275 265 276 // drop the references to the image pixels held by each source 266 //psphotSourceFreePixels (config, view, STACK_OUT);277 psphotSourceFreePixels (config, view, STACK_OUT); 267 278 psphotSourceFreePixels (config, view, STACK_SRC); 268 279
Note:
See TracChangeset
for help on using the changeset viewer.
