Open TheOne-1 opened 2 months ago
As discussed in person, we lose a time point when finite differencing the inverse kinematics trajectories, and this lost time point might be getting propagated to the forces when aligning time points during preprocessing. Since there is no acceleration at this time point the forces might be getting assigned zeros by default.
@TheOne-1, how is this specifically impacting your workflow? Is it not sufficient to trim off the first time step in each trial?
Not impacting much. Yes, I should simply trim it off.
Also just realized that the GRF of the last frame is also missing.
I load subject GRF data as follows:
Then the (forces[0] == 0).all() returns True for every trial of all the datasets I processed. Forces show up starting at index 1.