Skip to content

Commit

Permalink
Reduce precision of rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
psomhorst committed Dec 18, 2024
1 parent 87fb1eb commit 64a68d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eitprocessing/datahandling/loading/draeger.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def load_from_single_path(
previous_marker,
)

estimated_sample_frequency = round((len(time) - 1) / (time[-1] - time[0]), 6)
estimated_sample_frequency = round((len(time) - 1) / (time[-1] - time[0]), 4)

if not sample_frequency:
sample_frequency = estimated_sample_frequency
Expand Down

0 comments on commit 64a68d0

Please sign in to comment.