splineDerivation#
- pyCGM2.Math.derivation.splineDerivation(values: ndarray, sampleFrequency: int, order: int = 1)#
Spline derivation of an array of values.
- Parameters:
values (np.ndarray) – Array of values for spline derivation.
sampleFrequency (int) – Sampling frequency of the data.
order (int, optional) – Order of derivation. Defaults to 1.
- Returns:
np.ndarray – Derivative values after spline derivation.