findValidFrames#
- pyCGM2.Tools.btkTools.findValidFrames(acq: btkAcquisition, markerLabels: List[str])#
Finds valid frames to process based on marker data.
- Parameters:
acq (btk.btkAcquisition) – BTK acquisition instance.
markerLabels (list) – List of marker labels.
- Returns:
Tuple[List[int], int, int] – Tuple containing a list of valid frames, first valid frame, and last valid frame.