- Timestamp:
- Sep 19, 2009, 8:49:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psphot/src/psphotSourceSize.c
r25433 r25452 334 334 bool isPSF = (fabs(nSigma) < options->nSigmaApResid) && (fabs(Mxx - psfClump->X) < options->nSigmaMoments*psfClump->dX) && (fabs(Myy - psfClump->Y) < options->nSigmaMoments*psfClump->dY); 335 335 if (isPSF) { 336 if (Mxx > 3.0) { 337 fprintf (stderr, "!"); 338 } 336 339 Npsf ++; 337 340 continue; … … 354 357 355 358 // 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)); 357 360 if (isEXT) { 358 361 source->mode |= PM_SOURCE_MODE_EXT_LIMIT; … … 361 364 } 362 365 366 fprintf (stderr, "miss %f,%f : %f %f -- %f\n", source->peak->xf, source->peak->yf, Mxx, Myy, nSigma); 363 367 Nmiss ++; 364 368 }
Note:
See TracChangeset
for help on using the changeset viewer.
