Commit 5192ebbc authored by Mohammadreza's avatar Mohammadreza

im: add feature

parent 2f4ac40d
......@@ -12,6 +12,10 @@ def design_filters(s_rate):
filters['notch2'] = [output[0], output[1]] # b, a
output = signal.butter(N=5, Wn=np.array([0.53, 32]), btype='bandpass', analog=False, output='ba', fs=s_rate)
filters['bandpass'] = [output[0], output[1]] # b, a
output = signal.butter(N=5, Wn=np.array(1), btype='highpass', analog=False, output='ba', fs=128)
filters['highpass_resample'] = [output[0], output[1]] # b, a
output = signal.butter(N=5, Wn=np.array(40), btype='lowpass', analog=False, output='ba', fs=128)
filters['lowpass_resample'] = [output[0], output[1]] # b, a
return filters
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment