IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13076


Ignore:
Timestamp:
Apr 27, 2007, 3:31:42 PM (19 years ago)
Author:
magnier
Message:

fixed a sign error : double check the math on the polarization terms (currently consistent, but could be wrong)

File:
1 edited

Legend:

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

    r13063 r13076  
    3535    pol.e0 = r*(PS_SQR(shape.sx) + PS_SQR(shape.sy));
    3636    pol.e1 = r*(PS_SQR(shape.sx) - PS_SQR(shape.sy));
    37     pol.e2 = r*(2.0*PS_SQR(shape.sx)*PS_SQR(shape.sy)*shape.sxy);
     37    // XXX I do not understand this negative sign
     38    pol.e2 = -r*(2.0*PS_SQR(shape.sx)*PS_SQR(shape.sy)*shape.sxy);
    3839
    3940    assert (isfinite(pol.e0));
Note: See TracChangeset for help on using the changeset viewer.