function finite_difference_operator_midpoints

deeptime.util.diff.finite_difference_operator_midpoints(xs, k=1, window_radius=2)

Yields a finite difference operator on midpoints. The midpoints are derived from the xs grid, first and last node are extrapolated.

Parameters:
  • xs (ndarray) – Grid points.

  • k

  • window_radius