[SciPy-user] Bilinear Interpolation

Stefan van der Walt stefan at sun.ac.za
Tue Sep 26 12:23:52 CDT 2006


On Tue, Sep 26, 2006 at 11:19:37AM -0500, Ryan May wrote:
> Is there function for doing a simple bilinear interpolation in scipy?  I 
> tried the interpolate.interp2d routines, but it appears that it uses 
> B-splines even when kind='linear' is specified. (I wouldn't otherwise 
> care except that my class assignment explicitly says to use
> bilinear.)

I'm speaking under correction, but if you choose 'linear', b-splines
of degree 1 (i.e. straight lines) are used and you are doing linear
interpolation.

Regards
Stéfan


More information about the SciPy-user mailing list