mot2pointValues#

pyCGM2.Tools.opensimTools.mot2pointValues(motFilename: str, labels: List[str], orientation: List[int] = [1, 1, 1])#

Extracts point values from an OpenSim MOT file.

Parameters:
  • motFilename (str) – The filename of the MOT file.

  • labels (List[str]) – The labels of the data to be extracted.

  • orientation (List[int], optional) – A list indicating the sign of each coordinate. Defaults to [1, 1, 1].

Returns:

np.ndarray – Extracted point values.