Changeset 32344
- Timestamp:
- Sep 6, 2011, 11:04:18 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110710/psModules/src/objects/pmSourceMatch.c
r31451 r32344 38 38 PM_SOURCE_MODE_CR_LIMIT | PM_SOURCE_MODE_EXT_LIMIT) // Mask to apply to input sources 39 39 #define SOURCE_FAINTEST 50.0 // Faintest magnitude to consider 40 #define SOURCE_BRIGHTEST -30.0 // Brightest magnitude to consider 40 41 #define SOURCES_MAX_LEAF 2 // Maximum number of points on a tree leaf 41 42 #define ARRAY_BUFFER 16 // Buffer for array … … 88 89 pmSource *source = sources->data[i]; // Source of interest 89 90 if (!source || (source->mode & SOURCE_MASK) || !isfinite(source->psfMag) || 90 !isfinite(source->psfMagErr) || source->psfMag > SOURCE_FAINTEST ) {91 !isfinite(source->psfMagErr) || source->psfMag > SOURCE_FAINTEST || source->psfMag < SOURCE_BRIGHTEST) { 91 92 continue; 92 93 }
Note:
See TracChangeset
for help on using the changeset viewer.
