I am new too OpenSim, and I am trying to figure out how to produce the same total fiber force plot I plot in the GUI in Python so I can make batch processing easier (Plus I often get visualisation sizing errors in the plot window on the GUI).
The process on the GUI is to listed below, and I have included a screenshot of the window.
- Load ARMS_bimanual.osim model
- Load Skeletal.mot motion
- Open plot window
- Select Y-Quantity - total fiber force
- Select Muscles, Select all shown, sum only
- Select X-Quantity - Results (Skeletal.mot Name in header)
- Select Add, than Rename.
I am assuming this process is replicable in Python, and while I have some parts individually working, I am struggling to put it all together (loading in the .mot files in particular). I have tested the example codes to ensure Python OpenSim is installed correctly, everything seems to be working fine.
Any help or guidance would be really appreciated, I have tried going through the documentation and working back from the examples but I am struggling to find exactly what I need.
For Context, previously my team completed this analysis manually in the GUI, one by one, but I am trying to connect to the other processes that utilise python so I can speed everything up.