Click or drag to resize

PeakFinderCWTIdentifyRidgeLines Method

Identifies ridge lines in a continuous wavelet transformation matrix.

Namespace: Altaxo.Science.Spectroscopy.PeakSearching
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static List<RidgeLine> IdentifyRidgeLines(
	IROMatrix<double> matr,
	Func<int, int> max_distances,
	int maximalGap
)

Parameters

matr  IROMatrixDouble
The continuous wavelet transformation (CWT) matrix. Each row in the matrix represents the transformation for one width. It is assumed that the width increases with increasing row number.
max_distances  FuncInt32, Int32
A function that takes a row index and returns the maximal distance (in points) allowed between the current x-position of a ridge line and the x-position of a maximum identified in the CWT matrix.
maximalGap  Int32
The maximal number of rows that is allowed to bridge between the end of a ridge line and a maximum in the CWT matrix.

Return Value

ListRidgeLine
List of ridge lines. Each ridge line is represented by a list of tuples (row index, column index, and CWT coefficient).
See Also