ess.nmx.scaling.cut_tails#
- ess.nmx.scaling.cut_tails(scaled_intensities, left_threashold=<scipp.Variable> () float64 [dimensionless] 0.1, right_threshold=<scipp.Variable> () float64 [dimensionless] 2)[source]#
Cut the right tail of the estimated scaled intensities by the threshold.
- Parameters:
scaled_intensities (
scaling.EstimatedScaledIntensities
(scipp.DataArray
)) – The scaled intensities to be filtered.left_threashold (
scaling.ScaledIntensityLeftTailThreshold
(scipp.Variable
), default:<scipp.Variable> () float64 [dimensionless] 0.1
) – The threshold to be cut from the left tail.right_threshold (
scaling.ScaledIntensityRightTailThreshold
(scipp.Variable
), default:<scipp.Variable> () float64 [dimensionless] 2
) – The threshold to be cut from the right tail.
- Returns:
scaling.FilteredEstimatedScaledIntensities
(scipp.DataArray
) – The filtered scaled intensities with the tails cut.