EmgEnvelopProcessingFilter#
- class pyCGM2.EMG.emgFilters.EmgEnvelopProcessingFilter(acq: btkAcquisition, labels: List)#
Filter for processing EMG envelope from low-pass filter.
This filter processes the rectified EMG signals by applying a low-pass filter to generate the EMG envelope.
- Parameters:
acq (btk.btkAcquisition) – BTK acquisition instance containing EMG data.
labels (List[str]) – List of EMG channel labels to process.
- __init__(acq: btkAcquisition, labels: List)#
Initializes the EmgEnvelopProcessingFilter with acquisition data and EMG labels.
Methods
__init__
(acq, labels)Initializes the EmgEnvelopProcessingFilter with acquisition data and EMG labels.
run
()Run the low-pass filter to generate the EMG envelope for each specified channel.
Set the cut-off frequency for the low-pass filter.
- run()#
Run the low-pass filter to generate the EMG envelope for each specified channel.
- setCutoffFrequency(fc: float)#
Set the cut-off frequency for the low-pass filter.
- Parameters:
fc (float) – Cut-off frequency for the low-pass filter.