splineFittingDerivation#

pyCGM2.Math.derivation.splineFittingDerivation(values: ndarray, sampleFrequency: int, order: int = 1) ndarray#

Spline fitting derivation of an array of values.

Parameters:
  • values (np.ndarray) – Array of values for spline fitting.

  • sampleFrequency (int) – Sampling frequency of the data.

  • order (int, optional) – Order of derivation. Defaults to 1.

Returns:

np.ndarray – Derivative values after spline fitting.