aesara.tensor.fft.irfft#
- aesara.tensor.fft.irfft(inp, norm=None, is_odd=False)[source]#
Performs the inverse fast Fourier Transform with real-valued output.
The input is a variable of dimensions (m, …, n//2+1, 2) representing the non-trivial elements of m real-valued Fourier transforms of initial size (…, n). The real and imaginary parts are stored as a pair of float arrays.
The output is a real-valued variable of dimensions (m, …, n) giving the m inverse FFTs.
- Parameters:
inp – Array of size (m, …, n//2+1, 2), containing m inputs with n//2+1 non-trivial elements on the last dimension and real and imaginary parts stored as separate real arrays.
norm ({None, 'ortho', 'no_norm'}) – Normalization of transform. Following numpy, default None normalizes only the inverse transform by n, ‘ortho’ yields the unitary transform ( forward and inverse). In addition, ‘no_norm’ leaves the transform unnormalized.
is_odd ({True, False}) – Set to True to get a real inverse transform output with an odd last dimension of length (N-1)*2 + 1 for an input last dimension of length N.