From cb7d8abeb8a0f6e575d58fa907346e1c489974a7 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Tue, 14 Sep 2021 17:36:53 +0200 Subject: [PATCH] changed linespace range --- cara/results_paper.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cara/results_paper.py b/cara/results_paper.py index d128bdb0..d85d5234 100644 --- a/cara/results_paper.py +++ b/cara/results_paper.py @@ -507,7 +507,7 @@ def calculate_deposition_factor(): br_heavy_exercise = breathing_heavy_exercise_exposure() br_heavy_exercise_model = br_heavy_exercise.build_model(size=SAMPLE_SIZE) - rho_p = 1.2 + rho_p = 1000 mu_air = 1.8*10**-5 FRC = 0.003 Vt = 0.0004 @@ -515,7 +515,8 @@ def calculate_deposition_factor(): k = 1.38*10**-23 T = 300 - diameters = np.linspace(0.001, 100, 400) #particle diameter (multiply later by 10**(-6)) + diameters = np.linspace(0.001, 0.01, 1000) #particle diameter (multiply later by 10**(-6)) + diameters = np.append(diameters, np.linspace(0.01, 100, 400)) activity_fractions = [] for scenario in (br_seated_model, br_light_activity_model, br_heavy_exercise_model): BRk = scenario.exposed.activity.inhalation_rate