Skip to content

Basic Usage

Process and analyze your diabetes data

🚀 Command Line Usage

  • Basic: python -m src.cli data.sqlite
  • Custom output: python -m src.cli data.sqlite --output my_folder
  • Debug mode: python -m src.cli data.sqlite --debug

⚙️ Processing Options

1
2
3
4
5
python -m src.cli data.sqlite \
    --interpolation-limit 6   # Max CGM gaps to fill (6 = 30 mins)
    --bolus-limit 10.0       # Max bolus insulin units
    --max-dose 20.0          # Max valid insulin dose
    --output ./my_analysis   # Output location

📊 Parameter Guide

  • interpolation-limit: Gaps larger than this won't be filled (default: 4 = 20 mins)
  • bolus-limit: Doses above this classified as basal (default: 8.0 units)
  • max-dose: Doses above this flagged as invalid (default: 15.0 units)