GroundReactionIntegrationFilter#
- class pyCGM2.Model.modelFilters.GroundReactionIntegrationFilter(procedure: ForcePlateIntegrationProcedure, btkAcq: btkAcquisition, mappedForcePlateLetters: str, bodymass: float, globalFrameOrientation: str = 'XYZ', forwardProgression: bool = True)#
Integrates ground reaction forces into the model during dynamic trials.
This filter computes and integrates the ground reaction forces based on the mapped force plate letters and the body mass of the subject. It’s used to enhance the accuracy of force plate data integration into the biomechanical model during dynamic trials.
- Parameters:
procedure (ForcePlateIntegrationProcedure) – An instance of a procedure defining specific computations.
btkAcq (btk.btkAcquisition) – An acquisition instance of a dynamic trial.
mappedForcePlateLetters (str) – String indicating body side of the segment in contact with the force plate.
bodymass (float) – The body mass of the subject.
globalFrameOrientation (str, optional) – Orientation of the global frame. Defaults to “XYZ”.
forwardProgression (bool, optional) – Indicates if the subject moves in the same direction as the global longitudinal axis. Defaults to True.
- __init__(procedure: ForcePlateIntegrationProcedure, btkAcq: btkAcquisition, mappedForcePlateLetters: str, bodymass: float, globalFrameOrientation: str = 'XYZ', forwardProgression: bool = True)#
Methods
__init__
(procedure, btkAcq, ...[, ...])compute
()Execute the filter to integrate ground reaction forces into the model.
- compute()#
Execute the filter to integrate ground reaction forces into the model.
This method runs the defined procedure to compute and integrate the ground reaction forces into the biomechanical model based on the force plate data and subject’s body mass.