numpy.fft.hfft(a, n=None, axis=-1)

Compute the fft of a signal which spectrum has Hermitian symmetry.


a : array

input array

n : int

length of the hfft

axis : int

axis over which to compute the hfft

See also

rfft, ihfft


These 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 hermite_fft 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.

Previous topic


Next topic


This Page

Quick search