pyCGM_Single.pycgmStatic.IADcalculation

pyCGM_Single.pycgmStatic.IADcalculation(frame)

Inter ASIS Distance (IAD) Calculation function

Calculates the Inter ASIS Distance from a given frame. Markers used: RASI, LASI

Parameters
framedict

Dictionary of marker lists.

Returns
IADfloat

The mean of the list.

Examples

>>> import numpy as np
>>> from .pycgmStatic import IADcalculation
>>> frame = { 'LASI': np.array([ 183.19,  422.79, 1033.07]),
...           'RASI': np.array([ 395.37,  428.1, 1036.83])}
>>> np.around(IADcalculation(frame), 2)
212.28