SciPy

scipy.interpolate.UnivariateSpline.get_knots

UnivariateSpline.get_knots()[source]

Return positions of interior knots of the spline.

Internally, the knot vector contains 2*k additional boundary knots.