When I plot the joint moments of certain muscles over the joint angle I get results that seem OK. If I try to get the same results with the analyze tool with a predefined motion of the desired joint, my results seem quite strange.
Ayman wrote in https://simtk.org/forum/message.php?msg_id=4074 that one should define a states file with muscle.activation set to 1.0 for the desired muscles.
As I see some examples of states files in the tutorial, how can I actually add this file to the analzye-setup?
Is it OK to add additional columns in my 'motion describing.mot' that define the muscle states (e.g 1.0) of the desired muscles during the full motion?
Or in other words: How does an Analyze-tool setup look like if it generates the same results as the plot tool, when I want to calculate joint moments?
thx
Reinhard
analyze tool vs. plot tool
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
RE: analyze tool vs. plot tool
Reinhard,
When you run the tools (AnalyzeTool in this case) you have the option to specify coordinates or states (xml tag=states_file).
You should be ok adding the columns in Excel just make sure it doesn't mess up the formatting and add extraneous tabs (particularly in the header).
Hope this helps,
-Ayman
When you run the tools (AnalyzeTool in this case) you have the option to specify coordinates or states (xml tag=states_file).
You should be ok adding the columns in Excel just make sure it doesn't mess up the formatting and add extraneous tabs (particularly in the header).
Hope this helps,
-Ayman
- Reinhard Hainisch
- Posts: 8
- Joined: Tue Mar 11, 2008 8:40 am
RE: analyze tool vs. plot tool
Thx Ayman!
Was a little bit tricky to manually generate a working states file, but finally i got what i want
Was a little bit tricky to manually generate a working states file, but finally i got what i want