T2 - CalibrationΒΆ

[1]:
import atomica as at
P = at.Project(framework='assets/framework_1.xlsx',databook='assets/databook_1.xlsx')

Atomica 1.12.1 (2019-08-20) -- (c) the Atomica development team
2019-08-20 07:35:21.141861
Initialization characteristics are underdetermined - this may be intentional, but check the initial compartment sizes carefully
Elapsed time for running "default": 0.0112s
[2]:
result = P.run_sim()
d = at.PlotData(result,project=P)
at.plot_series(d);
Elapsed time for running "default": 0.0112s
../_images/tutorial_T2-Calibration_2_1.png
[3]:
p2 = P.parsets[0].copy()
p2.pars['infx'].y_factor['adults'] = 5
[4]:
r2 = P.run_sim(result_name = 'More infectious')
d = at.PlotData([result,r2],project=P)
at.plot_series(d,axis='results');
Elapsed time for running "default": 0.0118s
../_images/tutorial_T2-Calibration_4_1.png
../_images/tutorial_T2-Calibration_4_2.png
../_images/tutorial_T2-Calibration_4_3.png