Changeset 17236
- Timestamp:
- Mar 30, 2008, 8:40:06 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080324/psphot/src/psphotBlendFit.c
r16820 r17236 40 40 // skip non-astronomical objects (very likely defects) 41 41 if (source->mode & PM_SOURCE_MODE_BLEND) continue; 42 if (source->mode & PM_SOURCE_MODE_CR_LIMIT) continue; 42 43 if (source->type == PM_SOURCE_TYPE_DEFECT) continue; 43 44 if (source->type == PM_SOURCE_TYPE_SATURATED) continue; … … 79 80 // XXX re-consider conditions under which the source has EXT fit: 80 81 // I should try EXT if the source size measurement says it is large 81 if (psphotFitBlend (readout, source, psf, maskVal)) { 82 psTrace ("psphot", 5, "source at %7.1f, %7.1f is psf", source->moments->x, source->moments->y); 83 Npsf ++; 84 continue; 85 } 86 if (psphotFitBlob (readout, source, sources, psf, maskVal)) { 87 psTrace ("psphot", 5, "source at %7.1f, %7.1f is ext", source->moments->x, source->moments->y); 88 Next ++; 89 continue; 90 } 82 if (source->mode & PM_SOURCE_MODE_EXT_LIMIT) { 83 if (psphotFitBlob (readout, source, sources, psf, maskVal)) { 84 source->type = PM_SOURCE_TYPE_EXTENDED; 85 psTrace ("psphot", 5, "source at %7.1f, %7.1f is ext", source->moments->x, source->moments->y); 86 Next ++; 87 continue; 88 } 89 } else { 90 if (psphotFitBlend (readout, source, psf, maskVal)) { 91 source->type = PM_SOURCE_TYPE_STAR; 92 psTrace ("psphot", 5, "source at %7.1f, %7.1f is psf", source->moments->x, source->moments->y); 93 Npsf ++; 94 continue; 95 } 96 } 91 97 92 98 psTrace ("psphot", 5, "source at %7.1f, %7.1f failed", source->moments->x, source->moments->y);
Note:
See TracChangeset
for help on using the changeset viewer.
