aspcore.fouriertransform.rfft
- aspcore.fouriertransform.rfft(time_sig, n=None)
Computes the real FFT
- Parameters:
time_sig (ndarray) – The signal to be transformed. The last axis should correspond to time
n (int, optional) – length of the FFT. If None, the length is the length of the last axis of time_sig
- Returns:
freq_signal – The transformed signal
- Return type:
ndarray
Notes
Corresponds to numpy.fft.rfft, but with the time convention used in this package.