getLabelsFromScalar#

pyCGM2.Tools.btkTools.getLabelsFromScalar(acq: btkAcquisition, description: str | None = None)#

Retrieves labels of scalar points from a BTK acquisition based on their description.

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

  • description (str, optional) – Description to filter scalar points. If None, retrieves all scalar points. Defaults to None.

Returns:

List[str] – List of labels of the scalar points that match the given description.