IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 19, 2009, 8:49:41 AM (17 years ago)
Author:
eugene
Message:

further work on the petrosian analysis & extended sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psphot/src/psphotSourceSize.c

    r25433 r25452  
    334334        bool isPSF = (fabs(nSigma) < options->nSigmaApResid) && (fabs(Mxx - psfClump->X) < options->nSigmaMoments*psfClump->dX) && (fabs(Myy - psfClump->Y) < options->nSigmaMoments*psfClump->dY);
    335335        if (isPSF) {
     336            if (Mxx > 3.0) {
     337                fprintf (stderr, "!");
     338            }
    336339            Npsf ++;
    337340            continue;
     
    354357
    355358        // XXX allow the Mxx, Myy to be less than psfClump->X,Y (by some nSigma)?
    356         bool isEXT = (nSigma > options->nSigmaApResid) && (Mxx > psfClump->X) && (Myy > psfClump->Y);
     359        bool isEXT = (nSigma > options->nSigmaApResid) || ((Mxx > psfClump->X) && (Myy > psfClump->Y));
    357360        if (isEXT) {
    358361            source->mode |= PM_SOURCE_MODE_EXT_LIMIT;
     
    361364        }
    362365
     366        fprintf (stderr, "miss %f,%f : %f %f -- %f\n", source->peak->xf, source->peak->yf, Mxx, Myy, nSigma);
    363367        Nmiss ++;
    364368    }
Note: See TracChangeset for help on using the changeset viewer.