markerFiltering#
- pyCGM2.Signal.signal_processing.markerFiltering(btkAcq: btkAcquisition, markers: List[str], order: int = 2, fc: float = 6, zerosFiltering: bool = True)#
Applies low-pass filtering to specified markers in a btkAcquisition object.
- Parameters:
btkAcq (btk.btkAcquisition) – btk acquisition instance to be filtered.
markers (List[str]) – List of marker names to be filtered.
order (int, optional) – Order of the Butterworth filter. Defaults to 2.
fc (float, optional) – Cut-off frequency for the filter. Defaults to 6 Hz.
zerosFiltering (bool, optional) – Enable filtering out zeros. Defaults to True.
- Returns:
None – The function modifies the btkAcquisition object in place.