Changeset 28978
- Timestamp:
- Aug 19, 2010, 6:21:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/psphot/src/psphotSourceFits.c
r28975 r28978 550 550 psphotSetRadiusFootprint(&model->fitRadius, readout, source, markVal, 0.5); 551 551 552 // update the pcm elements if we have changed the circumstance (eg, source->pixels)553 pmPCMupdate(pcm, source, fitOptions, model);554 555 552 if (!psphotFitSersicIndexPCM (pcm, readout, source, fitOptions, maskVal, markVal, psfSize)) { 556 553 model->flags |= PM_MODEL_STATUS_BADARGS; … … 562 559 psphotSetRadiusFootprint(&model->fitRadius, readout, source, markVal, 1.0); 563 560 } 564 // update the pcm elements if we have changed the circumstance (eg, source->pixels)565 pmPCMupdate(pcm, source, fitOptions, model);566 561 567 562 if (modelType == pmModelClassGetType("PS_MODEL_SERSIC")) { … … 570 565 options.mode = PM_SOURCE_FIT_EXT; 571 566 } 567 // update the pcm elements if we have changed the circumstance (options.mode or source->pixels) 568 pmPCMupdate(pcm, source, &options, model); 572 569 573 570 // psTraceSetLevel("psLib.math.psMinimizeLMChi2", 5); … … 657 654 options.nIter = 4; 658 655 656 // update the pcm elements if we have changed the circumstance (here, options.mode) 657 pmPCMupdate(pcm, source, &options, model); 658 659 659 int iMin = -1; 660 660 float xMin = NAN;
Note:
See TracChangeset
for help on using the changeset viewer.
