Changeset 18356
- Timestamp:
- Jun 27, 2008, 5:21:40 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackSources.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackSources.c
r18354 r18356 7 7 #define SOURCE_MASK (PM_SOURCE_MODE_FAIL | PM_SOURCE_MODE_DEFECT | PM_SOURCE_MODE_SATURATED | \ 8 8 PM_SOURCE_MODE_CR_LIMIT) // Mask to apply to input sources 9 #define SOURCE_FAINTEST 50.0 // Faintest magnitude to consider 9 10 #define SOURCES_MAX_LEAF 2 // Maximum number of points on a tree leaf 10 11 … … 68 69 for (long i = 0; i < numSources; i++) { 69 70 pmSource *source = sources->data[i]; // Source of interest 70 if (!source || (source->mode & SOURCE_MASK) || !isfinite(source->psfMag) || source->psfMag == 99.0) { 71 if (!source || (source->mode & SOURCE_MASK) || !isfinite(source->psfMag) || 72 source->psfMag > SOURCE_FAINTEST) { 71 73 continue; 72 74 }
Note:
See TracChangeset
for help on using the changeset viewer.
