IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 13, 2014, 10:57:01 AM (12 years ago)
Author:
eugene
Message:

ensure pmPSF_AxesToModel and pmPSF_ModelToAxes uses class->useReff (not the old model->type); read in AP_FLUX and AP_FLUX_SIG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmReadoutFake.c

    r36861 r36866  
    5555
    5656    psF32 *params = model->params->data.F32; // Model parameters
    57     psEllipseAxes axes = pmPSF_ModelToAxes(params, model->type); // Ellipse axes
     57    psEllipseAxes axes = pmPSF_ModelToAxes(params, model->class->useReff); // Ellipse axes
    5858    // Curiously, the minor axis can be larger than the major axis, so need to check.
    5959    if (axes.major >= axes.minor) {
     
    6262        axes.major = axes.minor;
    6363    }
    64     return pmPSF_AxesToModel(params, axes, model->type);
     64    return pmPSF_AxesToModel(params, axes, model->class->useReff);
    6565}
    6666
Note: See TracChangeset for help on using the changeset viewer.