- Timestamp:
- Nov 22, 2013, 2:38:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot/src/psphotMergeSources.c
r36213 r36299 129 129 extCFF = psMetadataLookupPtr (NULL, readoutCFF->analysis, "PSPHOT.DETECTIONS"); 130 130 if (extCFF) { 131 psF32 exptime = psMetadataLookupF32(NULL, readout->parent->concepts, "CELL.EXPOSURE"); 131 132 for (int i = 0; i < extCFF->allSources->n; i++) { 132 133 pmSource *source = extCFF->allSources->data[i]; … … 136 137 source->mode |= PM_SOURCE_MODE_EXTERNAL; 137 138 138 // source->peak->detValue,rawFlux,smoothFlux all set to input flux value 139 // source->peak->detValue,rawFlux,smoothFlux all set to input flux value which is scaled 140 // to 1 second exposure time. Scale to this image's exposure. 141 source->peak->rawFlux *= exptime; 142 source->peak->smoothFlux *= exptime; 143 source->peak->detValue *= exptime; 139 144 // source->peak->xf,yf, moments->Mx,My all set to input position 140 145
Note:
See TracChangeset
for help on using the changeset viewer.
