Changeset 29546 for trunk/psModules/src/objects/pmSource.c
- Timestamp:
- Oct 25, 2010, 2:54:22 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSource.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSource.c
r29004 r29546 132 132 133 133 // default values are NAN 134 source->psfMag = NAN; 135 source->psfFlux = NAN; 136 source->psfFluxErr = NAN; 137 source->extMag = NAN; 138 source->errMag = NAN; 139 source->apMag = NAN; 140 source->sky = NAN; 141 source->skyErr = NAN; 142 source->pixWeightNotBad = NAN; 134 source->psfMag = NAN; 135 source->psfFlux = NAN; 136 source->psfFluxErr = NAN; 137 source->extMag = NAN; 138 source->errMag = NAN; 139 source->apMag = NAN; 140 source->apMagRaw = NAN; 141 source->apRadius = NAN; 142 source->apFlux = NAN; 143 source->apFluxErr = NAN; 144 source->sky = NAN; 145 source->skyErr = NAN; 146 source->pixWeightNotBad = NAN; 143 147 source->pixWeightNotPoor = NAN; 144 148 145 source->psfChisq = NAN;146 source->crNsigma = NAN;147 source->extNsigma = NAN;149 source->psfChisq = NAN; 150 source->crNsigma = NAN; 151 source->extNsigma = NAN; 148 152 149 153 psTrace("psModules.objects", 10, "---- end ----\n"); … … 644 648 // The following determinations require the use of moments 645 649 if (!(source->mode & noMoments)) { 646 // likely defect (too small to be stellar) (push out to 3 sigma) 647 // low S/N objects which are small are probably stellar 648 // XXX these limits are quite arbitrary 649 if (sigX < 0.05 || sigY < 0.05) { 650 // likely defect (bright, but too small to be stellar) 651 // XXX eliminate the classification? 652 if ((source->moments->SN > 10) && (sigX < 0.05 || sigY < 0.05)) { 650 653 source->type = PM_SOURCE_TYPE_DEFECT; 651 654 source->mode |= PM_SOURCE_MODE_DEFECT;
Note:
See TracChangeset
for help on using the changeset viewer.
