displayFrame#

pyCGM2.Utils.viz.displayFrame(acq, frameInstance, labels=['O', 'X', 'Y', 'Z'], offset=100)#

Append the origin and axes of a frame as constant points to an acquisition.

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

  • frameInstance (pyCGM2.Model.frame.Frame) – Frame.

  • labels (list, optional) – Labels of the origin and of the X, Y and Z axis points. Defaults to ["O", "X", "Y", "Z"].

  • offset (float, optional) – Length of the axes. Defaults to 100.