Click or drag to resize

SpikeRemovalByEnsembleStatisticsGetPercentileBounds Method

Computes robust lower and upper bounds from the provided sorted data by taking the values at lowerPercentile and upperPercentile and extending the interval by multiplier standard deviations estimated from the percentile range.

Namespace: Altaxo.Science.Spectroscopy.EnsembleProcessing
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static (double lowerBound, double upperBound) GetPercentileBounds(
	double[] sorted,
	double lowerPercentile,
	double upperPercentile,
	double multiplier
)

Parameters

sorted  Double
A sorted array of values (ascending).
lowerPercentile  Double
Lower percentile (e.g. 0.10).
upperPercentile  Double
Upper percentile (e.g. 0.90).
multiplier  Double
Number of sigmas to extend the bounds by.

Return Value

ValueTupleDouble, Double
A tuple with the computed lower and upper bounds.
See Also