cr.nimble.dsp.orthonormal_dct

cr.nimble.dsp.orthonormal_dct(y)[source]

Computes the 1D Type-II DCT transform such that the transform is orthonormal

Parameters

y (jax.numpy.ndarray) – The 1D real signal

Returns

The orthonormal Type-II Discrete Cosine Transform coefficients of y

Return type

jax.numpy.ndarray

Orthonormality ensures that

(1)\[\langle a, a \rangle = \langle y, y \rangle\]