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/psphotChoosePSF.c

    r19793 r19881  
    474474        if (!(source->mode & PM_SOURCE_MODE_PSFSTAR)) continue;
    475475
    476         // moments->Sx,Sy are roughly sigma_x,y
    477         moments.x2 = PS_SQR(source->moments->Sx);
    478         moments.y2 = PS_SQR(source->moments->Sy);
    479         moments.xy = source->moments->Sxy;
     476        moments.x2 = source->moments->Mxx;
     477        moments.y2 = source->moments->Myy;
     478        moments.xy = source->moments->Mxy;
    480479
    481480        // limit axis ratio < 20.0
Note: See TracChangeset for help on using the changeset viewer.