Reputation: 2802
In SciPy's interpolation module there is a function called interp1d. The documentation says that it is a spline interpolation: http://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp1d.html I could however nowhere find what is the boundary condition on the endpoints. For instance, in the case of a cubic spline, one should specify the derivatives (or the second derivatives) at the endpoints. What are the values used by interp1d?
Upvotes: 1
Views: 659
Reputation: 26090
CubicSpline
, which is new in scipy 0.18, allows a user control over the boundary conditions. Neither FITPACK nor interp1d do.
Upvotes: 1