IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 27, 2007, 12:14:08 PM (19 years ago)
Author:
magnier
Message:

converting the PSF model fits to the polariation terms (replacing Sx,Sy,Sxy)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourcePlotPSFModel.c

    r12949 r13064  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2007-04-21 19:47:14 $
     7 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2007-04-27 22:14:08 $
    99 *
    1010 *  Copyright 2006 IfA, University of Hawaii
     
    120120        moments.xy = source->moments->Sxy;
    121121
    122         psEllipseShape shape;
    123         shape.sx  = PAR[PM_PAR_SXX] / sqrt(2.0);
    124         shape.sy  = PAR[PM_PAR_SYY] / sqrt(2.0);
    125         shape.sxy = PAR[PM_PAR_SXY];
    126 
    127122        // force the axis ratio to be < 20.0
    128123        psEllipseAxes axes_mnt = psEllipseMomentsToAxes (moments, 20.0);
    129         psEllipseAxes axes_psf = psEllipseShapeToAxes (shape, 20.0);
     124        psEllipseAxes axes_psf = pmPSF_ModelToAxes (PAR, 20.0);
    130125
    131126        // moments major axis
Note: See TracChangeset for help on using the changeset viewer.