cupyx.scipy.signal.qspline1d#

cupyx.scipy.signal.qspline1d(signal, lamb=0.0)[source]#

Compute quadratic spline coefficients for rank-1 array.

Parameters:
  • signal (ndarray) – A rank-1 array representing samples of a signal.

  • lamb (float, optional) – Smoothing coefficient (must be zero for now).

Returns:

c – Quadratic spline coefficients.

Return type:

ndarray

See also

qspline1d_eval

Evaluate a quadratic spline at the new set of points.

Notes

Find the quadratic spline coefficients for a 1-D signal assuming mirror-symmetric boundary conditions. To obtain the signal back from the spline representation mirror-symmetric-convolve these coefficients with a length 3 FIR window [1.0, 6.0, 1.0]/ 8.0 .