pyCGM2.Model.modelDecorator.saraCalibration#

pyCGM2.Model.modelDecorator.saraCalibration(proxMotionRef: List[Frame], distMotionRef: List[Frame], indexFirstFrame: int | None, indexLastFrame: int | None, offset: float = 100, method: str = '1')#

Computes a joint center position using the SARA method.

Parameters:
  • proxMotionRef (List[Frame]) – Motion attribute of the proximal referential.

  • distMotionRef (List[Frame]) – Motion attribute of the distal referential.

  • indexFirstFrame (Optional[int]) – Start frame index.

  • indexLastFrame (Optional[int]) – End frame index.

  • offset (float, optional) – Distance in mm for positioning axis boundaries. Defaults to 100.

  • method (str, optional) – Method index. Affects the objective function. Defaults to “1”.

Returns:

Tuple – Contains proximal origin, proximal axis limit, distal origin, distal axis limit, proximal axis norm, distal axis norm, and coefficient of determination.

Reference:

Ehrig, R., Taylor, W. R., Duda, G., & Heller, M. (2007). A survey of formal methods for determining functional joint axes. Journal of Biomechanics, 40(10), 2150–7.