ess.imaging.normalize.apply_threshold_to_sample_images#
- ess.imaging.normalize.apply_threshold_to_sample_images(samples, sample_threshold)[source]#
Apply the threshold to the sample image stack.
- Parameters:
samples (
normalize.CleansedSampleImages
(scipp.DataArray
)) – Sample image stack.sample_threshold (
normalize.SamplePixelThreshold
(scipp.Variable
)) – Threshold for the sample pixel values. Any pixel values less thansample_threshold
are replaced withsample_threshold
.
- Return type: