test_point#

pyCGM2.Utils.testingUtils.test_point(acq, RefLabel, LabelToTest, decimal=3, init=-1, end=-1)#

Assert that two points of an acquisition are almost equal.

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

  • RefLabel (str) – Reference point label.

  • LabelToTest (str) – Tested point label.

  • decimal (int, optional) – Decimal precision. Defaults to 3.

  • 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).