[SciPy-user] Dose the interpolation functions exist in Python or Scipy module?

Stefan van der Walt stefan@sun.ac...
Sun Apr 15 10:32:32 CDT 2007


On Fri, Apr 13, 2007 at 05:58:38PM -0400, Anne Archibald wrote:
> On 13/04/07, Xiaojian Wang <wangxj.uc@gmail.com> wrote:
> > Hi,  Dose the interpolation function library exist in Python or Scipy
> > module?,
> > I want to  generate a surface with known points in 3D,  such as using
> > bi-cubic spline etc. I did it in F77 long time ago.
> 
> There is a library, scipy.interpolate, which provides access to many
> interpolation functions, and in particular cubic (and I think bicubic)
> splines. Be aware that it sometimes defaults to smoothing splines
> rather than strictly interpolating splines.

John Travers recently refactored parts of the fitpack interface to
distinguish between interpolation at smoothing.  Take a look at

scipy.interpolate.RectBivariateSpline
scipy.interpolate.UnivariateSpline
scipy.interpolate.BivariateSpline

Regards
Stéfan


More information about the SciPy-user mailing list