[Numpy-discussion] passing non-flat array to interpolator

Thomas temesgen123@gmail....
Mon Apr 26 11:04:12 CDT 2010



I have some problem with interpolators in Scipy
does anyone knows if there is a way to pass a non-flat 
array variables to Rbf, or other Scipy interpolator
eg. for my case of 17 x 1 problems of 500 data size

x1.shape = (500,)
x2.shape = (500,)
...
X17.shape =(500,)
b = Rbf(x1,x2,x3,...,x17,y)

i would rather create a non-flat variables 
x.shape =(500,17) and pass it to Rbf, or even for all the 
interpolator in Scipy as
 bf = Rbf(X, Y)
How can i do this ?  Thank you for your time.
Thomas




More information about the NumPy-Discussion mailing list