Oct-11-2021, 03:18 PM
(This post was last modified: Oct-11-2021, 03:18 PM by player1682.)
(Oct-11-2021, 03:05 PM)deanhystad Wrote: I suggest you find a more recent tutorial. From scipy documentation for interpolate.Rbf
https://docs.scipy.org/doc/scipy/referen...e.Rbf.html
Quote:Rbf is legacy code, for new usage please use RBFInterpolator instead.It looks like you want change the axes for you plot. Try this:
fnew=newfunc(ynew, xnew)
Thanks for the advice I will start reading documentation on interpolate.Rbf.
I have tried swithching X and Y as you suggest. I get the attached figure. It has to be something else. I hope it has to do with the obsolete code.
Edit:
newfunc=scipy.interpolate.Rbf(resulttokenX2.astype('float'), resulttokenY2.astype('float'), resulttokenF2.astype('float'), function='linear')returns the same values