CGMLowerlimbInverseDynamicProcedure#
- class pyCGM2.Model.modelFilters.CGMLowerlimbInverseDynamicProcedure#
- Procedure for calculating Inverse dynamics of the CGM lower limbs. - __init__()#
 - Methods - __init__()- compute(model, btkAcq, gravity, scaleToMeter)- Run the computation of segmental dynamics for the lower limbs. - computeSegmental(model, segmentLabel, ...[, ...])- Compute segmental dynamics. - compute(model: Model, btkAcq: btkAcquisition, gravity: ndarray, scaleToMeter: float)#
- Run the computation of segmental dynamics for the lower limbs. - Parameters:
- model (Model) – Model instance. 
- btkAcq (btk.btkAcquisition) – Acquisition instance. 
- gravity (np.ndarray) – Gravity vector. 
- scaleToMeter (float) – Scale factor to meter. 
 
 
 - computeSegmental(model: Model, segmentLabel: str, btkAcq: btkAcquisition, gravity: ndarray, scaleToMeter: float, distalSegmentLabel: str | None = None) ndarray#
- Compute segmental dynamics. - Parameters:
- model (Model) – Model instance. 
- segmentLabel (str) – Label of the segment. 
- btkAcq (btk.btkAcquisition) – Acquisition instance. 
- gravity (np.ndarray) – Gravity vector. 
- scaleToMeter (float) – Scale factor to meter. 
- distalSegmentLabel (Optional[str], optional) – Label of the distal segment. Defaults to None. 
 
- Returns:
- np.ndarray – Calculated segmental dynamics. 
 
 
