ndsplines.make_interp_spline¶
- ndsplines.make_interp_spline(x, y, degrees=3)¶
Construct an interpolating B-spline.
- Parameters:
x (array_like broadcastable to (n_0, n_1, …, n_(xdim-1), xdim) or arguments to
numpy.meshgridto construct same.) – Abscissas.y (array_like, shape (n_0, n_1, ..., n_(xdim-1),) + yshape) – Ordinates.
degrees (ndarray, shape=(xdim,), dtype=np.intc) – Degree of interpolant for each axis (or broadcastable). Optional, default is 3.
- Returns:
b – An interpolating NDSpline.
- Return type:
NDSpline object
See also