Code Monkey home page Code Monkey logo

blood-pressure's Introduction

Introduction

This is a script I wrote to plot my blood pressure over time, which I get by exporting CSV files from my blood pressure device.

It has only been tested on Windows with Python 3.11

Readings taken within 1 hour of each other will be averaged together in the plot, so it is beneficial to take 4-5 readings at a time each day.

How to run

  1. Create a venv and install requirements
  2. Place CSV files in root directory of repo
  3. Run blood_pressure.py
  4. Profit

Expected CSV format:

Times are assumed to have no timezone information. Spacing is irrelevant.

Date,       Time,     Systolic, Diastolic, Heart Rate
07/01/2022, 10:06 AM, 120,      70,        60,
07/02/2022, 10:06 AM, 120,      70,        60,

Adding plot annotations

You can add markers on the time series indicating dates when a medication was started, stopped, changed, etc.

Make a copy of dates_template.py and name it dates.py. Follow the format of the examples.

blood-pressure's People

Contributors

avenzi avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.