[SciPy-User] 2-D data interpolation
Thu May 31 14:44:38 CDT 2012
It's a bit of a special case, but if your starting values are already on a regular grid scipy.ndimage.map_coordinates is what you're after.
On Fri, Jun 1, 2012 1:18 AM NZST Darcoux Christine wrote:
>I am converting a matlab code to python and I am looking for a
>function like interp2  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,
>SciPy-User mailing list
More information about the SciPy-User