calculateAngleFrom3points#
- pyCGM2.Tools.btkTools.calculateAngleFrom3points(acq: btkAcquisition, pt1: str, pt2: str, pt3: str)#
Calculates the angle formed by three points at each frame in a BTK acquisition.
- Parameters:
acq (btk.btkAcquisition) – BTK acquisition instance.
pt1 (str) – Label of the first point.
pt2 (str) – Label of the second point.
pt3 (str) – Label of the third point.
- Returns:
np.ndarray – An array of angles calculated at each frame.