colour.kernel_sinc#
- colour.kernel_sinc(x: ArrayLike, a: float = 3) NDArrayFloat [source]#
Return the sinc kernel evaluated at given samples.
- Parameters:
x (ArrayLike) – Samples at which to evaluate the sinc kernel.
a (float) – Size of the sinc kernel.
- Returns:
The sinc kernel evaluated at given samples.
- Return type:
References
[BB09]
Examples
>>> kernel_sinc(np.linspace(0, 1, 10)) array([ 1.0000000...e+00, 9.7981553...e-01, 9.2072542...e-01, 8.2699334...e-01, 7.0531659...e-01, 5.6425327...e-01, 4.1349667...e-01, 2.6306440...e-01, 1.2247694...e-01, 3.8981718...e-17])