Signal Processing, Physics, Mathematics.
converted that into Python to reach more user import numpy as np from scipy import signal def RPR(RawSignals, fs): F = RawSignals # Filter delta delta = signal.firwin(61, [4, 5], pass_zero=False, fs=fs) yd = signal.convolve(F, delta, mode='same') zd = np.fft.fft(yd) PSd = np.abs(zd) ** 2 # Filter