Biomechanics API Reference


Biomechanical models typically involve simultaneously modeling numerous aspects of anatomy. These can be the skeletal, muscular, and neurological systems. The skeletal system is typically modeled using multibody dynamics. This can be done using sympy.physics.mechanics. sympy.physics.biomechanics provides functionality for modeling musculotendons (the muscular system) and activation dynamics (the neurological system).


This module acts as an extension module to sympy.physics.mechanics. It is not intended that this module be used by itself. Rather, a user would import both sympy.physics.mechanics and sympy.physics.biomechanics, and use objects from both interchangeably. sympy.physics.biomechanics has been designed in such a way that its class hierarchies are related to, and interfaces (e.g. attribute names, call signatures, and return types) mimic, those of sympy.physics.mechanics. Consequentially, sympy.physics.mechanics will correctly generate equations of motion for multibody systems that incorporate biomechanical components.

Guide to Biomechanics