[SciPy-user] Periodic spline interpolation bug / memory error?

Travis Oliphant oliphant at ee.byu.edu
Wed Mar 15 16:40:07 CST 2006

Zachary Pincus wrote:

>Hi folks,
>I'm trying to estimate smooth contours with scipy's parametric  
>splines, given a set of (x, y) points known to lie along the contour.
>Now, because contours are closed, special care must be taken to  
>ensure that the interpolated value at the last point be the same as  
>the interpolated value at the first point.

You've potentially uncovered a bug.  

For periodic interpolation, I typically use Fourier methods.  I presume, 
your known points are not "equally-spaced" though?

Hopefully your example will let us find the problem.


More information about the SciPy-user mailing list