smartGetEvents#
- pyCGM2.Tools.btkTools.smartGetEvents(acq: btkAcquisition, label: str, context: str)#
Retrieves events from the acquisition based on label and context.
- Parameters:
acq (btk.btkAcquisition) – BTK acquisition instance.
label (str) – Label of the events to retrieve.
context (str) – Context of the events to retrieve.
- Returns:
List[int] – List of frames where the specified events occur.