IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2010, 4:28:19 PM (16 years ago)
Author:
eugene
Message:

save the predicted Io error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/ppSim/src/ppSimInsertStars.c

    r28659 r28816  
    122122        source->psfMag = -2.5*log10(star->flux);
    123123        source->errMag = sqrt(Area*PS_SQR(roughNoise) + flux) / flux;
     124       
     125        // set the expected model errors
     126        model->dparams->data.F32[PM_PAR_I0] = source->errMag * model->params->data.F32[PM_PAR_I0];
    124127
    125128        float par8 = (model->params->n == 8) ? model->params->data.F32[7] : 0.0;
Note: See TracChangeset for help on using the changeset viewer.