aspcore.fouriertransform.irfft

aspcore.fouriertransform.irfft(freq_signal, n=None)

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.

Returns:

time_signal – The transformed signal

Return type:

ndarray