Skip to content
Snippets Groups Projects
Commit a5146479 authored by LexvanGastel's avatar LexvanGastel
Browse files

vraag 12

parent 297b126d
No related branches found
No related tags found
No related merge requests found
......@@ -112,8 +112,11 @@ def plot_emg_data(file_path):
filtered_rf = signal_processor.bandpass_filter(channel_rectus_femoris, 25, 300)
filtered_ta = signal_processor.bandpass_filter(channel_tibialis_anterior, 25, 300)
freq_rf, fft_rf = compute_fft(filtered_rf, sampling_rate)
freq_ta, fft_ta = compute_fft(filtered_ta, sampling_rate)
rectified_rf = np.abs(filtered_rf)
recitfied_ta = np.abs(filtered_ta)
freq_rf, fft_rf = compute_fft(rectified_rf, sampling_rate)
freq_ta, fft_ta = compute_fft(recitfied_ta, sampling_rate)
plt.figure(figsize=(13,8))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment