- 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/psphotMergeSources.c
r36198 r36213 38 38 psArray *newSources = detections->newSources; 39 39 psAssert (newSources, "missing sources?"); 40 41 // XXX TEST:42 if (detections->allSources) {43 psphotMaskCosmicRayFootprintCheck(detections->allSources);44 }45 if (detections->newSources) {46 psphotMaskCosmicRayFootprintCheck(detections->newSources);47 }48 40 49 41 if (!detections->allSources) { … … 139 131 for (int i = 0; i < extCFF->allSources->n; i++) { 140 132 pmSource *source = extCFF->allSources->data[i]; 133 134 // setting this bit not only tracks the inputs, it makes pmSourceMoments 135 // keep the Mx,My values for the centroid. 141 136 source->mode |= PM_SOURCE_MODE_EXTERNAL; 142 137 143 // the supplied peak flux needs to be re-normalized 144 source->peak->rawFlux = 1.0; 145 source->peak->smoothFlux = 1.0; 146 source->peak->detValue = 1.0; 138 // source->peak->detValue,rawFlux,smoothFlux all set to input flux value 139 // source->peak->xf,yf, moments->Mx,My all set to input position 147 140 148 141 // drop the loaded source modelPSF
Note:
See TracChangeset
for help on using the changeset viewer.
