IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28975


Ignore:
Timestamp:
Aug 19, 2010, 4:33:18 PM (16 years ago)
Author:
eugene
Message:

update pmPCM sizes when changing source pixels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/psphot/src/psphotSourceFits.c

    r28974 r28975  
    549549        // for the test fits, use a somewhat smaller radius
    550550        psphotSetRadiusFootprint(&model->fitRadius, readout, source, markVal, 0.5);
     551
     552        // update the pcm elements if we have changed the circumstance (eg, source->pixels)
     553        pmPCMupdate(pcm, source, fitOptions, model);
     554
    551555        if (!psphotFitSersicIndexPCM (pcm, readout, source, fitOptions, maskVal, markVal, psfSize)) {
    552556            model->flags |= PM_MODEL_STATUS_BADARGS;
     
    558562        psphotSetRadiusFootprint(&model->fitRadius, readout, source, markVal, 1.0);
    559563    }
     564    // update the pcm elements if we have changed the circumstance (eg, source->pixels)
     565    pmPCMupdate(pcm, source, fitOptions, model);
    560566
    561567    if (modelType == pmModelClassGetType("PS_MODEL_SERSIC")) {
Note: See TracChangeset for help on using the changeset viewer.