pyCGM2.Model.modelDecorator.haraRegression#
- pyCGM2.Model.modelDecorator.haraRegression(mp_input: Dict[str, float], mp_computed: Dict[str, float], markerDiameter: float = 14.0, basePlate: float = 2.0)#
Implements the Hara et al. regression for hip joint center estimation.
- Reference:
Hara, R., Mcginley, J. L., C, B., Baker, R., & Sangeux, M. (2016). Generation of age and sex specific regression equations to locate the Hip Joint Centres. Gait & Posture
- Parameters:
mp_input (Dict[str, float]) – Dictionary of measured anthropometric parameters.
mp_computed (Dict[str, float]) – Dictionary of computed anthropometric parameters.
markerDiameter (float, optional) – Diameter of the marker. Defaults to 14.0.
basePlate (float, optional) – Thickness of the base plate. Defaults to 2.0.
Returns:
Tuple[np.ndarray, np.ndarray]: Estimated positions of left and right hip joint centers.