[SciPy-User] scipy 0.9 griddata

Wolfgang Kerzendorf wkerzendorf@googlemail....
Wed Nov 17 10:19:05 CST 2010


Dear all,

We were using griddata for a 1d interpolation.

The first problem was that it would try to use in line 164 interp1d 
which was not imported at the beginning. We added:

from interpolate import interp1d

at the beginning of the file.

Another fix i did was at line 161: I changed ndim = points.shape[-1] to 
ndim = points.ndim.

----
Could someone have a look over these changes? Is that sensible? Can you 
guys import them into scipe?

Cheers
    Wolfgang


More information about the SciPy-User mailing list