ess.ymir.normalize.apply_threshold_to_background_image#
- ess.ymir.normalize.apply_threshold_to_background_image(background, background_threshold)[source]#
Apply a mask based on the threshold to the background image.
- Parameters:
background (
ess.ymir.normalize.CleansedOpenBeamImage(scipp.DataArray)) – Background image.background_threshold (
ess.ymir.normalize.BackgroundPixelThreshold(scipp.Variable)) – Threshold for the background pixel values. Any pixel values less thanbackground_thresholdwill be masked.
- Return type: