enveloppe#
- pyCGM2.Signal.signal_processing.enveloppe(array: ndarray, fc: float, fa: float)#
Obtains the envelope of a signal using a low-pass filter.
- Parameters:
array (np.ndarray) – The input array containing the signal data.
fc (float) – Cut-off frequency for the low-pass filter.
fa (float) – Sampling frequency of the signal.
- Returns:
np.ndarray – The envelope of the signal.