Skip to content

Commit 93cb782

Browse files
committed
Add GUI functionality & update verbose flag
1 parent 4af3196 commit 93cb782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bioamptool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def log_ten_minute_data(verbose=False):
206206
print(f"Total data count after 10 minutes: {cumulative_packet_count}") # Print cumulative data count
207207
sampling_rate = cumulative_packet_count / (10 * 60) # Calculate sampling rate
208208
print(f"Sampling rate: {sampling_rate:.2f} samples/second") # Print sampling rate
209-
expected_sampling_rate = 500 # Expected sampling rate
209+
expected_sampling_rate = 250 # Expected sampling rate
210210
drift = ((sampling_rate - expected_sampling_rate) / expected_sampling_rate) * 3600 # Calculate drift
211211
print(f"Drift: {drift:.2f} seconds/hour") # Print drift
212212
cumulative_packet_count = 0 # Reset cumulative packet count

0 commit comments

Comments
 (0)