SciPy

scipy.interpolate.LSQUnivariateSpline.get_knots

LSQUnivariateSpline.get_knots()[source]

Return positions of interior knots of the spline.

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