IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 17, 2014, 5:58:38 AM (12 years ago)
Author:
eugene
Message:

merge in changes from trunk (up through pv3 tag)

Location:
branches/eam_branches/ipp-20140610
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140610

  • branches/eam_branches/ipp-20140610/ppSim/src/ppSimInsertStars.c

    r36375 r36884  
    116116        // (inserting flux with a variable radius introduces a flux-dependent bias)
    117117        if (radius < 0) {
    118           radius = model->modelRadius (model->params, nSigmaLim * roughNoise);
     118          radius = model->class->modelRadius (model->params, nSigmaLim * roughNoise);
    119119          radius = PS_MAX (radius,  1.0);
    120120          radius = PS_MIN (radius, 50.0);
     
    126126        // XXX set the mag & err values (should this be done in pmSourceFromModel?)
    127127        // XXX i should be applying the gain and the correct effective area
    128         psEllipseAxes axes = pmPSF_ModelToAxes (model->params->data.F32, model->type);
     128        psEllipseAxes axes = pmPSF_ModelToAxes (model->params->data.F32, model->class->useReff);
    129129        float Area = 2.0 * M_PI * axes.major * axes.minor;
    130130
Note: See TracChangeset for help on using the changeset viewer.