IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 21, 2011, 10:17:44 AM (15 years ago)
Author:
eugene
Message:

modifiy pmPSF_AxesToModel to take model type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110710/psModules/src/camera/pmReadoutFake.c

    r29004 r32149  
    5151
    5252    psF32 *params = model->params->data.F32; // Model parameters
    53     psEllipseAxes axes = pmPSF_ModelToAxes(params, MAX_AXIS_RATIO); // Ellipse axes
     53    psEllipseAxes axes = pmPSF_ModelToAxes(params, MAX_AXIS_RATIO, model->type); // Ellipse axes
    5454    // Curiously, the minor axis can be larger than the major axis, so need to check.
    5555    if (axes.major >= axes.minor) {
     
    5858        axes.major = axes.minor;
    5959    }
    60     return pmPSF_AxesToModel(params, axes);
     60    return pmPSF_AxesToModel(params, axes, model->type);
    6161}
    6262
Note: See TracChangeset for help on using the changeset viewer.