pyCGM_Single.pycgmKinetics

Description

This file is used in coordinate and vector calculations.

Functions

add(v, w)

Add two vectors.

distance(p0, p1)

Calculate distance between two points

dot(v, w)

Calculate dot product of two points.

f(p, x)

Helper function for working with frames of data.

findL5_Pelvis(frame)

Calculate L5 Markers Given Pelvis function

findL5_Thorax(frame)

Calculate L5 Markers Given Thorax function.

getKinetics(data, Bodymass)

Estimate center of mass values in the global coordinate system.

length(v)

Calculate length of a 3D vector.

pnt2line(pnt, start, end)

Calculate shortest distance between a point and line.

scale(v, sc)

Scale a vector.

unit(v)

Calculate unit vector.

vector(b, e)

Subtracts two vectors.