Change time value into percentage of motion time

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Juliet M
Posts: 8
Joined: Tue Feb 13, 2024 2:43 am

Change time value into percentage of motion time

Post by Juliet M » Fri Mar 15, 2024 3:00 am

Hello there,

I am working on data from a trial of an experiment and the time has been limited (manually, I guess) from 1.960 to 2.750 . I would prefer on my graphic representation a percentage of motion on x-axis. How can I modify these values on OpenSim 4.4, please?

Juliet

Tags:

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

Re: Change time value into percentage of motion time

Post by Carmichael Ong » Fri Mar 29, 2024 4:20 pm

Results from your simulation can be loaded into other software (e.g., MATLAB, Python, Excel) so that you can create and adjust plots specific for your use case.

User avatar
Juliet M
Posts: 8
Joined: Tue Feb 13, 2024 2:43 am

Re: Change time value into percentage of motion time

Post by Juliet M » Tue Apr 02, 2024 2:24 am

Okay thank you for your answer!

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

Re: Change time value into percentage of motion time

Post by Mohammadreza Rezaie » Wed Apr 03, 2024 12:56 pm

Hi, I had provided a Jython script for OpenSim GUI here: https://github.com/opensim-org/opensim-gui/issues/1497

Copy the code and paste it in a text file with .py extension, and run it in OpenSim. More info about GUI scripting can be found here: https://opensimconfluence.atlassian.net ... in+the+GUI

Hope this helps.

POST REPLY