pyCGM2.Model.modelDecorator.footJointCentreFromMet#
- pyCGM2.Model.modelDecorator.footJointCentreFromMet(acq: btkAcquisition, side: str, frameInit: int, frameEnd: int, markerDiameter: float = 14, offset: float = 0)#
Calculates foot center from metatarsal markers.
- Parameters:
acq (btk.btkAcquisition) – An acquisition.
side (str) – Side of the body (‘left’ or ‘right’).
frameInit (int) – Start frame.
frameEnd (int) – End frame.
markerDiameter (float, optional) – Marker diameter. Defaults to 14.
offset (float, optional) – Marker offset. Defaults to 0.
- Returns:
np.array – Coordinates of the foot center.