control_constraints for excitations

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Tim Dorn
Posts: 125
Joined: Tue Feb 26, 2008 10:14 pm

control_constraints for excitations

Post by Tim Dorn » Thu Nov 20, 2008 1:23 am

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>

User avatar
Kathleen Reilly
Posts: 30
Joined: Fri Jan 11, 2008 6:25 am

RE: control_constraints for excitations

Post by Kathleen Reilly » Mon Nov 24, 2008 12:08 pm

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.

POST REPLY