buildTrials#

pyCGM2.Tools.btkTools.buildTrials(dataPath: str, filenames: List[str])#

Constructs BTK acquisitions from a list of filenames located in a specified directory.

Parameters:
  • dataPath (str) – Path to the directory containing the C3D files.

  • filenames (List[str]) – List of filenames of the C3D files to be processed.

Returns:

List[btk.btkAcquisition] – List of BTK acquisition objects created from the specified files.