Changeset 31670 for trunk/psModules/src/objects/pmSourceMoments.c
- Timestamp:
- Jun 22, 2011, 12:48:29 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceMoments.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceMoments.c
r31451 r31670 264 264 265 265 // if Mrf (first radial moment) is very small, we are getting into low-significance 266 // territory. saturate at minKronRadius. conversely, if Mrf is > radius, we are clearly 267 // making an error. saturate at radius. 268 float kronRefRadius = MIN(radius, MAX(minKronRadius, source->moments->Mrf)); 266 // territory. saturate at minKronRadius. conversely, if Mrf is >> radius for faint 267 // sources, we are clearly making an error. saturate at radius. 268 float kronRefRadius = MAX(minKronRadius, source->moments->Mrf); 269 if (source->moments->SN < 10) { 270 kronRefRadius = MIN(radius, kronRefRadius); 271 } 269 272 270 273 float radKinner = 1.0*kronRefRadius;
Note:
See TracChangeset
for help on using the changeset viewer.
