[SciPy-User] Spline interpolation using splrep,splev
Jaidev Deshpande
deshpande.jaidev at gmail.com
Mon Jun 27 10:05:46 EDT 2011
Hi
I'm using scipy.interpolate.splrep and splev to construct cubic splines.
These functions are part of the 'fitpack' module, and they raise an error
when the number of nodes to be interpolated are less than the order of the
spline.
For instance, these functions can't produce a cubic spline for less than
four nodes.
Why does this happen? Surely, there can be two cubical functions between
three points that follow the necessary end-point restraints!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110627/4252cb78/attachment.html>
More information about the SciPy-User
mailing list