aspcore.fouriertransform.dft.irfft
- aspcore.fouriertransform.dft.irfft(freq_signal, n=None, removed_freqs=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.
removed_freqs (int or 2-tuple of 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. If an int is supplied, it is the number of low frequencies that were removed. If a 2-tuple is supplied, it is the number of low and high frequencies that were removed, respectively.
- Returns:
time_signal – The transformed signal
- Return type:
ndarray