applyOnValidFrames#

pyCGM2.Tools.btkTools.applyOnValidFrames(acq: btkAcquisition, validFrames: List[int])#

Sets all points to zero if the frame is not valid.

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

  • validFrames (list) – List of frames with 1 (valid) or 0 (invalid).