SciPy

This is documentation for an old release of SciPy (version 0.17.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.interpolate.LSQUnivariateSpline.set_smoothing_factor

LSQUnivariateSpline.set_smoothing_factor(s)[source]

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.