getFrameBoundaries#

pyCGM2.Tools.btkTools.getFrameBoundaries(acq: btkAcquisition, markerLabels: List[str])#

Gets frame boundaries from a list of markers.

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

  • markerLabels (list) – List of marker labels.

Returns:

Tuple[int, int] – Tuple of first and last valid frame numbers.