scipy.interpolate
UnivariateSpline.
set_smoothing_factor
Continue spline computation with the given smoothing factor s and with the knots found at the last call.
This routine modifies the spline in place.
scipy.interpolate.UnivariateSpline.roots
scipy.interpolate.InterpolatedUnivariateSpline