File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ def update_plot(self, ecg_data):
117
117
118
118
# Detect heartbeats in real time
119
119
heartbeats = detect_heartbeats (np .array (self .ecg_buffer ), self .data_collector .sampling_rate )
120
- print (f"Detected R-peaks at indices: { heartbeats } " )
120
+ # print(f"Detected R-peaks at indices: {heartbeats}")
121
121
122
122
# Append the actual time of detection for each detected peak
123
123
for index in heartbeats :
@@ -152,7 +152,7 @@ def calculate_and_reset_heart_rate(self):
152
152
else :
153
153
self .heart_rate_label .setText ("Heart rate: 0 bpm" )
154
154
155
- # Clear the deque for the next 10 -second window
155
+ # Clear the deque for the next 15 -second window
156
156
self .r_peak_times .clear ()
157
157
self .peak_indices .clear ()
158
158
You can’t perform that action at this time.
0 commit comments