IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 13, 2014, 11:09:24 AM (12 years ago)
Author:
eugene
Message:

ensure pmPSF_AxesToModel and pmPSF_ModelToAxes uses class->useReff (not the old model->type)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimInsertStars.c

    r36862 r36868  
    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.