pyCGM_Single.pyCGM.findJointC¶
-
pyCGM_Single.pyCGM.
findJointC
(a, b, c, delta)¶ Calculate the Joint Center.
This function is based on physical markers, a,b,c and joint center which will be calulcated in this function are all in the same plane.
- Parameters
- a,b,clist
Three markers x,y,z position of a, b, c.
- deltafloat
The length from marker to joint center, retrieved from subject measurement file.
- Returns
- mrarray
Returns the Joint C x, y, z positions in a 1x3 array.
Examples
>>> import numpy as np >>> from .pyCGM import findJointC >>> a = [468.14, 325.09, 673.12] >>> b = [355.90, 365.38, 940.69] >>> c = [452.35, 329.06, 524.77] >>> delta = 59.5 >>> findJointC(a,b,c,delta).round(2) array([396.25, 347.92, 518.63])