Changeset 19881 for trunk/psphot/src/psphotModelTest.c
- Timestamp:
- Oct 3, 2008, 11:00:18 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotModelTest.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotModelTest.c
r18555 r19881 143 143 source->peak->value = source->moments->Peak; 144 144 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); 147 147 148 148 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; 152 152 psEllipseAxes axes = psEllipseMomentsToAxes (moments, 20.0); 153 153
Note:
See TracChangeset
for help on using the changeset viewer.
