[SciPy-user] Stineman interpolation

John Hunter jdh2358@gmail....
Sat May 30 13:09:06 CDT 2009


On Sat, May 30, 2009 at 12:57 PM, Krishna Bhagavatula
<krisphoenix89@gmail.com> wrote:
> Hi,
>
> Stineman interpolation is supposed to be a well behaved method of
> interpolation.
>
> Can someone explain why it's behaving wildly in a simple case:
>
> x = (0, 10, 70, 100)
> y = (0, 535, 595, 1000)
> xx = arange(0,100,1)

> yy = stineman_interp(xx,x,y,yp=None)
> plot(x,y,'x')
> plot(xx,yy)
>
> Are there any exceptions when it does not behave well?

I believe you are using the matplotlib.mlab stineman_interp funciton
-- as far as I know this function is not in scipy.  If so, you should
direct your question to matplotlib-users

http://lists.sourceforge.net/mailman/listinfo/matplotlib-users

In your post, you may also want to CC the original author
Norbert.Nemec at physik.uni-regensburg.de and describe more precisely
what you mean by "behaving wildly"

JDH


More information about the SciPy-user mailing list