This commit is contained in:
François Boulogne 2025-08-29 16:46:33 +02:00
parent d4983f45f2
commit 3e15c2ebf5
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
__version__ = '0.1.2'
__version__ = '0.1.3'

View file

@ -79,7 +79,7 @@ def filter_signal_by_modes(time, signal, num_modes=1, bandwidth_factor=0.1, nyqu
# Créer le filtre Butterworth
lowcut = lowcut / nyq
highcut = highcut / nyq
b, a = butter(4, [low, high], btype='band')
b, a = butter(4, [lowcut, highcut], btype='band')
# Appliquer le filtre (filtfilt pour éviter le déphasage)
filtered_signal = filtfilt(b, a, signal_clean)