Changeset 32744 for trunk/psphot/src/psphotExtendedSourceFits.c
- Timestamp:
- Nov 22, 2011, 10:16:39 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotExtendedSourceFits.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotExtendedSourceFits.c
r32348 r32744 321 321 322 322 // set the fit radius based on the first radial moment (also sets the mask pixels) 323 psphotSetRadiusMomentsExact(&fitRadius, &windowRadius, readout, source, markVal); 323 psphotSetRadiusMomentsExact(&fitRadius, &windowRadius, readout, source, markVal); // NOTE : 6 allocs 324 324 325 325 // UPDATE : we have changed the moments calculation. There is now an iteration within … … 371 371 pmModel *modelFit = NULL; 372 372 if (convolved) { 373 modelFit = psphotFitPCM (readout, source, fitOptions, modelType, maskVal, markVal, psfSize); 373 // NOTE : 4 more allocs to here 374 modelFit = psphotFitPCM (readout, source, fitOptions, modelType, maskVal, markVal, psfSize); // NOTE : 2313 allocs in here 374 375 if (!modelFit) { 375 376 psTrace ("psphot", 5, "failed to fit psf-conv model for object at %f, %f", source->moments->Mx, source->moments->My);
Note:
See TracChangeset
for help on using the changeset viewer.
