Python API Plotting

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Shravan Tata
Posts: 9
Joined: Fri Jul 28, 2017 4:26 am

Python API Plotting

Post by Shravan Tata » Wed Nov 07, 2018 1:46 am

Hi Everyone,

I am trying to use the Python API in order to generate some plots of my models in static conditions. Plots such as force-length curves, muscle moment arms versus joint angles and more. I see that this is doable with the Matlab API using functions such as getForceLength. But I am unable to figure out an equivalent way to do this using Python. Any help in this regard is much appreciated.

Thank you,
Shravan

Tags:

User avatar
Christopher Dembia
Posts: 506
Joined: Fri Oct 12, 2012 4:09 pm

Re: Python API Plotting

Post by Christopher Dembia » Sat Nov 17, 2018 5:10 pm

The Python interface is nearly identical to the Matlab interface. Most of the functions listed at https://simtk.org/api_docs/opensim/api_ ... uscle.html can be invoked in Python.

POST REPLY