myogen.simulator.core.force.JointBiomechanics.get_moment_arm#

JointBiomechanics.get_moment_arm(joint_angle__deg: float, muscle_index: int) float[source]#

Get moment arm for a muscle at a specific joint angle.

Parameters:
  • joint_angle__deg (float) – Joint angle in degrees.

  • muscle_index (int) – Index of the muscle.

Returns:

Moment arm in cm.

Return type:

float