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