Page 1 of 1

control_constraints for excitations

Posted: Thu Nov 20, 2008 1:23 am
by twdorn
Hi again!

Can someone explain what the following xml code does in control_constraints xml file? I imagine it is used to constrain the excitations of a muscle within certain time limits (to fit with observed EMG patterns I would guess). So does it mean that for the semimem_r muscle between t=0.6 and t=0.92, constrain the excitation to between 0.02 and 1?

Cheers :)

Tim



<ControlLinear name="semimem_r.excitation" >
<min_nodes>
<ControlLinearNode> <t> 0.6 </t> <value> 0.02 </value> </ControlLinearNode>
<ControlLinearNode> <t> 0.92 </t> <value> 0.02 </value> </ControlLinearNode>
</min_nodes>
<max_nodes>
<ControlLinearNode> <t> 0.6 </t> <value> 0.021 </value> </ControlLinearNode>
<ControlLinearNode> <t> 0.92 </t> <value> 1.0 </value> </ControlLinearNode>
</max_nodes>
</ControlLinear>

RE: control_constraints for excitations

Posted: Mon Nov 24, 2008 12:08 pm
by reill111
Hi Tim-you are correct. The only thing to keep in mind is that everything *before* time 0.6 is being constrained between 0.02 and 0.021, and then 0.6 to 0.92 is being constrained between 0.02 and 1.0. So the first time point accounts for everything before that first time, even though you don't explicitly say 0.0 to 0.6. Hope that helps.