I was able to get all the functions to generate the correct output as the test file with the exception of intradaysd
Started adding some new functions to further play with the data
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: Use the following code in Google Collab https://colab.research.google.com/
!git clone https://github.com/90oak/cgmquantify.git
import sys
sys.path.append("/content/cgmquantify")
import cgmquantify as cgm
dir(cgm) #if install worked then you will get a list of cgmquantify functions
pandas, numpy, matplotlib, statsmodels, datetime, plotly
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