[SciPy-user] question to spline interpolation

A. M. Archibald peridot.faceted at gmail.com
Thu Nov 23 13:23:32 CST 2006

On 23/11/06, Christian Meesters <meesters at uni-mainz.de> wrote:
> Hoi,
> Perhaps a dump question, but I can't find a solution:
> I have a smooth, continous 1D curve, represented in an numpy array, wich I
> want to interpolate. The data in y start from zero and should an on zero.

Just add a zero value at the end, so that you have points (x_min,0)
and (x_max,0) in your array. If you want the *derivative* to be zero
too it'll take more cleverness.

A. M. Archibald

More information about the SciPy-user mailing list