- numpy.fft.ihfft(a, n=None, axis=-1)¶
Compute the inverse FFT of a signal whose spectrum has Hermitian symmetry.
a : array_like
n : int, optional
Length of the inverse FFT.
axis : int, optional
Axis over which to compute the inverse FFT, assuming Hermitian symmetry of the spectrum. Default is the last axis.
out : ndarray
The transformed input.
hfft/ihfft are a pair analogous to rfft/irfft, but for the opposite case: here the signal is real in the frequency domain and has Hermite symmetry in the time domain. So here it’s hfft for which you must supply the length of the result if it is to be odd: ihfft(hfft(a), len(a)) == a, within numerical accuracy.