Page 1 of 1

Normalising Data

Posted: Sun May 07, 2023 6:23 pm
by mohanna
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

Re: Normalising Data

Posted: Sun May 07, 2023 11:08 pm
by zakiahussain
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

Re: Normalising Data

Posted: Mon May 08, 2023 8:02 am
by mlukaszewicz
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

Re: Normalising Data

Posted: Mon May 08, 2023 6:31 pm
by zakiahussain
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

Re: Normalising Data

Posted: Tue May 09, 2023 12:28 am
by kernalnet
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 56 times
Hope this helps - Mohammadreza