This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / interpolate / _fitpack2 / _curfit

function

scipy.interpolate._fitpack2:_curfit

source: build-install/usr/lib/python3.14/site-packages/scipy/interpolate/_fitpack2.py:53

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