PeakFinderCWTGetRelativeExtrema(IROMatrixDouble, FuncDouble, Double, Boolean, Int32, Int32) Method |
Gets a boolean matrix of the same dimensions as the provided data matrix,
in which the points at which a relative extrema is found, are set to true.
Namespace: Altaxo.Science.Spectroscopy.PeakSearchingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool[,] GetRelativeExtrema(
IROMatrix<double> data,
Func<double, double, bool> comparator,
int axis = 0,
int order = 1
)
Parameters
- data IROMatrixDouble
- The data matrix.
- comparator FuncDouble, Double, Boolean
- The comparator function.
- axis Int32 (Optional)
- The axis which is iterated over. 0: for each column, the maxima of the row values will be evaluated.
1: for each row, the maxima of the column values will be evaluated.
- order Int32 (Optional)
- The number of points to compare to the left and right of the considered point Must be >=1.
Return Value
Boolean[Missing <returns> documentation for "M:Altaxo.Science.Spectroscopy.PeakSearching.PeakFinderCWT.GetRelativeExtrema(Altaxo.Calc.LinearAlgebra.IROMatrix{System.Double},System.Func{System.Double,System.Double,System.Boolean},System.Int32,System.Int32)"]
Exceptions See Also