Changeset 33838 for trunk/psModules/src/objects/pmSourceMoments.c
- Timestamp:
- May 1, 2012, 11:43:50 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceMoments.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceMoments.c
r32347 r33838 319 319 } 320 320 321 source->moments->Mrf = RF/RS;322 321 source->moments->Mrh = RH/RS; 323 322 324 // if Mrf (first radial moment) is very small, we are getting into low-significance323 // if Mrf = RF/RS (first radial moment) is very small, we are getting into low-significance 325 324 // territory. saturate at minKronRadius. conversely, if Mrf is >> radius for faint 326 325 // sources, we are clearly making an error. saturate at radius. 327 float kronRefRadius = MAX(minKronRadius, source->moments->Mrf);326 float kronRefRadius = MAX(minKronRadius, RF/RS); 328 327 if (source->moments->SN < 10) { 329 328 kronRefRadius = MIN(radius, kronRefRadius); 330 329 } 330 source->moments->Mrf = kronRefRadius; 331 331 332 332 // *** now calculate the kron flux values using the 1st radial moment
Note:
See TracChangeset
for help on using the changeset viewer.
