This algorithm is derived from the Brainflow SpO2 algorithm, and uses PPG-R and PPG-IR data from the EmotiBit to calculate SPO2 level. As a starting point, run.py
splits PPG-R and PPG-IR signals into buffers of length 64, which are then passed to the algorithm. It is recommended for the buffers to contain at least 64 samples for accurate results.
- Emotibit
Runs the Brainflow algorithm on the provided data folder (which needs to contain a separate .csv file for PPG-R and PPG-IR from the EmotiBit ending in PR.csv
and PI.csv
) and saves the calculated SpO2 with timestamps to generated.csv
. Also shows a plot of the PPG data overlayed with the calculated SpO2.
Device | Resample Test | Scatterplot | Mean-Difference Plot |
---|---|---|---|
IP900AP | ![]() |
![]() |
![]() |
Device | Resample Test | Scatterplot | Mean-Difference Plot |
---|---|---|---|
IP900AP | ![]() |
![]() |
![]() |