pyCGM2.Model.modelDecorator.calibration2Dof#
- pyCGM2.Model.modelDecorator.calibration2Dof(proxMotionRef: List[Frame], distMotionRef: List[Frame], indexFirstFrame: int, indexLastFrame: int, jointRange: List[int], sequence: str = 'YXZ', index: int = 1, flexInd: int = 0) float #
Calibration of 2 degrees of freedom (DOF).
- Parameters:
proxMotionRef (List[Frame]) – Motion attribute of the proximal referential.
distMotionRef (List[Frame]) – Motion attribute of the distal referential.
indexFirstFrame (int) – Start and end frames for the calibration.
indexLastFrame (int) – Start and end frames for the calibration.
jointRange (List[int]) – Range of joint angles to process.
sequence (str, optional) – Euler sequence. Defaults to “YXZ”.
index (int, optional) – Coronal plane index. Defaults to 1.
flexInd (int, optional) – Sagittal plane index. Defaults to 0.
- Returns:
float – Calculated offset value.