Skip to content

DigitalBiomarkerDiscoveryPipeline/cgmquantify

 
 

Repository files navigation

cgmquantify: python package for analyzing glucose and glucose variability

License: MIT

Continuous glucose monitoring (CGM) systems provide real-time, dynamic glucose information by tracking interstitial glucose values throughout the day. Glycemic variability, also known as glucose variability, is an established risk factor for hypoglycemia (Kovatchev) and has been shown to be a risk factor in diabetes complications. Over 20 metrics of glycemic variability have been identified.

Here, we provide functions to calculate glucose summary metrics, glucose variability metrics (as defined in clinical publications), and visualizations to visualize trends in CGM data.

This module currently works with Dexcom G6 data.

The cgmquantify package is now available in R!

Installation:

  • Recommended: pip install cgmquantify
  • If above does not work: pip install git+git://github.com/brinnaebent/cgmquantify.git
  • git clone repo

Dependencies: (these will be downloaded upon installation with pip)

pandas, numpy, matplotlib, statsmodels, datetime

Coming soon -

  • Currently only supports Dexcom CGM, more CGM coming soon
  • Integration with food logs, myFitnessPal food logs
  • Machine Learning methods for discovering trends in CGM data

About

Functions to calculate glucose summary metrics, glucose variability metrics (as defined in clinical publications), and visualizations to visualize trends in CGM data.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • Jupyter Notebook 82.6%
  • Python 10.1%
  • R 5.4%
  • TeX 1.9%