Click or drag to resize

PeakFinder_select_by_peak_threshold Method

Evaluates threshold constraints for the supplied peaks.

Namespace: Altaxo.Science.Spectroscopy.PeakSearching
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
protected (bool[] , double[] , double[] ) _select_by_peak_threshold(
	IReadOnlyList<double> x,
	int[] peaks,
	double[] tmin,
	double[] tmax
)

Parameters

x  IReadOnlyListDouble
The signal values.
peaks  Int32
The peak indices.
tmin  Double
The minimum threshold values for each peak.
tmax  Double
The maximum threshold values for each peak.

Return Value

ValueTupleBoolean, Double, Double
A mask of accepted peaks together with the left and right threshold differences.
See Also