Skip to content

Dockerfile and python code for the raspberry pi display for use in Project Tetra.

License

Notifications You must be signed in to change notification settings

tetrabiodistributed/project-tetra-display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ventilator Splitter Display

License: MIT testing badge

A system to take pressure and flow data from sensors on a ventilator splitter, calculate descriptive parameters based on these data like PEEP or Tidal Volume, and display them for medical professionals to monitor. This is for use against COVID-19.

To set up the display program for tests, first install the dependencies. You can skip the chromedriver steps if you don't plan on testing.

Linux

curl -sSL https://get.docker.com | sh
sudo apt install libatlas-base-dev python3-numpy
sudo ./chromedriverinstall.sh
./setup.sh

macOS

brew install chromedriver docker
./setup.sh

To run tests, activate the virtual environment and then run the test script.

. venv/bin/activate
./runtests.sh
deactivate

To run the display, run these commands.

docker build -t zmq_proxy:latest .
docker run --rm -p 8000:8000 zmq_proxy:latest

Then open http://localhost:8000 in a browser (Safari and Chrome both work well, Firefox does not). With this, you'll see a webpage which every second updates a table with the current state of the descriptors for each patient (if this is run off of hardware, the data will be random numbers). The display ought to look like this.

display showing inspiratory pressure, tidal volume, PEEP, and PIP for 4 patients

About

Dockerfile and python code for the raspberry pi display for use in Project Tetra.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •