pyCGM_Single.pycgmStatic

Description

This file provides helper functions for static calculations.

Created on Tue Jul 28 16:55:25 2015

@author: cadop

Functions

IADcalculation(frame)

Inter ASIS Distance (IAD) Calculation function

acos(x, /)

Return the arc cosine (measured in radians) of x.

ankleJointCenter(frame, knee_JC, delta[, vsk])

Calculate the ankle joint center and axis function.

average(list)

Average Calculation function

cos(x, /)

Return the cosine of x (measured in radians).

cross(a, b)

Cross Product function

findJointC(a, b, c, delta)

Calculate the Joint Center function.

footJointCenter(frame, static_info, …)

Calculate the foot joint center and axis function.

getDist(p0, p1)

Get Distance function

getStatic(motionData, vsk[, flat_foot, GCS])

Get Static Offset function

getankleangle(axisP, axisD)

Static angle calculation function.

headJC(frame)

Calculate the head joint axis function.

headoffCalc(axisP, axisD)

Head Offset Calculation function

hipAxisCenter(l_hip_jc, r_hip_jc, pelvis_axis)

Calculate the hip joint axis function.

hipJointCenter(frame, pel_origin, pel_x, …)

Calculate the hip joint center function.

kneeJointCenter(frame, hip_JC, delta[, vsk])

Calculate the knee joint center and axis function.

matrixmult(A, B)

Matrix multiplication function

norm2d(v)

2D Vector normalization function

norm3d(v)

3D Vector normalization function

normDiv(v)

Normalized divison function

pelvisJointCenter(frame)

Make the Pelvis Axis function

radians(x, /)

Convert angle x from degrees to radians.

rotaxis_footflat(frame, ankle_JC[, vsk])

Calculate the anatomically correct foot joint center and axis function for a flat foot.

rotaxis_nonfootflat(frame, ankle_JC)

Calculate the anatomically correct foot joint center and axis function for a non-flat foot.

rotmat([x, y, z])

Rotation Matrix function

sin(x, /)

Return the sine of x (measured in radians).

sqrt(x, /)

Return the square root of x.

staticCalculation(frame, ankle_JC, knee_JC, …)

Calculate the Static angle function

staticCalculationHead(frame, head)

Static Head Calculation function

uncorrect_footaxis(frame, ankle_JC)

Calculate the anatomically uncorrected foot joint center and axis function.