Skip to content

Commit c45b3ba

Browse files
ev-brj-bowhay
andauthored
DOC: interpolate: add a tutorial page for smoothing splines (scipy#21840)
* DOC: interpolate: improve the math layout in make_{splrep,splprep} * DOC: interpolate/tutorial: discuss spline smoothing Focus on math content, describe basic API, illustrate on toy examples. Gory details are best for the API docs. --------- Co-authored-by: Jake Bowhay <[email protected]>
1 parent 55a3627 commit c45b3ba

File tree

3 files changed

+408
-46
lines changed

3 files changed

+408
-46
lines changed

doc/source/tutorial/interpolate.rst

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,31 @@ interpolation* can be summarized as follows:
5252
+------------------+-------------------------+------------------------------+------------------------+---------------------------------------+
5353

5454

55-
For data smoothing, :ref:`functions are provided <tutorial-interpolate_fitpack>`
56-
for 1- and 2-D data using cubic splines, based on the FORTRAN library FITPACK.
55+
Smoothing and approximation of data
56+
===================================
5757

58-
Additionally, routines are provided for interpolation / smoothing using
59-
:ref:`radial basis functions <tutorial-interpolate_RBF>` with several kernels.
58+
+-------------------------------+-------------------------+-------------------------------+
59+
| | `make_smoothing_spline` | classic smoothing splines, |
60+
| | | GVC penalty |
61+
| 1D spline functions +-------------------------+-------------------------------+
62+
| | `make_splrep` | automated/semi-automated knot |
63+
| | | selection |
64+
+-------------------------------+-------------------------+-------------------------------+
65+
| spine curves in N-D | `make_splprep` | |
66+
+-------------------------------+-------------------------+-------------------------------+
67+
| unconstrained least squares | `make_lsq_spline` | |
68+
| spline fit | | |
69+
+-------------------------------+-------------------------+-------------------------------+
70+
| 2D smoothing surfaces | `bisplrep` | scattered data |
71+
+-------------------------------+-------------------------+-------------------------------+
72+
| | `RectBivariateSpline` | gridded data |
73+
+-------------------------------+-------------------------+-------------------------------+
74+
| Radial basis functions in N-D | `RBFInterpolator` | |
75+
+-------------------------------+-------------------------+-------------------------------+
76+
77+
78+
**Further details are given in the links below**
6079

61-
Further details are given in the links below.
6280

6381
.. toctree::
6482
:maxdepth: 3

0 commit comments

Comments
 (0)