checkMetadata#

pyCGM2.Tools.btkTools.checkMetadata(acq: btkAcquisition, firstLevel: str, secondLevel: str)#

Checks the existence of specified metadata.

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

  • firstLevel (str) – First level metadata label.

  • secondLevel (str) – Second level metadata label.

Returns:

bool – True if the metadata exists, False otherwise.