muscle analysis vs direct API computation
Posted: Fri Jul 05, 2013 1:14 am
Hi All,
Let me describe the problem. I have a large data set and part of the processing pipeline is to compute MTU lengths and moment arms for various modes of gait (walking, running, cutting, etc...).
I have successfully used the API via Matlab scripts to run muscle analysis, but seeing as I'm only interested in muscle lengths and moment arms this is a bit of a hammer where a scalpel would do as, noted here: https://simtk.org/forums/viewtopic.php? ... tarm#p8607. Also computational expense is a bit of an issue due to the size of the data set.
I tried a quick comparison of the MTU lengths from muscle analysis with length computed directly in the API from a loop of:
muscletendonlength(i) = Muscles.get(#mus).getGeometryPath().getLength(state);
The problem: I get quite different results.
Question 1) Should I get different results (i.e. the muscle analysis method at some point uses the function computeMomentArm()?)
Question 2) If I should be getting the same output, any likely reasons why I'm not?
This my first foray into lower level operations (lower than using scale, IK, ID, analysis), so if I've done something strange let me know!
Thanks guys,
David
Let me describe the problem. I have a large data set and part of the processing pipeline is to compute MTU lengths and moment arms for various modes of gait (walking, running, cutting, etc...).
I have successfully used the API via Matlab scripts to run muscle analysis, but seeing as I'm only interested in muscle lengths and moment arms this is a bit of a hammer where a scalpel would do as, noted here: https://simtk.org/forums/viewtopic.php? ... tarm#p8607. Also computational expense is a bit of an issue due to the size of the data set.
I tried a quick comparison of the MTU lengths from muscle analysis with length computed directly in the API from a loop of:
muscletendonlength(i) = Muscles.get(#mus).getGeometryPath().getLength(state);
The problem: I get quite different results.
Question 1) Should I get different results (i.e. the muscle analysis method at some point uses the function computeMomentArm()?)
Question 2) If I should be getting the same output, any likely reasons why I'm not?
This my first foray into lower level operations (lower than using scale, IK, ID, analysis), so if I've done something strange let me know!
Thanks guys,
David