- Timestamp:
- Mar 18, 2011, 2:10:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psphot/src/psphotSourceStats.c
r30883 r30975 398 398 399 399 // skip faint sources for moments measurement 400 if (s ource->peak->SN< MIN_SN) {400 if (sqrt(source->peak->detValue) < MIN_SN) { 401 401 source->mode |= PM_SOURCE_MODE_BELOW_MOMENTS_SN; 402 402 Nfaint++; … … 494 494 int Nout[NSIGMA]; // number of stars found in clump : use this to control the number of regions measured by psphotRoughClass 495 495 496 // this sorts by peak-> SN497 sources = psArraySort (sources, pmSourceSortBy SN);496 // this sorts by peak->rawFlux 497 sources = psArraySort (sources, pmSourceSortByFlux); 498 498 499 499 // loop over radii: … … 508 508 509 509 // skip faint sources for moments measurement 510 if (s ource->peak->SN< MIN_SN) {510 if (sqrt(source->peak->detValue) < MIN_SN) { 511 511 continue; 512 512 }
Note:
See TracChangeset
for help on using the changeset viewer.
