segmentByLocalExtrema(x,y,dx,dataFilterLength,derivedFilterLength)¶
Definition¶
Integer segmentByLocalExtrema(Number x, Number y, Number dx, Number dataFilterLength, Number derivedFilterLength)
Description¶
segment data based on local extremas of function f(x,y)
Parameter Definition¶
Name | Type | Description |
---|---|---|
x | Number | Number array x |
y | Number | Number array y |
dx | Number | step size for calculating the derivate |
dataFilterLength | Number | Filter length used in the low-pass filter to smooth the number array y. If the length is equal to 1, smoothing is skipped |
derivedFilterLength | Number | Filter length used in the low-pass filter to smooth the derivate. If the length is equal to 1, smoothing is skipped |