bundles / scipy 1.18.0 / scipy / interpolate / _fitpack2 / _curfit
function
scipy.interpolate._fitpack2:_curfit
Signature
def _curfit(x, y, k, w = None, xb = None, xe = None, s = None, nest = None, iopt = 0, t = None, c = None, n = None, fpint = None, nrdata = None)Summary
Wrapper for curfit that provides a simpler interface.
Extended Summary
iopt=0: find smoothing spline (initial call) iopt=1: continue with current knots (refinement) iopt=-1: least squares fit with fixed knots
Returns: n, t, c, fp, ier For compatibility with old code, can be unpacked as: _data = (x, y, w, xb, xe, k, s, n, t, c, fp, None, None, ier)
Aliases
scipy.interpolate._fitpack2._curfit