smartSetMetadata#

pyCGM2.Tools.btkTools.smartSetMetadata(acq: btkAcquisition, firstLevel: str, secondLevel: str, index: int, value: str)#

Sets a value in the acquisition’s metadata.

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

  • firstLevel (str) – First level metadata label.

  • secondLevel (str) – Second level metadata label.

  • index (int) – Index at which to set the value.

  • value (str) – Value to set in the metadata.