export_CgmToMot#

pyCGM2.Tools.opensimTools.export_CgmToMot(acq: btkAcquisition, datapath: str, filename: str, osimModelInterface: osimInterface)#

Exports CGM kinematics outputs to a .mot file in OpenSim format.

Parameters:
  • acq (btk.btkAcquisition) – The acquisition containing CGM outputs.

  • datapath (str) – Path to the data directory.

  • filename (str) – The name of the output .mot file.

  • osimModelInterface (osimInterface) – The OpenSim model interface used for the export.