pymgipsim.VirtualPatient.Models.T1DM.ExtHovorka.Inputs¶
Module attributes
- class Inputs(uFastCarbs: ~pymgipsim.InputGeneration.signal.Signal = <factory>, uSlowCarbs: ~pymgipsim.InputGeneration.signal.Signal = <factory>, uHR: ~pymgipsim.InputGeneration.signal.Signal = <factory>, uInsulin: ~pymgipsim.InputGeneration.signal.Signal = <factory>, energy_expenditure: ~pymgipsim.InputGeneration.signal.Signal = <factory>)[source]¶
Bases:
BaseInputs
Stores the Hovorka models input signals in Signal classes.
- uFastCarbs¶
Fast acting carbs [mmol/min] typically with an absorption time constant of 20 minutes.
- Type:
- uSlowCarbs¶
Slow acting carbs [mmol/min] typically with an absorption time constant of 40 minutes.
- Type:
Hint
.as_array() function returns 3D numpy array where: 1st dim: Subject in the virtual cohort 2nd dim: Input variable 3rd dim: Timestep in the simulation horizon
- toJSON(path)¶
Converts input signals to JSON serializable dictionary.