GaitForcePlateIntegrationProcedure#
- class pyCGM2.Model.Procedures.forcePlateIntegrationProcedures.GaitForcePlateIntegrationProcedure#
Procedure for integrating gait data with force plate information.
This procedure calculates the center of mass (CoM) trajectory, velocity, and acceleration using force plate data during gait analysis. It handles the integration for both left and right sides.
- compute()#
Integrates force plate data to compute CoM trajectories and related kinematic information.
- __init__()#
Methods
__init__
()compute
(acq, mappedForcePlate, bodymass, ...)Compute and append the CoM trajectory and related kinematic information to the acquisition data.
- compute(acq: btkAcquisition, mappedForcePlate: str, bodymass: float, globalFrameOrientation: str, forwardProgression: bool)#
Compute and append the CoM trajectory and related kinematic information to the acquisition data.
- Parameters:
acq (btk.btkAcquisition) – The motion acquisition data.
mappedForcePlate (str) – Mapping of force plates to the subject’s feet (e.g., ‘RL’ for right-left).
bodymass (float) – The body mass of the subject.
globalFrameOrientation (str) – Orientation of the global reference frame (‘XYZ’ or ‘YXZ’).
forwardProgression (bool) – Indicator of whether the subject is moving forward.
This method integrates force plate data to compute CoM trajectories, velocities, and accelerations for gait analysis. It adjusts calculations based on the global frame orientation and the direction of progression.