ess.ymir.normalize.apply_threshold_to_sample_images#
- ess.ymir.normalize.apply_threshold_to_sample_images(samples, sample_threshold)[source]#
Apply a mask based on the threshold to the sample image stack.
- Parameters:
samples (
ess.ymir.normalize.CleansedSampleImages(scipp.DataArray)) – Sample image stack.sample_threshold (
ess.ymir.normalize.SamplePixelThreshold(scipp.Variable)) – Threshold for the sample pixel values. Any pixel values less thansample_thresholdwill be masked.
- Return type: