secondOrderFiniteDifference#

pyCGM2.Math.derivation.secondOrderFiniteDifference(values: ndarray, sampleFrequency: int) → ndarray#

Second-order differentiation of an array using finite difference method.

Parameters:
  • values (np.ndarray) – Array of values to differentiate.

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

Returns:

np.ndarray – Second-order derivative values.