- Timestamp:
- Oct 13, 2013, 1:35:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot/src/psphotSourceStats.c
r35112 r36213 58 58 pmDetections *detections = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.DETECTIONS"); 59 59 psAssert (detections, "missing detections?"); 60 61 // XXX TEST:62 if (detections->allSources) {63 psphotMaskCosmicRayFootprintCheck(detections->allSources);64 }65 if (detections->newSources) {66 psphotMaskCosmicRayFootprintCheck(detections->newSources);67 }68 60 69 61 // determine the number of allowed threads … … 246 238 psphotVisualShowMoments (sources); 247 239 248 // clear the mark bits249 // psImageMaskPixels (readout->mask, "AND", PS_NOT_IMAGE_MASK(markVal));250 251 if (detections->allSources) {252 psphotMaskCosmicRayFootprintCheck(detections->allSources);253 }254 if (detections->newSources) {255 psphotMaskCosmicRayFootprintCheck(detections->newSources);256 }257 258 240 return true; 259 241 } … … 572 554 573 555 // measure basic source moments (no S/N clipping on input pixels) 556 // sources with (mode & MODE_EXTERNAL) or (mode2 & MODE2_MATCHED) use the 557 // supplied Mx,My value for the centroid (not recalculated) 574 558 status = pmSourceMoments (source, 4*sigma[i], sigma[i], 0.0, 0.0, maskVal); 575 559 }
Note:
See TracChangeset
for help on using the changeset viewer.
