Changeset 29457
- Timestamp:
- Oct 17, 2010, 9:22:28 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100823/psphot/src/psphotGuessModels.c
r29004 r29457 176 176 177 177 // We have two options to get a guess for the object position: the position from the 178 // peak and the position from the moments. Use the peak position if (a) there are no 179 // moments and (b) the sources is not saturated 180 178 // peak and the position from the moments. Use the peak position if there are no 179 // moments 180 181 # if (0) 182 bool useMoments = true; 183 # else 181 184 bool useMoments = false; 182 185 useMoments = (source->mode & PM_SOURCE_MODE_SATSTAR); // we only want to try if SATSTAR is set, but.. 186 # endif 187 183 188 useMoments = (useMoments && source->moments); // can't if there are no moments 184 189 useMoments = (useMoments && source->moments->nPixels); // can't if the moments were not measured
Note:
See TracChangeset
for help on using the changeset viewer.
