IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 3, 2013, 2:37:22 PM (13 years ago)
Author:
eugene
Message:

deprecate KiiOpen,KiiClose (now KapaOpen,etc); major rework of psEllipse translations : use common functions pmModelAxesToParams and pmModelParamsToAxes ; use new convergence method in pmPCM_MinimizeChisq; add convergence crerition options to psMinimization; threaded versions of pmPSFtryFitEXT and pmPSFtryFitPSF

Location:
trunk/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules

  • trunk/psModules/src/camera/pmReadoutFake.c

    r35455 r35768  
    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.