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

    r13477 r19881  
    6161        if (source->moments == NULL) continue;
    6262   
    63         xFaint->data.F32[nF] = source->moments->Sx;
    64         yFaint->data.F32[nF] = source->moments->Sy;
     63        xFaint->data.F32[nF] = source->moments->Mxx;
     64        yFaint->data.F32[nF] = source->moments->Myy;
    6565        nF++;
    6666   
     
    6868        if (source->moments->SN < 25) continue;
    6969
    70         xBright->data.F32[nB] = source->moments->Sx;
    71         yBright->data.F32[nB] = source->moments->Sy;
     70        xBright->data.F32[nB] = source->moments->Mxx;
     71        yBright->data.F32[nB] = source->moments->Myy;
    7272        nB++;
    7373    }
     
    160160
    161161        psEllipseMoments moments;
    162         moments.x2 = source->moments->Sx;
    163         moments.y2 = source->moments->Sy;
    164         moments.xy = source->moments->Sxy;
     162        moments.x2 = source->moments->Mxx;
     163        moments.xy = source->moments->Mxy;
     164        moments.y2 = source->moments->Myy;
    165165
    166166        psEllipseShape shape;
Note: See TracChangeset for help on using the changeset viewer.