Changeset 32755
- Timestamp:
- Nov 22, 2011, 10:30:49 AM (15 years ago)
- Location:
- tags/ipp-20111110/psphot/src
- Files:
-
- 5 edited
-
psphotExtendedSourceFits.c (modified) (2 diffs)
-
psphotRadialProfileWings.c (modified) (1 diff)
-
psphotReplaceUnfit.c (modified) (1 diff)
-
psphotSourceFits.c (modified) (2 diffs)
-
psphotSourceMatch.c (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20111110/psphot/src/psphotExtendedSourceFits.c
r32348 r32755 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); -
tags/ipp-20111110/psphot/src/psphotRadialProfileWings.c
r32633 r32755 261 261 psStatsInit (fluxStats); 262 262 psStatsInit (varStats); 263 264 if ((flux->n == 0) || (fluxVar->n == 0)) { 265 flux->n = 0; 266 fluxVar->n = 0; 267 radius += dR; 268 continue; 269 } 263 270 264 271 psVectorStats (fluxStats, flux, NULL, NULL, 0); -
tags/ipp-20111110/psphot/src/psphotReplaceUnfit.c
r32719 r32755 353 353 source->modelPSF = modelPSF; 354 354 source->modelPSF->fitRadius = radius; 355 model = source->modelPSF; 355 356 } 356 357 -
tags/ipp-20111110/psphot/src/psphotSourceFits.c
r32719 r32755 531 531 if (TIMING) { t1 = psTimerMark ("psphotFitPCM"); } 532 532 533 // NOTE : 65 allocs to here 533 534 // get the guess for sersic models 534 535 if (modelType == pmModelClassGetType("PS_MODEL_SERSIC")) { … … 560 561 561 562 // psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5); 562 pmSourceFitPCM (pcm, source, &options, maskVal, markVal, psfSize); 563 pmSourceFitPCM (pcm, source, &options, maskVal, markVal, psfSize); // NOTE : 1687 allocs in here 563 564 if (TIMING) { t5 = psTimerMark ("psphotFitPCM"); } 564 565 -
tags/ipp-20111110/psphot/src/psphotSourceMatch.c
- Property svn:mergeinfo changed (with no actual effect on merging)
Note:
See TracChangeset
for help on using the changeset viewer.
