concepts.utils.interpolation_utils.get_next_target_cubic_spline#

get_next_target_cubic_spline(spl, y, step_size, ys)[source]#

Get the next target point on a cubic spline interpolation.

Parameters:
  • spl (CubicSpline) – the cubic spline interpolation.

  • y (ndarray) – the current point.

  • step_size (float) – the step size.

  • ys (ndarray) – the array of points that the cubic spline interpolation is generated from.

Returns:

the next target point.

Return type:

ndarray