PeakFinderCWTIdentifyRidgeLines Method |
Identifies the ridge lines in a continous wavelet transformation matrix
Namespace: Altaxo.Science.Spectroscopy.PeakSearchingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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, using the row number as argument, and returning the maximal distance (in points) that is allowed
between the current x value of the 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
ListRidgeLineList of ridge lines. Each ridge line is represented by a list of tuples (row number, column number, and Cwt coefficient).
See Also