pymgipsim.Utilities.Scenario

class inputs(meal_carb: Events = None, snack_carb: Events = None, sgl2i: Events = None, basal_insulin: Events = None, bolus_insulin: Events = None, bodyweighteffect: Events = None, heart_rate: Events = None, taud: Events = None, running_speed: Events = None, running_incline: Events = None, cycling_power: Events = None, METACSM: Events = None, energy_expenditure: Events = None, daily_energy_intake: Events = None, daily_energy_expenditure: Events = None, daily_urinary_glucose_excretion: Events = None)[source]

Bases: object

Stores all the possible inputs to all the possible models.

Mirrors the patient field of the scenario JSON file.

Note

Undefined/ not required inputs for a specific model are None.

Parameters:
  • meal_carb (Events) – Carb content of the meals [g].

  • snack_carb (Events) – Carb content of the snacks [g].

  • sgl2i (Events) – SGL2i drug intakes [mg].

  • basal_insulin (Events) – Basal insulin rates [U/hr].

  • bolus_insulin (Events) – Bolus insulin intakes [U].

  • heart_rate (Events) – Heart rate values [BPM].

  • taud (Events) – Meal carb absorption times [min].