简体   繁体   中英

How to Extract the following Frequency-domain Features in Python?

Please feel free to point out any errors\/improvements in the existing code<\/h3>

So this is a very basic question and I only have a beginner level understanding of signal processing. I have a 1.02 second accelerometer data sampled at 32000 Hz. I am looking to extract the following frequency domain features after having performed FFT in python -

<\/h3>

The csv file containing data has four columns: Time, X Axis Value, Y Axis Value, Z Axis Value (The accelerometer is a triaxial one). So far on python, I have been able to visualize the time domain data, apply convolution filter to it, applied FFT and generated a Spectogram that shows an interesting shock

<\/h1>

<\/h1>

<\/h1>

<\/h1>
<\/h1>
#Matrix needs to be transformed in order to have horizontal time domain mfcc_features = mfcc_features.T plt.matshow(mfcc_features) plt.title('MFCC')<\/code><\/pre>

enter image description here<\/a> enter image description here<\/a>

"

我认为您的fft摄取程序不正确,fft输出通常是峰值,而在进行abs吸收时应该是一个峰值, 因为 ,可能应该将其更改为Y = np.fft.fftshift(np.abs(np.fft.fft(signal)))Y=np.abs(np.fft.fftshift(signal)

Did you ever have any luck with generating RMSF, spectral kurtosis and spectral skewness? I'm struggling with these two.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM