detectSide#

pyCGM2.Lib.CGM.kneeCalibration.detectSide(acq: btkAcquisition, left_markerLabel: str, right_markerLabel: str)#

Detect the side of the knee functional calibration.

The side whose marker reaches the highest vertical position is selected.

Parameters:
  • acq (btk.btkAcquisition) – Calibration acquisition.

  • left_markerLabel (str) – Left marker label.

  • right_markerLabel (str) – Right marker label.

Returns:

str – "Left" or "Right".