Hi,
I would need of an explanation about the plotting tool.
1)If I plot a curve (i.e. Moment vs joint angle) can I also set the other coordinates of the model?
For example if I am interested in the Moments of plantaflexors on joint angle can the model takes in account also different positions for the knee?
2)I would like to have access to the points that the Opensim uses to create the curves not right clicking on the graph and saving and external file but finding them on the .osim file. Are they somewhere in there?
Thanks
Cheers
Fausto
set and export parameters of the plot tool
- fausto panizzolo
- Posts: 15
- Joined: Thu Sep 30, 2010 12:18 am
- Ayman Habib
- Posts: 2255
- Joined: Fri Apr 01, 2005 12:24 pm
RE: set and export parameters of the plot tool
Hi Fausto,
1) You can make the plot against arbitrary motion (instead of a generalized coordinate) and this will allow you to modify multiple coordinates.
2) The values on the plot are not stored with the model, instead they're computed on the fly from the muscle properties, muscle attachment points etc. specified in the model. Different configurations/settings lead to different plots so exporting the data is probably the best you can do. What do you want this data for?
Best regards,
-Ayman
1) You can make the plot against arbitrary motion (instead of a generalized coordinate) and this will allow you to modify multiple coordinates.
2) The values on the plot are not stored with the model, instead they're computed on the fly from the muscle properties, muscle attachment points etc. specified in the model. Different configurations/settings lead to different plots so exporting the data is probably the best you can do. What do you want this data for?
Best regards,
-Ayman
- fausto panizzolo
- Posts: 15
- Joined: Thu Sep 30, 2010 12:18 am
RE: set and export parameters of the plot tool
Thanks Ayman.
Because I am trying to run as much as I can through Matlab I was wondering if I could avoid to use the plot and so extracting the data maybe directly from the model file.
Regards
Fausto
Because I am trying to run as much as I can through Matlab I was wondering if I could avoid to use the plot and so extracting the data maybe directly from the model file.
Regards
Fausto
- Ayman Habib
- Posts: 2255
- Joined: Fri Apr 01, 2005 12:24 pm
RE: set and export parameters of the plot tool
Hi Fausto,
Although the data is not in the model file, it can be computed from running the analyze executable with a setup file that contains MuscleAnalysis from the command line (that's what the plotter does under the covers anyway) as such you don't have to run through the GUI/plotter to create these curves.
Please let me know if you'd like to proceed in this direction and you need help.
Best regards,
-Ayman
Although the data is not in the model file, it can be computed from running the analyze executable with a setup file that contains MuscleAnalysis from the command line (that's what the plotter does under the covers anyway) as such you don't have to run through the GUI/plotter to create these curves.
Please let me know if you'd like to proceed in this direction and you need help.
Best regards,
-Ayman