This is documentation for an old release of SciPy (version 0.18.1). Read this page in the documentation of the latest stable release (version 1.15.0).
scipy.interpolate.Akima1DInterpolator.integrate¶
- Akima1DInterpolator.integrate(a, b, extrapolate=None)[source]¶
Compute a definite integral over a piecewise polynomial.
Parameters: a : float
Lower integration bound
b : float
Upper integration bound
extrapolate : {bool, ‘periodic’, None}, optional
If bool, determines whether to extrapolate to out-of-bounds points based on first and last intervals, or to return NaNs. If ‘periodic’, periodic extrapolation is used. If None (default), use self.extrapolate.
Returns: ig : array_like
Definite integral of the piecewise polynomial over [a, b]