TechnicalReferential#

class pyCGM2.Model.model.TechnicalReferential(label: str)#

Represents a Technical Referential (Coordinate System) constructed from tracking markers.

This class extends the Referential class and is specialized for technical referentials constructed from tracking markers of a segment during motion capture.

label#

Label of the technical referential.

Type:

str

relativeMatrixAnatomic#

Matrix representing the relative rotation of the anatomical Referential expressed in this technical referential.

Type:

numpy.array

Parameters:

label (str) – Label of the technical referential.

__init__(label: str)#

Methods

__init__(label)

addMotionFrame(frame)

Append a Frame instance to the motion attribute.

getAxisTrajectory(axis)

Return the trajectory of a specified axis.

getNodeTrajectory(label)

Return the trajectory of a node.

getOriginTrajectory()

Return the trajectory of the origin of the referential.

setRelativeMatrixAnatomic(array)

Set the relative rigid rotation of the anatomical Referential expressed in the technical referential.

setStaticFrame(frame)

Set the static pose of the referential.

setRelativeMatrixAnatomic(array: ndarray)#

Set the relative rigid rotation of the anatomical Referential expressed in the technical referential.

This matrix transformation is used to relate the technical referential to the anatomical referential, providing a means to convert between the two coordinate systems.

Parameters:

array (np.ndarray) – A 3x3 numpy array representing the rigid rotation matrix.