Fast 2-D interpolation in Python with SciPy regular grid to scattered / irregular evaluation Fast 2-D interpolation in Python with SciPy regular grid to scattered / irregular evaluation numpy numpy

Fast 2-D interpolation in Python with SciPy regular grid to scattered / irregular evaluation


From scipy v0.14.0, RectBivariateSpline.__call__() takes an optional grid= keyword argument which defaults to True:

grid : bool

Whether to evaluate the results on a grid spanned by the input arrays, or at points specified by the input arrays.

So you could use:

splineoutput = myspline(xI, yI, grid=False)