IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 3, 2008, 11:00:18 AM (18 years ago)
Author:
eugene
Message:

converted pmMoments elements to Mxx, Myy, Mxxx, etc; using pmPeak position in most cases instead of moments

File:
1 edited

Legend:

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

    r18555 r19881  
    143143    source->peak->value = source->moments->Peak;
    144144
    145     fprintf (stderr, "sum: %f @ (%f, %f)\n", source->moments->Sum, source->moments->x, source->moments->y);
    146     fprintf (stderr, "moments: %f, %f - %f\n", source->moments->Sx, source->moments->Sy, source->moments->Sxy);
     145    fprintf (stderr, "sum: %f @ (%f, %f)\n", source->moments->Sum, source->moments->Mx, source->moments->My);
     146    fprintf (stderr, "moments: %f, %f - %f\n", source->moments->Mxx, source->moments->Myy, source->moments->Mxy);
    147147
    148148    psEllipseMoments moments;
    149     moments.x2 = source->moments->Sx;
    150     moments.y2 = source->moments->Sy;
    151     moments.xy = source->moments->Sxy;
     149    moments.x2 = source->moments->Mxx;
     150    moments.y2 = source->moments->Myy;
     151    moments.xy = source->moments->Mxy;
    152152    psEllipseAxes axes = psEllipseMomentsToAxes (moments, 20.0);
    153153
Note: See TracChangeset for help on using the changeset viewer.