BSpline.__call__(x, nu=0, extrapolate=None)[source]

Evaluate a spline function.


x : array_like

points to evaluate the spline at.

nu: int, optional

derivative to evaluate (default is 0).

extrapolate : bool, optional

whether to extrapolate based on the first and last intervals or return nans. Default is self.extrapolate.


y : array_like

Shape is determined by replacing the interpolation axis in the coefficient array with the shape of x.