- Timestamp:
- Jan 11, 2015, 2:05:35 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psphot/src/psphotStackReadout.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20140904/psphot/src/psphotStackReadout.c
r36630 r37804 341 341 // measure non-linear extended source models (exponential, deVaucouleur, Sersic) (sources sorted by S/N) 342 342 psphotExtendedSourceFits (config, view, STACK_RAW); // pass 1 (detections->allSources) 343 344 // measure some parameters for galxy science 345 psphotGalaxyParams (config, view, STACK_RAW); // pass 1 (detections->allSources) 343 346 344 347 // create source children for the OUT filerule (for radial aperture photometry and output) … … 354 357 return psphotReadoutCleanup (config, view, STACK_RAW); 355 358 } 359 // These arrays are no longer needed. The inputs' sources arrays have references to the data 360 psFree (objects); 361 psFree (objectsOut); 356 362 357 363 bool radial_apertures = psMetadataLookupBool(NULL, recipe, "RADIAL_APERTURES"); … … 410 416 // measure aperture photometry corrections 411 417 if (!psphotApResid (config, view, STACK_RAW)) { 412 psFree (objects);413 psFree (objectsOut);414 418 psLogMsg ("psphot", 3, "failed on psphotApResid"); 415 419 return psphotReadoutCleanup (config, view, STACK_RAW); … … 432 436 433 437 logMemStats("final"); 434 #if ( 1)438 #if (0) 435 439 psphotSourceMemory(config, view, STACK_RAW); 436 440 psphotSourceMemory(config, view, STACK_OUT); … … 448 452 psphotStackRemoveChisqFromInputs(config, STACK_RAW); 449 453 #endif 450 451 psFree (objects);452 psFree (objectsOut);453 454 454 455 // create the exported-metadata and free local data
Note:
See TracChangeset
for help on using the changeset viewer.
