arrayLowPassFiltering#
- pyCGM2.Signal.signal_processing.arrayLowPassFiltering(valuesArray: ndarray, freq: float, order: int = 2, fc: float = 6)#
- Applies a low-pass filter to a numpy array. - Parameters:
- valuesArray (np.ndarray) – Array of values to be filtered. 
- freq (float) – Sampling frequency of the array. 
- order (int, optional) – Order of the Butterworth filter. Defaults to 2. 
- fc (float, optional) – Cut-off frequency for the filter. Defaults to 6 Hz. 
 
- Returns:
- np.ndarray – The low-pass-filtered array. 
 
