denspp.offline.preprocessing.transformation#
Module Contents#
Functions#
Performing the Discrete Fast Fourier Transformation. |
|
Performing the Discrete Fast Fourier Transformation with imaginary part. |
|
Perform inverse real FFT. |
API#
- denspp.offline.preprocessing.transformation.do_fft(y: numpy.ndarray, fs: float, method_window: str = 'hamming') [numpy.ndarray, numpy.ndarray][source]#
Performing the Discrete Fast Fourier Transformation.
- Parameters:
y – Transient input signal
fs – Sampling rate [Hz]
method_window – Selected window [‘’: None, ‘Hamming’, ‘hanning’, ‘guassian’, ‘bartlett’, ‘blackman’]
- Returns:
Tuple with (1) freq - Frequency and (2) Y - Discrete output
- denspp.offline.preprocessing.transformation.do_fft_withimag(y: numpy.ndarray, fs: float, method_window: str = '') [numpy.ndarray, numpy.ndarray][source]#
Performing the Discrete Fast Fourier Transformation with imaginary part.
- Parameters:
y – Transient input signal
fs – Sampling rate [Hz]
method_window – Selected window
- Returns:
Tuple with (1) freq - Frequency and (2) Y - Discrete output