IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12342


Ignore:
Timestamp:
Mar 8, 2007, 1:37:44 PM (19 years ago)
Author:
rhl
Message:

Scale up errors by sqrt(factor applied to chi2). This is correct if the errors are Gaussian but misestimated, and seems wise anyway

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel-0-8/psphot/src/psphotEvalPSF.c

    r11167 r12342  
    114114
    115115    SN  = model->params->data.F32[PM_PAR_I0]/model->dparams->data.F32[PM_PAR_I0];
     116    SN *= sqrt(model->chisqNorm/model->chisq);  // allow for bad measured chisq
     117
    116118    SX  = model->params->data.F32[PM_PAR_SXX];
    117119    SY  = model->params->data.F32[PM_PAR_SYY];
Note: See TracChangeset for help on using the changeset viewer.