- Timestamp:
- Jun 19, 2012, 5:24:19 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/psModules
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/psModules/src/objects/pmSourceMoments.c
r33415 r34041 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.
