- firstDerivative(data, options?): {
data: {
x: Float64Array;
y: Float64Array;
};
} Parameters
data: DataXY<Float64Array>
Returns {
data: {
x: Float64Array;
y: Float64Array;
};
}
data: {
x: Float64Array;
y: Float64Array;
}
x: Float64Array
y: Float64Array
Calculate the first derivative using Savitzky–Golay filter.