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 e5b9763 commit 08465d5Copy full SHA for 08465d5
src/ess/reflectometry/conversions.py
@@ -149,6 +149,9 @@ def add_masks(
149
wb: WavelengthBins,
150
zlim: ZIndexLimits,
151
) -> MaskedData[RunType]:
152
+ da.masks["beam_divergence_too_large"] = sc.abs(
153
+ da.coords["angle_from_center_of_beam"]
154
+ ) > sc.scalar(0.7, unit='deg')
155
da.masks["y_index_range"] = (da.coords["y_index"] < ylim[0]) | (
156
da.coords["y_index"] > ylim[1]
157
)
0 commit comments