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.meshgrid
to 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
- x (array_like broadcastable to (n_0, n_1, …, n_(xdim-1), xdim) or arguments to