Changeset 41416 for trunk/psphot/src/psphotMergeSources.c
- Timestamp:
- Sep 17, 2020, 12:21:28 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotMergeSources.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotMergeSources.c
r38560 r41416 104 104 pmSource *source = extCMF->allSources->data[i]; 105 105 source->mode |= PM_SOURCE_MODE_EXTERNAL; 106 source->tmpFlags = 0; 107 // these flags are used to track the state of analysis of the sources, but 108 // at this point, these sources are now effectively new so the flags 109 // should be cleared. 106 110 107 111 // the supplied peak flux needs to be re-normalized … … 135 139 // keep the Mx,My values for the centroid. 136 140 source->mode |= PM_SOURCE_MODE_EXTERNAL; 141 source->tmpFlags = 0; 142 // these flags are used to track the state of analysis of the sources, but 143 // at this point, these sources are now effectively new so the flags 144 // should be cleared. 137 145 138 146 // source->peak->detValue,rawFlux,smoothFlux all set to input flux value which is scaled … … 165 173 pmSource *source = extSourcesTXT->data[i]; 166 174 source->mode |= PM_SOURCE_MODE_EXTERNAL; 175 source->tmpFlags = 0; 176 // these flags are used to track the state of analysis of the sources, but 177 // at this point, these sources are now effectively new so the flags 178 // should be cleared. 167 179 168 180 // the supplied peak flux needs to be re-normalized … … 253 265 pmSource *newSource = pmSourceCopy(inSource); 254 266 newSource->mode |= PM_SOURCE_MODE_EXTERNAL; 267 newSource->tmpFlags = 0; 268 // these flags are used to track the state of analysis of the sources, but 269 // at this point, these sources are now effectively new so the flags 270 // should be cleared. 255 271 256 272 // drop the loaded source modelPSF
Note:
See TracChangeset
for help on using the changeset viewer.
