[SciPy-User] newbie help: splprep to get spline interpolation of 2d signal : ValueError from code but not in command line example
Thu Sep 29 16:34:46 CDT 2011
On 29.09.2011 23:24, hari jayaram wrote:
> x = linspace(20,81,2339)
> y = sin(x)
> tck = interpolate.splrep(x, y)
> tck = interpolate.splprep(x=ys)
Note that there are two functions: `splrep` and `splprep`, and they do
somewhat different things (read the docs for each to find out more).
You probably intendeded to write `splrep(xs, ys)` in the latter case.
More information about the SciPy-User