darsia.LinearKernel#
- class LinearKernel(a=0)[source]#
Bases:
BaseKernelLinear kernel.
NOTE: Allows to to avoid singularities by shifting the kernel by a constant.
Methods
linear_combination(signal, supports, ...)Linear combination using a numba version of the Gaussian kernel.
Attributes
Shift of the kernel.
- linear_combination(signal, supports, interpolation_weights)[source]#
Linear combination using a numba version of the Gaussian kernel.
- Parameters:
- signal
np.ndarray Signal to be interpolated.
- supports
np.ndarray Supports.
- interpolation_weights
np.ndarray Interpolation weights.
- signal
- Returns:
np.ndarrayInterpolated signal.
- a#
Shift of the kernel.