Skip to content

EmotiBit/EmotiBit_Brainflow_SpO2_Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

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.

Required Hardware

  • Emotibit

Scripts

run.py <path_to_data_folder>

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.

Performance

Device Resample Test Scatterplot Mean-Difference Plot
IP900AP IP900AP Resample IP900AP Scatterplot IP900AP Mean Difference Plot
Device Resample Test Scatterplot Mean-Difference Plot
IP900AP IP900AP Resample IP900AP Scatterplot IP900AP Mean Difference Plot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published