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!
- Recommended: pip install cgmquantify-updated
- If above does not work: pip install git+https://github.com/brinnaebent/cgmquantify.git
- git clone repo
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