We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4af3196 commit 93cb782Copy full SHA for 93cb782
bioamptool.py
@@ -206,7 +206,7 @@ def log_ten_minute_data(verbose=False):
206
print(f"Total data count after 10 minutes: {cumulative_packet_count}") # Print cumulative data count
207
sampling_rate = cumulative_packet_count / (10 * 60) # Calculate sampling rate
208
print(f"Sampling rate: {sampling_rate:.2f} samples/second") # Print sampling rate
209
- expected_sampling_rate = 500 # Expected sampling rate
+ expected_sampling_rate = 250 # Expected sampling rate
210
drift = ((sampling_rate - expected_sampling_rate) / expected_sampling_rate) * 3600 # Calculate drift
211
print(f"Drift: {drift:.2f} seconds/hour") # Print drift
212
cumulative_packet_count = 0 # Reset cumulative packet count
0 commit comments