What does scipy.interpolate.InterpolatedUnivariateSpline.get_coeffs return?
I tried the following: spline= interpolate.InterpolatedUnivariateSpline(X, Y, k=3) coefs= spline.get_coeffs() With five values in each of X and Y , I ended up with coefs also having five values. Given that five data points implies four spline sections, and that a cubic polynomial has four coefficients, I would have expected to get four times four= 16 coefficients. Does anyone know how to interpret the values that are returned by the get_coeffs method? Is there any place where this is documented? These are not the coefficients of x, x**2, and so forth: such monomials are ill-suited to