We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a03844 commit dfa3188Copy full SHA for dfa3188
src/ess/reflectometry/normalization.py
@@ -79,9 +79,7 @@ def reduce_sample_over_zw(
79
80
Returns reflectivity as a function of ``blade``, ``wire`` and :math:`\\wavelength`.
81
"""
82
- R = sample.bins.concat(('stripe',)).bin(wavelength=wbins) / reference.data
83
- R.masks["too_few_events"] = reference.data < sc.scalar(1, unit="counts")
84
- return R
+ return sample.bins.concat(('stripe',)).bin(wavelength=wbins) / reference.data
85
86
87
providers = (
0 commit comments