IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 28, 2006, 5:03:53 PM (20 years ago)
Author:
eugene
Message:

updates to psEllipse functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotChoosePSF.c

    r10202 r10267  
    288288    shape.sy  = modelPSF->params->data.F32[PM_PAR_SYY];
    289289    shape.sxy = modelPSF->params->data.F32[PM_PAR_SXY];
    290     axes = psEllipseShapeToAxes (shape);
     290    axes = psEllipseShapeToAxes (shape, 20.0);
    291291
    292292    psF64 FWHM_Y = FWHM_X * (axes.minor / axes.major);
     
    330330        moments.xy = source->moments->Sxy;
    331331
    332         axes = psEllipseMomentsToAxes (moments);
     332        // limit axis ratio < 20.0
     333        axes = psEllipseMomentsToAxes (moments, 20.0);
    333334
    334335        FWHM_X += axes.major * 2.35;
Note: See TracChangeset for help on using the changeset viewer.