matrix to get the local maxima
Optionaloptions: {options of the method.
Optionalcols?: numberOptionalfilteredData?: number[] | Float64Arrayconvoluted data, if it is defined the convolution step is skipped
Optionalkernel?: number[][] | Float64Array[]kernel to the convolution step.
Optionallabelling?: "drain" | "floodfill"select the labelling algorithm to assign pixels.
OptionalnStdDev?: numbernumber of times of the standard deviations for the noise level.Float64Array
OptionaloriginalData?: number[] | Float64Arrayoriginal data useful when the original matrix has values and the input matrix has absolute ones
Optionalrows?: number
Detects all the 2D-peaks in the given spectrum based on center of mass logic.