-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made benchmarking scripts more consistent and rounded average results…
… to four decimal places.
- Loading branch information
1 parent
6685c6e
commit cb89f3a
Showing
5 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from biopeaks.heart import ecg_peaks | ||
from benchmark_utils import BenchmarkDetectorGUDB | ||
|
||
condition = "hand_bike" # can be one of {"sitting", "maths", "walking", "hand_bike", "jogging"} | ||
condition = "sitting" # can be one of {"sitting", "maths", "walking", "hand_bike", "jogging"} | ||
tolerance = 1 # in samples | ||
|
||
pipeline = BenchmarkDetectorGUDB(ecg_peaks, tolerance) | ||
pipeline.benchmark_records(condition, channel="cs_V2_V1", annotation="annotation_cs") | ||
pipeline.benchmark_records(condition, channel="einthoven_II", annotation="annotation_cables") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters