SciPy

scipy.signal.cspline1d_eval

scipy.signal.cspline1d_eval(cj, newx, dx=1.0, x0=0)[source]

Evaluate a spline at the new set of points.

dx is the old sample-spacing while x0 was the old origin. In other-words the old-sample points (knot-points) for which the cj represent spline coefficients were at equally-spaced points of:

oldx = x0 + j*dx j=0...N-1, with N=len(cj)

Edges are handled using mirror-symmetric boundary conditions.