Refactor R&T computation
Reenact refactoring of 21mar23, which was reverted on 24apr23 because it had insufficient test coverage, and possibly was causing regression in the handling of underflow in case of very opaque samples.
Reenacting commits are waiting in branch i576a. Before merging them, the following conditions must be fulfilled:
- Provide functional tests of transmission of very opaque samples (#545).
- Study the effect of the ad-hoc underflow correction.
- Write up the implemented math.
Edited by Wuttke, Joachim