pyCGM_Single.clusterCalc

Description

This file is used for calculating cluster transformations to apply in the case of a missing marker.

It is currently imported directly in pycgmClusters.py and Pipelines.py.

Functions

getMarkerLocation(Pm, C)

Finds the missing marker in the world frame.

getStaticTransform(p, C)

Find the location of the missing marker in the cluster frame.

normalize(v)

Normalizes an input vector

printMat(M)

Prints a matrix.

segment_dict()

Creates a dictionary of segments to marker names.

targetName()

Creates a list of marker names.

target_dict()

Creates a dictionary of marker to segment.