aspcore.fouriertransform.dft.irfft
- aspcore.fouriertransform.dft.irfft(freq_signal, n=None, num_freqs_removed_low=0)
Inverse FFT, and moves the first axis to the last axis
- Parameters:
freq_signal (ndarray) – The signal to be transformed. The first axis should correspond to frequency
n (int, optional) – length of the FFT. This is the length of the resulting time domain signal, not the frequency domain input. If not supplied, it is assumed to be 2 * (freq_signal.shape[0] - 1), corresponding to the output of rfft without argument. To get an odd output length, you need to supply n.
num_freqs_removed_low (int, optional) – The number of frequencies that were removed from the low end of the spectrum. Default option is 0, which corresponds to the full real DFT. The low frequencies are filled in with zeros.
- Returns:
time_signal – The transformed signal
- Return type:
ndarray