scipy.interpolate
scipy.interpolate.ppform.from_bernstein_basis
scipy.interpolate.ppform.fromspline
ppform.
from_spline
Construct a piecewise polynomial from a spline
tck
A spline, as returned by splrep
splrep
extrapolate : bool, optional
Whether to extrapolate to ouf-of-bounds points based on first and last intervals, or to return NaNs. Default: True.