Skip to content

Commit c85d3c2

Browse files
committed
update
1 parent 16d8563 commit c85d3c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

applications/ecgg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def update_plot(self, ecg_data):
117117

118118
# Detect heartbeats in real time
119119
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}")
121121

122122
# Append the actual time of detection for each detected peak
123123
for index in heartbeats:
@@ -152,7 +152,7 @@ def calculate_and_reset_heart_rate(self):
152152
else:
153153
self.heart_rate_label.setText("Heart rate: 0 bpm")
154154

155-
# Clear the deque for the next 10-second window
155+
# Clear the deque for the next 15-second window
156156
self.r_peak_times.clear()
157157
self.peak_indices.clear()
158158

0 commit comments

Comments
 (0)