Page 1 of 1

Python API Plotting

Posted: Wed Nov 07, 2018 1:46 am
by tatarama
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

Re: Python API Plotting

Posted: Sat Nov 17, 2018 5:10 pm
by chrisdembia
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.