cleanAcq#

pyCGM2.Tools.btkTools.cleanAcq(acq: btkAcquisition)#

Cleans a BTK acquisition by removing points with zero values across all frames.

Parameters:

acq (btk.btkAcquisition) – The BTK acquisition instance to be cleaned.

This function iterates through all points in the given BTK acquisition. If a point (such as a marker, angle, force, moment, or power) has zero values for all frames, it is removed from the acquisition. This is useful for tidying up motion capture data, especially when certain points are not relevant or are placeholders with no actual data.