Simple Interpolation in Numpy?

Nick Bower nick at nickbower.com
Thu Aug 31 05:42:35 EDT 2000



> How do I do do simple interpolation using NumPy?  I can see an
> interpolation function in the NumPy C source, so I'm not sure why it's
> not presented at the Python module level.
>

Found it - was undocumented though.

from Numeric import *
new_y = arrayfns.interp(y,x,new_x)





More information about the Python-list mailing list