numpy.fft.irfft()

numpy.fft.irfft

numpy.fft.irfft(a, n=None, axis=-1, norm=None) [source]

Compute the inverse of the n-point DFT for real input.

This function computes the inverse of the one-dimensional n-point discrete Fourier Transform of real input computed by rfft. In other words, irfft(rfft(a), len(a)) == a to within numerical accuracy. (See Notes below for why len(a) is necessary here.)

The input is expected to be in the form returned by 登录查看完整内容