[SciPy-user] Force a smooth spline through data points?

Stéfan van der Walt stefan at sun.ac.za
Sun May 10 09:21:13 EDT 2009


Hi Andrew

2009/5/9 Andrew Kelly <ndrukelly at gmail.com>:
> Is it possible to force a smoothed spline (scipy.interpolate.splrep() or the
> parametric version) through specific data points?  I am basically trying to
> draw a smooth curve with certain data points that must be included while
> other (less critical) points need only to be smoothed per the norm.  Thanks
> in advance.

You can also take a look at subdivision schemes -- they were designed
for this purpose.

Regards
Stéfan



More information about the SciPy-User mailing list