getValidFrames#
- pyCGM2.Tools.btkTools.getValidFrames(acq: btkAcquisition, markerLabels: List[str], frameBounds: Tuple[int, int] | None = None)#
Gets valid frames of markers within the specified frame boundaries.
- Parameters:
acq (btk.btkAcquisition) – BTK acquisition instance.
markerLabels (list) – List of marker labels to check.
frameBounds (tuple, optional) – Frame boundaries as a tuple (start, end).
- Returns:
List[bool] – List indicating valid frames (True) or invalid frames (False).