IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35647


Ignore:
Timestamp:
Jun 11, 2013, 9:23:59 AM (13 years ago)
Author:
eugene
Message:

pmPSF_ModelToAxes no longer takes maxAR

File:
1 edited

Legend:

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

    r35455 r35647  
    3535#include "pmReadoutFake.h"
    3636
    37 #define MAX_AXIS_RATIO 20.0             // Maximum axis ratio for PSF model
     37// XXX this is now hard-wired in pmModelParamsToAxes
     38// #define MAX_AXIS_RATIO 20.0             // Maximum axis ratio for PSF model
     39
    3840#define MODEL_MASK (PM_MODEL_STATUS_NONCONVERGE | PM_MODEL_STATUS_OFFIMAGE | \
    3941                    PM_MODEL_STATUS_BADARGS | PM_MODEL_STATUS_LIMITS) // Mask to apply to models
     
    5254
    5355    psF32 *params = model->params->data.F32; // Model parameters
    54     psEllipseAxes axes = pmPSF_ModelToAxes(params, MAX_AXIS_RATIO, model->type); // Ellipse axes
     56    psEllipseAxes axes = pmPSF_ModelToAxes(params, model->type); // Ellipse axes
    5557    // Curiously, the minor axis can be larger than the major axis, so need to check.
    5658    if (axes.major >= axes.minor) {
Note: See TracChangeset for help on using the changeset viewer.