concepts.math.interpolation_utils.project_to_linear_spline#
- project_to_linear_spline(spl, y, minimum_x=None)[source]#
Project a point to a linear spline interpolation.
- Parameters:
spl (LinearSpline) – the linear spline interpolation.
y (ndarray) – the point to be projected.
minimum_x (float | None) – the minimum x value to be considered.
- Returns:
the time of the projected point.
- Return type: