Click or drag to resize

PeakSearchingNoneCombineResults Method

Combines the results of two lists of PeakDescription instances into one list. Note that both input lists must already be sorted by position.

Namespace: Altaxo.Science.Spectroscopy.PeakSearching
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static List<PeakDescription> CombineResults(
	List<PeakDescription> peaksRegular,
	List<PeakDescription> peaksEnhanced,
	double[] xRegular,
	double[] yRegular
)

Parameters

peaksRegular  ListPeakDescription
The result of the regular peak search.
peaksEnhanced  ListPeakDescription
The result of the peak search performed on an enhanced spectrum.
xRegular  Double
The x-array of the spectrum that was used to find the regular peaks.
yRegular  Double
The y-array of the spectrum that was used to find the regular peaks.

Return Value

ListPeakDescription
A list containing the combined results.
See Also