IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 7, 2010, 9:44:38 AM (16 years ago)
Author:
eugene
Message:

adjust test output filenames; add radius init to extended source fits; add Mminor test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/psphot/src/psphotSourceSize.c

    r29311 r29347  
    413413        // ** CRs are reliably flagged by a combination on Mminor < X && mag (or flux) > Y
    414414
    415         Mminor = 0.5*(Mxx + Myy) - 0.5*sqrt(PS_SQR(Mxx - Myy) + 4.0*PS_SQR(Mxy));
     415        float Mminor = 0.5*(Mxx + Myy) - 0.5*sqrt(PS_SQR(Mxx - Myy) + 4.0*PS_SQR(Mxy));
     416        if ((Mminor < 1.0) && (apMag < -8.0)) {
     417            fprintf (stderr, "likely CR @ %f,%f\n", source->peak->xf, source->peak->yf);
     418        }
    416419
    417420        // XXX do I need to find the Mminor, Mmajor distribution?
Note: See TracChangeset for help on using the changeset viewer.