IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 3, 2013, 2:37:22 PM (13 years ago)
Author:
eugene
Message:

deprecate KiiOpen,KiiClose (now KapaOpen,etc); major rework of psEllipse translations : use common functions pmModelAxesToParams and pmModelParamsToAxes ; use new convergence method in pmPCM_MinimizeChisq; add convergence crerition options to psMinimization; threaded versions of pmPSFtryFitEXT and pmPSFtryFitPSF

Location:
trunk/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules

  • trunk/psModules/src/objects/pmPSFtryMakePSF.c

    r34403 r35768  
    165165
    166166            for (int i = 0; i < psf->params->n; i++) {
    167                 if (psf->params->data[i] == NULL) {
    168                     psFree(modelPSF);
    169                     continue;
    170                 }
     167                if (psf->params->data[i] == NULL) continue;
    171168                fprintf (f, "%f %f : ", source->modelEXT->params->data.F32[i], modelPSF->params->data.F32[i]);
    172169            }
     
    214211        assert (source->modelEXT); // all unmasked sources should have modelEXT
    215212
    216         psEllipsePol pol = pmPSF_ModelToFit (source->modelEXT->params->data.F32);
     213        bool useReff = pmModelUseReff (source->modelEXT->type);
     214        psEllipsePol pol = pmPSF_ModelToFit (source->modelEXT->params->data.F32, useReff);
    217215
    218216        e0->data.F32[i] = pol.e0;
Note: See TracChangeset for help on using the changeset viewer.