Normalising Data

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Mohamed Mohanna
Posts: 2
Joined: Sun Mar 12, 2023 1:25 pm

Normalising Data

Post by Mohamed Mohanna » Sun May 07, 2023 6:23 pm

1)After using Inverse kinematics and Inverse dynamics is it possible to normalise the data with respect to gait cycle?
2)Is it possible to take the IK results or ID results for the same patient but different motion trials and calculate and plot the mean results?
3)Is it possible to export the calculated data(IK and ID) as an excel sheet?

Thanks in advance

Tags:

User avatar
Zakia Hussain
Posts: 38
Joined: Sun Dec 26, 2021 10:44 pm

Re: Normalising Data

Post by Zakia Hussain » Sun May 07, 2023 11:08 pm

1) and 2)Yes you can do it but not in Opensim. You can use MATLAB/Python
3) Ofcourse just open excel and open the .sto file.

Hope it helps

User avatar
Milosz Lukaszewicz
Posts: 8
Joined: Mon Jun 27, 2022 1:29 am

Re: Normalising Data

Post by Milosz Lukaszewicz » Mon May 08, 2023 8:02 am

Hi, I am trying to achieve the same thing with associating joint angles with % of gait cycle and calculating the mean of several trials. How one would go about it in MATLAB? Are there any existing scripts that can do this or do we have to write our own from ground up?

Kind regards

User avatar
Zakia Hussain
Posts: 38
Joined: Sun Dec 26, 2021 10:44 pm

Re: Normalising Data

Post by Zakia Hussain » Mon May 08, 2023 6:31 pm

Hi

I am not really sure since m writing my own script. If you are using BOPS toolbox https://simtk.org/projects/bops, it will plot it for you according to the gait cycle (%)

Not sure about other tools.

Hope this helps

User avatar
Mohammadreza Rezaie
Posts: 407
Joined: Fri Nov 24, 2017 12:48 am

Re: Normalising Data

Post by Mohammadreza Rezaie » Tue May 09, 2023 12:28 am

Hi, I see you chose GUI for this post. For normalizing the data to 101 points, you need gait events. If you already adjusted the time range in IK/ID tools, you can run this script in GUI [Scripts>Run]. It prompts you to choose a directory where multiple STO or MOT files are located and then, it writes normalized files with '_N101' suffix.
sample.zip
(619 Bytes) Downloaded 71 times
Hope this helps - Mohammadreza

POST REPLY