From 390d2299445296465075b7981c23dd34ed5955f4 Mon Sep 17 00:00:00 2001 From: Nicolas Mounet Date: Mon, 31 May 2021 23:23:42 +0200 Subject: [PATCH] Caching aerosols computation --- cara/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cara/models.py b/cara/models.py index 481074cd..cf2ffb8f 100644 --- a/cara/models.py +++ b/cara/models.py @@ -550,6 +550,7 @@ class Expiration(_ExpirationBase): # speaking, singing, or shouting). BLO_factors: typing.Tuple[float, float, float] + @cached() def aerosols(self, mask: Mask): """ Result is in mL.cm^-3 """ def volume(d):