8000 GitHub - stevedeichmann62/APS-what-if: time travel back to any time slot and see how insulin delivery would have differed with different APS settings
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

time travel back to any time slot and see how insulin delivery would have differed with different APS settings

Notifications You must be signed in to change notification settings

stevedeichmann62/APS-what-if

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This branch was updated to cover

  • the migration to AAPS 3.1.0.2
  • to include the autoISF2.2.7 capabilities

For the latest scripts please use the newest branch or in case or problems even try the dev branch to be compatible with later AAPS and autoISF versions.

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 "determineSMB-basal" were executed and which not together with the reasoning of those decisions taken from the original code.

About

time travel back to any time slot and see how insulin delivery would have differed with different APS settings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0