I am not from electrical eng. or physics background, so a layman explanation would be appreciated. I work with sensor data (accelerometer) from wearable device, collected for few hours.
I take few samples from it, and prepared a fixed sized samples of 100-time steps. This is the acceleration (actually 1 dim) magnitude over time (100 seconds).
Then I would like to obtain the
FFT of the instances. I used Python's scipy libary to transform this to frequency domain,
from scipy.fft import fft import numpy as np fft_values = fft(data) magnitude = np.abs(fft_values)
So for each instance of
N=100 I obtained
100 frequency components, since I am taking the absolute values of the
The result is what I plot in this figure, showing instance in time and frequency domains.
However, I a separate question, someone commented that I should only consider the real components of the
FFT in this case, since I am dealing acceleration not signal.
I cannot reach out the commenter for details.
From what I understand, he was suggesting that I get
50 FFT values for each sample sized
Can someone explains this further please?