Ventilator Splitter Display
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.