Vsk#
- class pyCGM2.Nexus.vskTools.Vsk(file: str)#
Class for handling vsk files.
- Parameters:
file (str) – Name of the vsk file.
- __init__(file: str)#
Methods
__init__(file)Return the local positions of the markers from the vsk parameters.
getStaticParameterValue(label)Returns the value of a given static parameter from the vsk file.
- getLocapMarkerPositions()#
Return the local positions of the markers from the vsk parameters.
Positions are read from the
TargetLocalPointToWorldPointelements, whose coordinates refer to vsk parameters.- Returns:
Dict[str, np.ndarray] – Local position of each marker.
- getStaticParameterValue(label: str)#
Returns the value of a given static parameter from the vsk file.
- Parameters:
label (str) – Name of the desired parameter.
- Returns:
The value of the specified static parameter.