Skip to content

Commit feab3b8

Browse files
committed
updated directory structure
1 parent f8579ce commit feab3b8

12 files changed

Lines changed: 11 additions & 9 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.vscode
22
venv
33
build
4-
tests
4+
5+
tests/**
6+
!tests/**/*.png

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Runs the Brainflow algorithm on the provided data folder (which needs to contain
1010

1111
# Performance
1212
## [sit-stand-sit_v0.0.0](https://github.com/EmotiBit/Biometric_Validation_Methods/releases/tag/sit-stand-sit_v0.0.0)
13-
Device | Resample Test | Scatterplot | Mean-Difference Plot
14-
--- | --- | --- | ---
15-
IP900AP | ![IP900AP Resample](assets/tests/sit-stand-sit_v0.0.0/ip900ap/ip900ap_resampled.png) | ![IP900AP Scatterplot](assets/tests/sit-stand-sit_v0.0.0/ip900ap//ip900ap_scatter.png) | ![IP900AP Mean Difference Plot](assets/tests/sit-stand-sit_v0.0.0/ip900ap//ip900ap_mean-diff.png)
13+
Device | Custom Dataset? | Resample Test | Scatterplot | Mean-Difference Plot
14+
--- | --- | --- | --- | ---
15+
IP900AP | No | ![IP900AP Resample](tests/sit-stand-sit_v0.0.0/ip900ap/ip900ap_resampled.png) | ![IP900AP Scatterplot](tests/sit-stand-sit_v0.0.0/ip900ap//ip900ap_scatter.png) | ![IP900AP Mean Difference Plot](tests/sit-stand-sit_v0.0.0/ip900ap//ip900ap_mean-diff.png)
1616
## [simulated-unobstructed-airway_v0.0.0](https://github.com/EmotiBit/Biometric_Validation_Methods/releases/tag/simulated-unobstructed-airway_v0.0.0)
17-
Device | Resample Test | Scatterplot | Mean-Difference Plot
18-
--- | --- | --- | ---
19-
IP900AP | ![IP900AP Resample](assets/tests/simulated-unobstructed-airway_v0.0.0/ip900ap/ip900ap_resampled.png) | ![IP900AP Scatterplot](assets/tests/simulated-unobstructed-airway_v0.0.0/ip900ap//ip900ap_scatter.png) | ![IP900AP Mean Difference Plot](assets/tests/simulated-unobstructed-airway_v0.0.0/ip900ap//ip900ap_mean-diff.png)
17+
Device | Custom Dataset? | Resample Test | Scatterplot | Mean-Difference Plot
18+
--- | --- | --- | --- | ---
19+
IP900AP | No | ![IP900AP Resample](tests/simulated-unobstructed-airway_v0.0.0/ip900ap/ip900ap_resampled.png) | ![IP900AP Scatterplot](tests/simulated-unobstructed-airway_v0.0.0/ip900ap//ip900ap_scatter.png) | ![IP900AP Mean Difference Plot](tests/simulated-unobstructed-airway_v0.0.0/ip900ap//ip900ap_mean-diff.png)
Binary file not shown.
Binary file not shown.
Binary file not shown.

pybind/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
pyd_dir = os.path.join(cur_dir, 'build/Release')
55
sys.path.append(os.path.abspath(pyd_dir))
66

7-
import SPO2Algorithm
7+
import BrainflowSpO2Algorithm
88
import csv
99
import argparse
1010
import matplotlib.pyplot as plt
@@ -68,7 +68,7 @@ def main():
6868
o2_ts = []
6969
index = 0
7070
for red_chunk, ir_chunk in zip(ppg_red_chunks, ppg_ir_chunks):
71-
o2 = SPO2Algorithm.get_oxygen_level(ir_chunk, red_chunk)
71+
o2 = BrainflowSpO2Algorithm.get_oxygen_level(ir_chunk, red_chunk)
7272
o2_levels.append(o2)
7373
o2_ts.append(ppg_red_ts[index])
7474
index += chunk_size
222 KB
Loading
239 KB
Loading
145 KB
Loading

assets/tests/sit-stand-sit_v0.0.0/ip900ap/ip900ap_mean-diff.png renamed to tests/sit-stand-sit_v0.0.0/ip900ap/ip900ap_mean-diff.png

File renamed without changes.

0 commit comments

Comments
 (0)