isPointExist#

pyCGM2.Tools.btkTools.isPointExist(acq: btkAcquisition, label: str, ignorePhantom: bool = True)#

Checks if a point (marker or model output) exists in the acquisition.

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

  • label (str) – Point label to check.

  • ignorePhantom (bool, optional) – Whether to ignore zero markers. Default is True.

Returns:

bool – True if the point exists, False otherwise.