bundles / scipy latest / scipy / signal / _spline_filters / cspline2d
function
scipy.signal._spline_filters:cspline2d
Signature
def cspline2d ( signal , lamb = 0.0 , precision = -1.0 ) Summary
Coefficients for 2-D cubic (3rd order) B-spline.
Extended Summary
Return the third-order B-spline coefficients over a regularly spaced input grid for the two-dimensional input image.
Parameters
input: ndarrayThe input signal.
lamb: floatSpecifies the amount of smoothing in the transfer function.
precision: floatSpecifies the precision for computing the infinite sum needed to apply mirror-symmetric boundary conditions.
Returns
output: ndarrayThe filtered signal.
Notes
Array API Standard Support
cspline2d has experimental support for Python Array API Standard compatible backends in addition to NumPy. Please consider testing these features by setting an environment variable SCIPY_ARRAY_API=1 and providing CuPy, PyTorch, JAX, or Dask arrays as array arguments. The following combinations of backend and device (or other capability) are supported.
==================== ==================== ==================== Library CPU GPU ==================== ==================== ==================== NumPy ✅ n/a CuPy n/a ✅ PyTorch ✅ ⛔ JAX ⚠️ no JIT ⛔ Dask ⚠️ computes graph n/a ==================== ==================== ====================
See
dev-arrayapifor more information.
Aliases
-
scipy.signal.cspline2d