add example with 1 SR interaction
This commit is contained in:
parent
d76c7172cd
commit
4fa3d3b959
1 changed files with 46 additions and 25 deletions
|
|
@ -13,10 +13,30 @@ from dataclasses import dataclass
|
||||||
from cara.monte_carlo.data import symptomatic_vl_frequencies
|
from cara.monte_carlo.data import symptomatic_vl_frequencies
|
||||||
|
|
||||||
# print('\n<<<<<<<<<<< Peak viral concentration without short range for baseline scenarios >>>>>>>>>>>')
|
# print('\n<<<<<<<<<<< Peak viral concentration without short range for baseline scenarios >>>>>>>>>>>')
|
||||||
# concentration_curve(models = [exposure_module_without_short_range(activity='Seated', expiration='Breathing', mask='No mask')],
|
# concentration_curve(models = [exposure_module_without_short_range(activity='Light activity', expiration={"Speaking": 1, "Breathing": 2}, mask='No mask')],
|
||||||
# labels = ['Baseline'],
|
# labels = ['Background (long-range) concentration'],
|
||||||
|
# labelsDose = ['Dose (long-range)'],
|
||||||
# colors = ['royalblue'],
|
# colors = ['royalblue'],
|
||||||
# )
|
# linestyles = ['--'],
|
||||||
|
# thickness = [2])
|
||||||
|
|
||||||
|
# print('\n<<<<<<<<<<< Peak viral concentration with short range interactions for baseline scenarios >>>>>>>>>>>')
|
||||||
|
# concentration_curve(models=[exposure_module_with_short_range(
|
||||||
|
# activity='Light activity',
|
||||||
|
# expiration={"Speaking": 1, "Breathing": 2},
|
||||||
|
# mask='No mask',
|
||||||
|
# sr_presence=[(10.5, 11.0)],
|
||||||
|
# sr_activities=['Breathing']),
|
||||||
|
# exposure_module_without_short_range(
|
||||||
|
# activity='Light activity',
|
||||||
|
# expiration={"Speaking": 1, "Breathing": 2},
|
||||||
|
# mask='No mask',)
|
||||||
|
# ],
|
||||||
|
# labels = ['Concentration with short range interactions', 'Background (long-range) concentration'],
|
||||||
|
# labelsDose = ['Dose (full)', 'Dose (long-range)'],
|
||||||
|
# colors = ['salmon', 'royalblue'],
|
||||||
|
# linestyles = ['-', '--'],
|
||||||
|
# thickness = [2, 2])
|
||||||
|
|
||||||
# print('\n<<<<<<<<<<< Peak viral concentration with short range interactions for baseline scenarios >>>>>>>>>>>')
|
# print('\n<<<<<<<<<<< Peak viral concentration with short range interactions for baseline scenarios >>>>>>>>>>>')
|
||||||
# concentration_curve(models=[exposure_module_with_short_range(
|
# concentration_curve(models=[exposure_module_with_short_range(
|
||||||
|
|
@ -36,26 +56,27 @@ from cara.monte_carlo.data import symptomatic_vl_frequencies
|
||||||
# linestyles = ['-', '--'],
|
# linestyles = ['-', '--'],
|
||||||
# thickness = [2, 2])
|
# thickness = [2, 2])
|
||||||
|
|
||||||
print('\n<<<<<<<<<<< Dose vs SR exposure time >>>>>>>>>>>')
|
|
||||||
#Always assume 1h for the short range interactions.
|
# print('\n<<<<<<<<<<< Dose vs SR exposure time >>>>>>>>>>>')
|
||||||
#Always assume that in each model there is only ONE short range interaction.
|
# #Always assume 1h for the short range interactions.
|
||||||
plot_vD_vs_exposure_time(exp_models = [
|
# #Always assume that in each model there is only ONE short range interaction.
|
||||||
baseline_model(
|
# plot_vD_vs_exposure_time(exp_models = [
|
||||||
activity='Light activity',
|
# baseline_model(
|
||||||
expiration={"Speaking": 2, "Breathing": 1},
|
# activity='Light activity',
|
||||||
mask='No mask',
|
# expiration={"Speaking": 2, "Breathing": 1},
|
||||||
sr_presence=[(8.5, 9.5)],
|
# mask='No mask',
|
||||||
sr_activities=['Breathing']),
|
# sr_presence=[(8.5, 9.5)],
|
||||||
baseline_model(
|
# sr_activities=['Breathing']),
|
||||||
activity='Light activity',
|
# baseline_model(
|
||||||
expiration={"Speaking": 2, "Breathing": 1},
|
# activity='Light activity',
|
||||||
mask='No mask',
|
# expiration={"Speaking": 2, "Breathing": 1},
|
||||||
sr_presence=[(8.5, 9.5)],
|
# mask='No mask',
|
||||||
sr_activities=['Speaking'])],
|
# sr_presence=[(8.5, 9.5)],
|
||||||
labels = ['Baseline model breathing', 'Baseline model speaking'],
|
# sr_activities=['Speaking'])],
|
||||||
colors=['royalblue', 'darkviolet'],
|
# labels = ['Baseline model breathing', 'Baseline model speaking'],
|
||||||
linestyles=['solid', 'solid'],
|
# colors=['royalblue', 'darkviolet'],
|
||||||
points=20,
|
# linestyles=['solid', 'solid'],
|
||||||
time_in_minutes=True,
|
# points=20,
|
||||||
normalize_y_axis=True)
|
# time_in_minutes=True,
|
||||||
|
# normalize_y_axis=True)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue