birdfly / APS-what-if

Untertake time tarvel back to any time slot and see how insuin delivery would have differed with different APS settings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

APS-what-if

I translated the original java code of "determineSMB-basal" into python and can run it on a PC. This allows me to untertake a time tarvel back to any time slot and see how insulin delivery would have differed with different APS settings. This offers a safe method to play with settings and check their impact before actually adapting them in APS itself.

The historical logfiles contain enough information to rerun the APS loop, but with modified settings like

  • changed target
  • changed ISF
  • SMB on/off
  • ...

The main result in tabular and graphical output is the change in insulin required and the related SMB and TBR. Related data like SGV, target, Autosens ratio etc. are also shown.

A special output is the flowchart which helps to understand the logic flow through the loop. This is the track which statements in "determineSB-basal" were executed and which not together with the reasoning of those decisions listed in the original code.

About

Untertake time tarvel back to any time slot and see how insuin delivery would have differed with different APS settings


Languages

Language:Python 100.0%