cancel
Showing results for 
Search instead for 
Did you mean: 

hsdatalog_plot.py -ft from HSDPython_SDK does not plot figure in freq. domain

JW1
Associate

Hello ST team, 

I have logged raw data by using hsdatalog_GUI.py in STM32CubeFunctionPack_DATALOG2_V2.1.1 from STEVAL-STWINKT1b board to PC and seen the FFT diagram in GUI. The acquired raw data was saved locally in an automatically generated folder. After that I tried to plot FFT figure by activing the command hsdatalog_plot.py -ft. However, figures it plot are all in time domain. Figures are attached below. What I expected is the power density spectrum over a frequency band.   

1 REPLY 1
SimonePradolini
ST Employee

Hello @JW1 

The figure you attached is the Power Spectral Density of the accelerometer data, so it is not true that all figures are in time domain.

HSDPython SDK supports PSD calculation for microphones and accelerometers only.

What are you expecting for? Am I misunderstanding your question?

 

Best regards

Simone

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.