loadAnalysis#

pyCGM2.Utils.files.loadAnalysis(path: str, FilenameNoExt: str)#

Load a pyCGM2 analysis instance from a file.

Parameters:
  • path (str) – The path to the directory containing the analysis file.

  • FilenameNoExt (str) – The filename of the analysis file without extension.

Returns:

Analysis – The loaded pyCGM2 analysis instance.

Raises:

Exception – If the analysis file does not exist.