[SciPy-User] 2D interpolation on random points of a function defined on a regular grid

denis denis-bz-py at t-online.de
Wed Apr 24 05:22:31 EDT 2013


Antonio <tritemio <at> gmail.com> writes:

> I'm trying (with no success) to compute the interpolated values of a 2D
> function that is known on a regular grid X,Y.  Although the function is
> defined on a regular grid I want to compute the interpolation on arbitrary
> positions.

See the nice example of ndimage.map_coordinates under
http://stackoverflow.com/questions/6238250/multivariate-spline-interpolation-in-python-scipy

(Some knowledgeable people like Fitpack, some map_coordinates;
both need better doc.)

cheers
  -- denis






More information about the SciPy-User mailing list