We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e7e29f commit fef3a51Copy full SHA for fef3a51
src/ess/sans/i_of_q.py
@@ -74,7 +74,8 @@ def preprocess_monitor_data(
74
# For subtracting the background from the monitors, we need to remove the
75
# variances because the broadcasting operation will fail.
76
# We add a simple check comparing the background level to the total number
77
- # of counts. TODO: is this check good enough?
+ # of counts.
78
+ # TODO: is this check good enough? See https://github.com/scipp/ess/issues/174
79
bg = sc.values(background)
80
if (bg / monitor.sum()).value > 0.1:
81
raise ValueError(
0 commit comments