Skip to content

Commit dfa3188

Browse files
committed
fix: remove old unnecessary mask
1 parent 0a03844 commit dfa3188

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ess/reflectometry/normalization.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ def reduce_sample_over_zw(
7979
8080
Returns reflectivity as a function of ``blade``, ``wire`` and :math:`\\wavelength`.
8181
"""
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
82+
return sample.bins.concat(('stripe',)).bin(wavelength=wbins) / reference.data
8583

8684

8785
providers = (

0 commit comments

Comments
 (0)