From b820b3d889f9f963aa4f19ab73cd97d9a06430f6 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Tue, 7 Sep 2021 09:56:42 +0200 Subject: [PATCH] bug in print_er_info arguments --- cara/plot_output.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cara/plot_output.py b/cara/plot_output.py index d64d6cec..0c828020 100644 --- a/cara/plot_output.py +++ b/cara/plot_output.py @@ -23,7 +23,7 @@ print('\n<<<<<<<<<<< Vlout for Talking, seated with chosen Cn,L >>>>>>>>>>>') # Exhaled virions while breathing according to BLO model, seated # print('\n<<<<<<<<<<< Vlout for Breathing, seated with chosen Cn,B >>>>>>>>>>>') -exposure_model_from_vl_breathing_cn() +#exposure_model_from_vl_breathing_cn() print('\n') ############ Statistical Data ############ @@ -34,7 +34,7 @@ exposure_model = exposure_mc.build_model(size=SAMPLE_SIZE) emission_rate = exposure_model.concentration_model.infected.emission_rate_when_present(cn_B=0.06, cn_L=0.2) breathing_er = [np.log10(er) for er in emission_rate] print('\n<<<<<<<<<<< Breathing model statistics >>>>>>>>>>>') -print_er_info(breathing_er) +print_er_info(emission_rate, breathing_er) ############ Speaking model ############ exposure_mc = model_scenarios_paper.speaking_exposure() @@ -42,7 +42,7 @@ exposure_model = exposure_mc.build_model(size=SAMPLE_SIZE) emission_rate = exposure_model.concentration_model.infected.emission_rate_when_present(cn_B=0.06, cn_L=0.2) speaking_er = [np.log10(er) for er in emission_rate] print('\n<<<<<<<<<<< Speaking model statistics >>>>>>>>>>>') -print_er_info(speaking_er) +print_er_info(emission_rate, speaking_er) ############ Shouting model ############ exposure_mc = model_scenarios_paper.shouting_exposure() @@ -50,7 +50,7 @@ exposure_model = exposure_mc.build_model(size=SAMPLE_SIZE) emission_rate = exposure_model.concentration_model.infected.emission_rate_when_present(cn_B=0.06, cn_L=0.2) shouting_er = [np.log10(er) for er in emission_rate] print('\n<<<<<<<<<<< Shouting model statistics >>>>>>>>>>>') -print_er_info(shouting_er) +print_er_info(emission_rate, shouting_er) ############ Plots with viral loads and emission rates