From 2fe11e857a853b8b94d9dd98b53eb22805e6a696 Mon Sep 17 00:00:00 2001 From: Bart Koolen Date: Mon, 24 Feb 2025 22:09:05 +0100 Subject: [PATCH] Updated glucose level and comments --- src/GlucoseCheck.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/GlucoseCheck.py b/src/GlucoseCheck.py index 29e1c78..3617e9b 100644 --- a/src/GlucoseCheck.py +++ b/src/GlucoseCheck.py @@ -31,16 +31,16 @@ headers = { # limits_table[0] is after just compensating (no eating), and [1] is after eating limits_table = [ - [ [20, 99], # hour 0 constants after compensating /c [max_level, max_slope] + [ [20, 99], # hour 0 constants after compensating /c [max_level, max_pos_slope, max_neg_slope] [16, 99], # hour 1 [12, 6], # hour 2 [10, 6], # hour 3 - [ 8, 6] ], # hour 4 - [ [20, 99], # hour 0 constants after eating /e [max_level, max_slope] + [10, 6] ], # hour 4 + [ [20, 99], # hour 0 constants after eating /e [max_level, max_pos_slope, max_neg_slope] [18, 99], # hour 1 [14, 6], # hour 2 [12, 6], # hour 3 - [ 8, 6] ] # hour 4 + [10, 6] ] # hour 4 ] limits_max_hours = 4 # nr of hours in the above lists