Changeset 18355 for trunk/ppStack/src/ppStackMatch.c
- Timestamp:
- Jun 27, 2008, 5:20:38 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackMatch.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackMatch.c
r18346 r18355 10 10 11 11 #define ARRAY_BUFFER 16 // Number to add to array at a time 12 #define MAG_IGNORE 99.0 // Ignore these magnitudes --- they're not real!12 #define MAG_IGNORE 50 // Ignore magnitudes fainter than this --- they're not real! 13 13 #define FAKE_SIZE 1 // Size of fake convolution kernel 14 #define SOURCE_MASK (PM_SOURCE_MODE_FAIL | PM_SOURCE_MODE_DEFECT | PM_SOURCE_MODE_SATURATED | \ 15 PM_SOURCE_MODE_CR_LIMIT) // Mask to apply to input sources 14 16 15 17 //#define TESTING … … 84 86 for (int i = 0; i < sources->n; i++) { 85 87 pmSource *source = sources->data[i]; // Source of interest 86 if (source->psfMag > maxMag && source->psfMag != MAG_IGNORE) {88 if (source->psfMag > maxMag && source->psfMag <= MAG_IGNORE && !(source->mode & SOURCE_MASK)) { 87 89 maxMag = source->psfMag; 88 90 }
Note:
See TracChangeset
for help on using the changeset viewer.
