[SciPy-User] 2-D data interpolation

Darcoux Christine bouloumag@gmail....
Thu May 31 08:18:10 CDT 2012


I am converting a matlab code to python and I am looking for a
function like interp2 [1] for 2-D data interpolation.

My matlab code has calls like

M = interp2(x,y,z, xi,yi, 'cubic')

where x, y and z describe a surface function. The interp2 function
returns a matrix M corresponding to the elements of xi and yi and
determined by cubic interpolation.

Any help would be greatly appreciated,

[1] http://www.mathworks.com/help/techdoc/ref/interp2.html

More information about the SciPy-User mailing list