getTranslators#

pyCGM2.Utils.files.getTranslators(DATA_PATH: str, translatorType: str = 'CGM1.translators')#

Retrieve CGM marker translators from a specified file.

Parameters:
  • DATA_PATH (str) – The path to the data directory.

  • translatorType (str, optional) – The name of the translator file. Defaults to “CGM1.translators”.

Returns:

dict – The loaded translators, or False if not found.