IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 19, 2011, 10:33:39 AM (15 years ago)
Author:
eugene
Message:

optionally save the covariance matrix with model fits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psModules/src/objects/pmSourceFitPCM.c

    r30621 r30705  
    6969        dparams->data.F32[i] = sqrt(covar->data.F32[i][i]);
    7070        psTrace ("psModules.objects", 4, "%f +/- %f", params->data.F32[i], dparams->data.F32[i]);
     71    }
     72    if (fitOptions->saveCovariance) {
     73        pcm->modelConv->covar = psMemIncrRefCounter(covar);
    7174    }
    7275    psTrace ("psphot", 4, "niter: %d, chisq: %f", myMin->iter, myMin->value);
Note: See TracChangeset for help on using the changeset viewer.