From cd3e90823e014f548aac05a121d54d8b72b9a476 Mon Sep 17 00:00:00 2001 From: markus Date: Fri, 5 Feb 2021 11:06:30 +0100 Subject: [PATCH] fix unit conversion --- cara/montecarlo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cara/montecarlo.py b/cara/montecarlo.py index 2742f9b3..29d934e0 100644 --- a/cara/montecarlo.py +++ b/cara/montecarlo.py @@ -184,7 +184,7 @@ class MCInfectedPopulation(MCPopulation): def integrand(d: int) -> float: return function(d) * np.pi * d ** 3 / 6.0 - return quad(integrand, 0.1, 30)[0] + return quad(integrand, 0.1, 30)[0] * 1e-6 def emission_rate_when_present(self) -> np.ndarray: """