Hello everyone,
I have 6 motion trials from before and 6 motion trials from after an intervention. Now I have to calculate the mean of those 6 trials and compare the before to after. I also have to do this for 20 subjects. I have already scaled the models and did the Inverse Kinematics for each trial.
This program and documentation is really unintuitive and I am not a programmer to write my own scripts, so I have no idea how to do this.
Another problem is that when plotting the results of IK, the graphs have correct joint angles, but are shifted as seen on the picture. I understand that I have to somehow normalise the data, but I don't see any tool for this.
Please help me, because I have no idea what to do.
Processing IK data and comparing joint angles. Please help
- Jason Brown
- Posts: 1
- Joined: Mon May 29, 2023 11:24 am
Processing IK data and comparing joint angles. Please help
- Attachments
-
- C01vs.png (17.69 KiB) Viewed 538 times
Tags:
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Processing IK data and comparing joint angles. Please help
Hi Jason,
We'd love to help you out but it's not clear why you want OpenSim to do this job for you. Most users end up using Matlab or python for that but If you don't want to write scripts, you can export the raw data to csv format or sto format and then use excel to do all the plotting/averaging/shifting that you want. I'm not sure normalization can account for the degree shift you showed but I'm not familiar with the model/data you're working with.
Hope this helps,
-Ayman
We'd love to help you out but it's not clear why you want OpenSim to do this job for you. Most users end up using Matlab or python for that but If you don't want to write scripts, you can export the raw data to csv format or sto format and then use excel to do all the plotting/averaging/shifting that you want. I'm not sure normalization can account for the degree shift you showed but I'm not familiar with the model/data you're working with.
Hope this helps,
-Ayman