test_offset#

pyCGM2.Utils.testingUtils.test_offset(value, acq, viconLabel, decimal=3)#

Assert that a value equals a Vicon offset (degrees) stored in the PROCESSING metadata.

Parameters:
  • value (float) – Value to test.

  • acq (btk.btkAcquisition) – Acquisition.

  • viconLabel (str) – Metadata label.

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