smartGetMetadata#

pyCGM2.Tools.btkTools.smartGetMetadata(acq: btkAcquisition, firstLevel: str, secondLevel: str, returnType: str = 'String')#

Retrieves metadata information based on specified levels.

Parameters:
  • acq (btk.btkAcquisition) – BTK acquisition instance.

  • firstLevel (str) – First level metadata label.

  • secondLevel (str) – Second level metadata label.

  • returnType (str, optional) – Type of the returned metadata (String, Integer, Double). Defaults to “String”.

Returns:

str or int or float – Metadata information based on the returnType.