electricpy.math.rfft¶
- electricpy.math.rfft(arr, dt=0.01, absolute=True, resample=True)[source]¶
RFFT Function.
This function is designed to evaluat the real FFT of a input signal in the form of an array or list.
- Parameters:
arr (numpy.ndarray) – The input array representing the signal
dt (float, optional) – The time-step used for the array, default=0.01
absolute (bool, optional) – Control argument to force absolute values, default=True
resample (bool, optional) – Control argument specifying whether the FFT output should be resampled, or if it should have a specific resampling rate, default=True
- Return type:
FFT Array