SciPy

scipy.interpolate.PiecewisePolynomial.__call__

PiecewisePolynomial.__call__(x)[source]

Evaluate the interpolant

Parameters:

x : array-like

Points to evaluate the interpolant at.

Returns:

y : array-like

Interpolated values. Shape is determined by replacing the interpolation axis in the original array with the shape of x.