concepts.utils.interpolation_utils.get_next_target_linear_spline#

get_next_target_linear_spline(spl, y, step_size, minimum_x=None)[source]#

Get the next target point on a linear spline interpolation.

Parameters:
  • spl (LinearSpline) – the linear spline interpolation.

  • y (ndarray) – the current point.

  • step_size (float) – the step size.

  • minimum_x (float | None) – the minimum x value to be considered.

Returns:

the next target point.

Return type:

ndarray