Region of interest: weird results if boundaries coincide with bin boundaries
There are a number of problems with the current ROI code (partly transfered here from #583 (closed)):
-
In IAxis::closestIndex, just change "<" into "<=" and numerous tests will fail. -
For the same reason, GUI test SphericalDetWithRoi had to be disabled in b2b3e20fa. -
Further problem caused by refactoring !1621 (merged), where suite tests were tweaked by shifting ROI boundaries away from bin boundaries.
Edited by Wuttke, Joachim