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

Stéfan van der Walt stefan@sun.ac...
Sun May 10 08:21:13 CDT 2009


Hi Andrew

2009/5/9 Andrew Kelly <ndrukelly@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