Skip to content

Analyse data from MySugr App and Medtronic Carelink. Find patterns, improve therapy.

License

Notifications You must be signed in to change notification settings

gmagannaDevelop/Diabetes-Analysis

Repository files navigation

Diabetes-Analysis

Main side project of Gustavo Magaña López

Contact me at [email protected].

Disclaimer :

This is a personal project. It has two and only two scopes:

  1. Help me understand better my diabetes, i.e. quench a personal and academic curiosity.
  2. Explore different ways of adjusting my therapy, finding patterns through diverse techniques and algorithms.

If you decide to test it on yourself it is YOUR RESPONSIBILITY. Nothing within this repo is enodorsed by Medtronic or MySugr App. I am merely a patient using his own data and applying algorithms to it.

Bibliography

This project departed from my own knowledge of diabetes physiopathology. However, to make of this a valuable state-of-the-art tool I have decided to add also some docs. Publicly available scientific papers. These will be found in Docs/. If you want to consult them, these are the original sources:

  1. review_of_formulas.pdf
  2. glycaemic-variability.pdf

If you have found anything that you consider pertinent/valuable for this project and have the proper copyright/ownership rights to share it, please do so! I'd be ravished to include it in the project (email it to me, or add it to your fork of this repo and send me a pull request).

Requirements and dependencies :

Tested Hardware

This software has been tested on

Virtual environments using poetry

Given the lack of reproducibility that Anaconda's virtualenvs have displayed in my personal experience, I've decided to fully migrate to poetry. These virtual environments have proven to be reliable, resisting constant migration between machines and operating systems.

[DEPRECATED] Create a virtual environment using conda

All of the code has been developed using conda. Using the provided files within the repo "env.yml" and "requirements.txt" will facilitate running the scripts and notebooks here present. For futher information consult:

  1. Anaconda distribution.
  2. conda environment

To create the virtual environment, make sure you have installed the latest version of Anaconda. Run the following command replacing ENV_NAME with the name you would like to give to the virtual environment:

 conda env create --name ENV_NAME --file env.yml

You will be prompted for confirmation, accept typing 'y' on the interactive session. To activate the newly created environment, type the following command on your terminal:

 conda activate ENV_NAME

Some dependencies (those which could not be installed through conda) were installed using pip. This is not the standard installation found on your machine (if you already had Python installed). Verify that you are using the correct pip by activating the virtual environment that you have designated for this repo (can be done via which pip).

Before installing dependencies via pip, make sure you have activated the virtual environment running conda activate ENV_NAME . Afterwards type:

pip install -r requirements.txt 

Now you're ready to run the scripts and notebooks found on this repo.

About

Analyse data from MySugr App and Medtronic Carelink. Find patterns, improve therapy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages