Changeset 37611 for trunk/psphot/src
- Timestamp:
- Nov 16, 2014, 6:07:00 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotStackReadout.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotStackReadout.c
r37466 r37611 344 344 // measure some parameters for galxy science 345 345 psphotGalaxyParams (config, view, STACK_RAW); // pass 1 (detections->allSources) 346 346 347 // create source children for the OUT filerule (for radial aperture photometry and output) 347 348 // NOTE: The new source children have image arrays pointing to the readout associated with … … 356 357 return psphotReadoutCleanup (config, view, STACK_RAW); 357 358 } 359 // These arrays are no longer needed. The inputs' sources arrays have references to the data 360 psFree (objects); 361 psFree (objectsOut); 358 362 359 363 bool radial_apertures = psMetadataLookupBool(NULL, recipe, "RADIAL_APERTURES"); … … 412 416 // measure aperture photometry corrections 413 417 if (!psphotApResid (config, view, STACK_RAW)) { 414 psFree (objects);415 psFree (objectsOut);416 418 psLogMsg ("psphot", 3, "failed on psphotApResid"); 417 419 return psphotReadoutCleanup (config, view, STACK_RAW); … … 434 436 435 437 logMemStats("final"); 436 #if ( 1)438 #if (0) 437 439 psphotSourceMemory(config, view, STACK_RAW); 438 440 psphotSourceMemory(config, view, STACK_OUT); … … 450 452 psphotStackRemoveChisqFromInputs(config, STACK_RAW); 451 453 #endif 452 453 psFree (objects);454 psFree (objectsOut);455 454 456 455 // create the exported-metadata and free local data
Note:
See TracChangeset
for help on using the changeset viewer.
