plotComparison_ForcePanel#

pyCGM2.Utils.testingUtils.plotComparison_ForcePanel(acq, suffix1, suffix2, side, title=None, init=-1, end=-1)#

Plot the joint forces of a side for two output suffixes.

Parameters:
  • acq (btk.btkAcquisition) – Acquisition.

  • suffix1 (str) – First suffix (None for no suffix).

  • suffix2 (str) – Second suffix (None for no suffix).

  • side (str) – "Left" or "Right".

  • title (str, optional) – Figure title.

  • init (int, optional) – First frame. Defaults to -1 (first frame of the acquisition).

  • end (int, optional) – Last frame. Defaults to -1 (last frame of the acquisition).

Raises:

Exception – If side is neither Left nor Right.