pyCGM

Python Module for the Conventional Gait Model | calculates Kinematics and Center of Mass

Abstract

The goal of this project is to release an easy to understand conventional gait model that users can implement in their own projects via a single python file. While the project is multiple files, the kinematics code is contained in a single file pyCGM.py. With the update, another kinetics file is also used for the center of mass calculation.

Our aim is to provide researchers and students a tool that can aid in understanding and developing modifications to the conventional gait model through python without much more.

Fig. 1 (right) Joint center calculation of the knee.

For the knee joint center, the calculation is from the thigh marker (a), hip joint center (b), and knee marker (c). The intent is to find the plane in which all markers lay, with half the knee width (kw) being used in the calculation.