Commit graph

41 commits

Author SHA1 Message Date
Luis Aleixo
9a43db9c5a other variable names 2021-08-03 15:33:40 +02:00
Luis Aleixo
b3316cea83 Bugfixes/terminal error tuple 2021-07-07 10:55:06 +00:00
Nicolas Mounet
bf45490dfc Renaming variant into B117, and avoid calling it UK variant in forms and reports. Change its viral load back to std value, and increase infectivity to 1/30 2021-03-09 08:38:47 +00:00
Phil Elson
c8f39dc26b Track down the issue with the expert app and typing.
The visitor pattern in the StateBuilder means that it is easy to miss type changes in the dataclass definition.
2021-01-06 16:21:33 +01:00
Phil Elson
e9f9b7fde9 Fix up type annotation issues with the cara.state module. 2021-01-06 16:15:21 +01:00
Phil Elson
64fa2b60a4 Address and enable static type analysis checking of cara. 2021-01-06 16:15:21 +01:00
Nicolas Mounet
04980cc41b Replacing WindowOpening by Sliding Window in expert app 2020-12-01 15:33:48 +01:00
Nicolas Mounet
44a3204bef Improving implementation of Hinged and Sliding window (as subclasses of WindowOpening). Changed cd_b into discharge_coefficient everywhere. 2020-12-01 08:22:51 +01:00
Andre Henriques
a8d7d6e7b7 change default activities 2020-11-20 11:11:50 +00:00
Phil Elson
de6137004c Improve the layout system for the ventilation schemes on the ExpertApp. 2020-11-20 11:14:06 +01:00
Andre Henriques
102f22dc16 default back to 120 2020-11-20 11:14:06 +01:00
Andre Henriques
c59e7762de delete 'aerosols' 2020-11-20 11:14:06 +01:00
Andre Henriques
8fa637a790 minor modifs in expert app 2020-11-20 11:14:06 +01:00
Phil Elson
ffbe9baba6 Improve the class hierachy, and add an extra ExpertApp test. 2020-11-19 12:49:19 +01:00
Phil Elson
ce4e886e54 Use a HTML output, rather than a stdout one. It produces better lookign visuals, and is less jumpy with an update to the html. 2020-11-19 12:45:49 +01:00
Phil Elson
1bb8bbb6e0 Move the results accordion to its own tab. 2020-11-19 12:44:39 +01:00
Phil Elson
12cb3d1427 Split the MultiModelView so that its data is being handled by the Controller (ExpertApp). 2020-11-19 12:44:39 +01:00
markus
26f621d5af use model presence-boundaries to determine time-interval of plot 2020-11-19 12:44:39 +01:00
markus
fa9b87ca35 move tab-logic to MultiModelView 2020-11-19 12:44:39 +01:00
markus
0d68a6efd4 use widget of comparison_view 2020-11-19 12:44:39 +01:00
markus
455955c391 pre-package tabs and comparison into multi_model_view 2020-11-19 12:44:39 +01:00
markus
e0923d2e83 expose comparison plot canvas as property 2020-11-19 12:44:39 +01:00
markus
32e1548e2f move comparison plot to separate class 2020-11-19 12:44:39 +01:00
markus
23cc6d2f8c change "views" to "tab_views" 2020-11-19 12:44:39 +01:00
markus
c6a374d42f add working comparison tab 2020-11-19 12:44:39 +01:00
markus
202ab88ff9 add placeholder for comparison tab 2020-11-19 12:44:39 +01:00
jdevine
b6403690e7 Updated activity types and profiles. Documentation updated as well. 2020-11-17 19:15:33 +01:00
Phil Elson
31f628f9e5 Implement an ExposureModel.reproduction_number, which is modelled by having precisely one infected person in the concentration model. 2020-11-12 21:27:01 +01:00
markus
55e1a1a832 fix ExposureModel attribute bugs 2020-11-11 12:01:28 +01:00
markus
550a5821ab Add tabs to interface 2020-11-11 11:34:15 +01:00
Nicolas Mounet
360d8c6645 expert app: hepa -> mechanical; minor changes in code formatting 2020-11-11 10:29:10 +01:00
Nicolas Mounet
6d1085bd2b Adding mask to exposed in expert app 2020-11-11 09:27:23 +01:00
Nicolas Mounet
06368bcb46 Merge branch 'master' of https://gitlab.cern.ch/cara/cara into develop/expert_app_ventilation_temp 2020-11-11 09:13:44 +01:00
Phil Elson
a9221c558b Implement an emission_rate_when_present method on InfectedPopulation, so that we don't have to keep guessing a time when they are present. 2020-11-10 17:25:19 +01:00
Phil Elson
7b43eb0ea5 Rename Model to ConcentrationModel. 2020-11-10 17:19:19 +01:00
Phil Elson
200e7cb14b Apply ExposureModel to both the expert and calculator apps. 2020-11-10 16:46:35 +01:00
Nicolas Mounet
f5f7eea084 Adding choice of temperature (including hourly time-dependence) in expert app 2020-11-09 20:57:01 +01:00
Nicolas Mounet
4f502b4b55 Expert app: HEPA -> Mechanical; starting time scale at first presence time; minor change in temperatures and in y scale 2020-11-09 20:54:20 +01:00
Nicolas Mounet
f9335710b6 Renaming PiecewiseconstantFunction class into PiecewiseConstant 2020-11-05 09:10:07 +01:00
Nicolas Mounet
ae5cb9536b baseline_model in tests and expert.py, now use piecewise constant temperatures 2020-11-04 23:39:41 +01:00
Phil Elson
ffa2e53994 Prepare the repository for having a separate calculator app. 2020-11-03 12:42:14 +01:00
Renamed from cara/apps.py (Browse further)