IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2012, 3:55:33 PM (14 years ago)
Author:
eugene
Message:

update the comments to ellipse functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psEllipse.c

    r19996 r34257  
    88#include "psTrace.h"
    99#include "psEllipse.h"
     10
     11// we have four representations of the elliptical profile of a Gaussian
     12// f = exp(-z) where z describes the elliptical contour at any flux level:
     13
     14// sigma shape: z = 0.5((x/sx)^2 + (y/sy)^2 + sxy*x*y)
     15// sigma axes : z = 0.5((x/sa)^2 + (y/sb)^2), x,y rotated by theta
     16// moments    : z = 0.5(x^2/Mxx + y^2/Myy + x*y*Mxy)
     17// polarization : e0, e1, e2
    1018
    1119// ellipse rotation (major, minor, theta) -> (x2, y2, xy)
     
    107115}
    108116
    109 // ellipse rotation (x2, y2, xy) -> (major, minor, theta)
     117// ellipse rotation (x2, y2, xy) -> (major, minor, theta).  NOTE: major, minor are the
     118// 1-sigma lengths in the major,minor directions assuming the moments represent a Gaussian
     119// profile
    110120psEllipseAxes psEllipseMomentsToAxes(psEllipseMoments moments, double maxAR)
    111121{
Note: See TracChangeset for help on using the changeset viewer.