Resampling IK results when filtering(How to keep same time step?)

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Yanran Jiang
Posts: 10
Joined: Sun Feb 09, 2020 11:48 pm

Resampling IK results when filtering(How to keep same time step?)

Post by Yanran Jiang » Sun Sep 27, 2020 9:05 am

Hi,

I am running Analyse based on the IK result. The IK result(coordinates data) and my original motion capture data are sampled at 100Hz; the time step is 0.01s. However, when I click the box of filtering the coordinates in the Analyse tool, it resample the data with different time step (~0.0202436s) and start with -0.0202436s rather than 0s. When I do not click the filtering, everything is fine and run as normal.

What't more, since I am doing subject-specific scaling and IK and analyse, I didn't find such problem when I was running the first subject. But this issue happens when doing the second and third subjects.

My current solution is to filter the Bodykinematics results manually by lowpass filter. Is there a better solution to filter the coordinates(IK result) in the Analyse setup page before generating Bodykinematics results? I'm also wondering why it happens?

Thank you for your help!
Attachments
1111111.png
1111111.png (25.12 KiB) Viewed 348 times
Screenshot (6).png
Screenshot (6).png (730.57 KiB) Viewed 348 times

Tags:

User avatar
Carmichael Ong
Posts: 401
Joined: Fri Feb 24, 2012 11:50 am

Re: Resampling IK results when filtering(How to keep same time step?)

Post by Carmichael Ong » Mon Sep 28, 2020 1:45 pm

The options you see on that page is the only one given in the GUI. It seems like if you have a specific way that you want to filter, you may want to consider doing any filtering beforehand using a different tool (e.g., MATLAB, Python).

POST REPLY