compute_time_derivative#
- movement.kinematics.compute_time_derivative(data, order)[source]#
Compute the time-derivative of an array using numerical differentiation.
This function uses
xarray.DataArray.differentiate(), which differentiates the array with the second-order accurate central differences method.- Parameters:
- Returns:
An xarray DataArray containing the time-derivative of the input data.
- Return type:
See also
xarray.DataArray.differentiate()The underlying method used.