Commit graph

1406 commits

Author SHA1 Message Date
Luis Aleixo
e4807b6b2c Added method to generate the BLO curve 2022-02-28 11:32:47 +01:00
Luis Aleixo
93a6913c8c Adapted plots to correct expiration 2022-02-25 17:32:56 +01:00
Luis Aleixo
98aba25bd0 merge changes 2022-02-23 10:39:20 +01:00
Luis Aleixo
983078f3a3 Changed baseline model to consider the OMICRON varian 2022-02-23 10:36:49 +01:00
CERN\Andrejh
3acecd1573 fix plot axis 2022-02-22 09:32:11 +01:00
Andrejh
f9e761edab timestep change 2022-02-21 14:43:20 +01:00
Andrejh
4fa3d3b959 add example with 1 SR interaction 2022-02-21 14:43:06 +01:00
Andrejh
d76c7172cd change to 500m3/h 2022-02-21 14:42:18 +01:00
Andrejh
fb266e5a1b change baseline model 2022-02-21 10:57:33 +01:00
Andrejh
96800e04ff change to plot_vD_vs_exposure_time 2022-02-21 10:57:20 +01:00
Andrejh
a594b67528 change to omicron 2022-02-21 10:41:21 +01:00
Andrejh
293f8d6b76 legend updates 2022-02-21 10:41:06 +01:00
Luis Aleixo
330c47823e Added logic to reproduce plots 2022-02-18 17:47:09 +01:00
Luis Aleixo
46d99c4f32 Added documentation on the adapted methods 2022-02-17 17:31:24 +01:00
Luis Aleixo
8566657f81 Changed type of short range presence and added tests 2022-02-17 16:27:20 +01:00
Luis Aleixo
2f0ea6110d Removed X from UI short range dialog 2022-02-17 16:26:49 +01:00
Luis Aleixo
e8065e48c3 Fixed ExposureModel in tests 2022-02-17 11:54:10 +01:00
Luis Aleixo
01820fa4e0 Introduced short_range in ExposureModel 2022-02-17 10:53:27 +01:00
Luis Aleixo
444fde14b7 Changed max diameters size 2022-02-17 10:23:11 +01:00
Luis Aleixo
bc9a25a7e4 UI adjustments on the short range interactions
Removed unused code
2022-02-17 10:23:01 +01:00
Luis Aleixo
1760a518de Implemented ShortRangeModel dataclass 2022-02-08 09:57:16 +00:00
Luis Aleixo
d2164383e5 Removed unused code 2022-02-08 09:55:51 +00:00
Luis Aleixo
4704a6e022 Merge with master 2022-02-04 15:08:36 +01:00
Andre Henriques
7e61cc33e5 Merge branch 'feature/cumulative_inf_aero' into 'master'
Method to calculate the deposited_exposure between two times

See merge request cara/cara!322
2022-02-04 10:38:22 +01:00
Luis Aleixo
60cacfe9a1 Changed inf_aero variable name 2022-02-03 17:21:26 +01:00
Luis Aleixo
fb15b6f451 changed and added tests on test_exposure_model 2022-02-03 15:25:39 +01:00
Luis Aleixo
8855dfc75a Changed test values on test_monte_carlo_full_models 2022-02-03 15:14:33 +01:00
Luis Aleixo
2a43fffec9 changed docstring on models.py for the deposited_expoure method 2022-02-03 10:55:06 +01:00
Luis Aleixo
fee2bcab86 Changed test values on test_known_quantities 2022-02-03 10:54:44 +01:00
Luis Aleixo
c24853516b Changed test_monte_carlo.py exposure method 2022-02-03 10:10:53 +01:00
Luis Aleixo
dd77ba5090 added self.repeats to the deposited exposure calculation 2022-02-02 17:24:41 +01:00
Luis Aleixo
b7007ae345 deposited exposure as public method 2022-02-02 17:03:23 +01:00
Luis Aleixo
fbe47fa4d4 Removed exposure_between_bounds and exposure methods; created a deposited_exposure_between_bounds that considers the previous inf_aero; created deposited_exposure method that calls the deposited_exposure_between_bounds within start and stop times during the day; consider these methods to calculate the cumulative dose 2022-02-02 11:27:46 +01:00
Andre Henriques
584031e006 Merge branch 'feature/version_update' into 'master'
CARA version update following MR 307

See merge request cara/cara!325
2022-02-01 17:35:44 +01:00
Luis Aleixo
b5fd442c67 Version update 2022-02-01 17:26:30 +01:00
Andre Henriques
28a59fc075 Merge branch 'feature/pi_thresholds_animation' into 'master'
Updated missing threshold values on CERN applicable rules

Closes #244

See merge request cara/cara!324
2022-02-01 16:53:55 +01:00
Luis Aleixo
b813ce505b Updated missing threshold values on CERN applicable rules 2022-02-01 16:48:01 +01:00
Andre Henriques
b84d63ae25 Merge branch 'feature/pi_thresholds' into 'master'
New threshold values on CERN theme

Closes #244

See merge request cara/cara!323
2022-02-01 14:38:14 +01:00
Andre Henriques
a645263c31 Merge branch 'feature/scientific_model_update' into 'master'
Model updates with virology parameters

See merge request cara/cara!307
2022-02-01 14:06:07 +01:00
Luis Aleixo
02468f42fa updated threshold values 2022-02-01 12:14:49 +01:00
Luis Aleixo
3e4aa09eee Moved SAMPLE_SIZE and TOLERANCE to the respective test where they are used 2022-02-01 09:30:41 +01:00
Luis Aleixo
99388d2fe5 Removed unused console.log and changed logic for generating the short range interactions list 2022-01-28 12:08:28 +01:00
Luis Aleixo
68d495ee8e Move toronto temperatures into test_monte_carlo_full_models where it is used 2022-01-28 11:18:47 +01:00
Luis Aleixo
7c0012d355 handled case when back navigation is performed with changing the short range option 2022-01-27 17:23:42 +01:00
Nicolas Mounet
7af1abcde6 Minor fixes in cara/models.py 2022-01-27 15:38:25 +01:00
Andre Henriques
3b89ce1e43 Merge branch 'feature/covid_level_text' into 'master'
Covid level text update

See merge request cara/cara!321
2022-01-27 13:25:08 +01:00
Nicolas Mounet
8b485e80a7 Bug fix in Exposure class (cara/models.py) 2022-01-27 10:39:15 +01:00
Nicolas Mounet
46146b2a45 Improving fraction_deposited docstrings (in cara/models.py) 2022-01-27 10:14:43 +01:00
Nicolas Mounet
5302001ed9 Restructuring exposure class to avoid smelly code (cara/models.py) 2022-01-26 20:47:28 +01:00
Luis Aleixo
6b8f71048a Added covid level variable comments on the code for future reference. 2022-01-26 17:46:54 +01:00