diff --git a/K-ShakeTune/scripts/common_func.py b/K-ShakeTune/scripts/common_func.py index 8900e87..7c74109 100644 --- a/K-ShakeTune/scripts/common_func.py +++ b/K-ShakeTune/scripts/common_func.py @@ -61,7 +61,6 @@ def compute_spectrogram(data): window = np.kaiser(M, 6.) def _specgram(x): - x -= np.mean(x) # Detrending by subtracting the mean value return spectrogram(x, fs=Fs, window=window, nperseg=M, noverlap=M//2, detrend='constant', scaling='density', mode='psd')