Expand description
Smoothing spline surfaces for scattered data (SciPy’s bisplrep / bisplev and
SmoothBivariateSpline, LSQBivariateSpline).
See the book entry FITPACK smoothing splines.
Structs§
- Smooth
Bivariate Spline - A tensor-product spline surface
s(x, y) = Σᵢⱼ c[i][j] Bᵢ(x) Bⱼ(y)(SciPy’stckfrombisplrep), with the weighted sum of squared residuals of its fit.
Functions§
- bisplrep
- A smoothing spline surface through scattered data with automatically placed knots (SciPy’s
bisplrep/SmoothBivariateSpline, after FITPACK’ssurfit): of the splines withΣ (wᵢ (zᵢ − s(xᵢ, yᵢ)))² ≤ smoothing, the one whosekx-th x- andky-th y-derivatives jump least across the knots.smoothing = Nonegives SciPy’s defaultm − √(2m). - bisplrep_
lsq - The weighted least-squares spline surface on given knots (SciPy’s
bisplrep(task=-1)andLSQBivariateSpline). As in FITPACK, only the interior knots oftxandtyare used: thek + 1boundary knots at each end are placed at the data’s range (SciPy’s defaultxb,xe,yb,ye). Coefficients that no data point influences are set to zero.