Skip to content

cgmquantify-python package for analyzing glucose and glucose variability

License

Notifications You must be signed in to change notification settings

90oak/cgmquantify

 
 

Repository files navigation

5 September 2023:

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

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:

!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

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

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

About

cgmquantify-python package for analyzing glucose and glucose variability

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 86.8%
  • Python 11.2%
  • TeX 2.0%