Commit graph

1518 commits

Author SHA1 Message Date
Germain Personne
18cce44afa Adapted the plot to not have the y axis' legend hidden by the matlpotlib icons, added a better looking legend to the plot, made the comparison results work, added cummulative doses' curves for ExposureComparissonResult and ExposureModelResult, modified the viral load to be displayed as scientific writing on the UI 2022-05-12 16:26:45 +02:00
Germain Personne
9147b73a90 import mplcursors, resized the figure, added a shading for the exposed person presence, added a way to custom the virus properties (viral load, infectious dose, trasmissibility factor), 2022-05-02 17:32:09 +02:00
Germain Personne
699ef53bce Changed the label Daily variation for Meteorological data 2022-04-27 12:23:14 +02:00
Germain Personne
abc61ee522 Moved the plot, change the colors of the curves, added a second axis for cumulative dose, changed the position of the legend 2022-04-22 17:28:13 +02:00
Germain Personne
a4bbb80727 Added a curve for the mean cumulative dose 2022-04-19 17:23:04 +02:00
Germain Personne
66d9a6d831 Changed the name of the relative indoor humidity 2022-04-14 16:50:45 +02:00
Germain Personne
5509b7efe6 Improved code structure 2022-04-14 12:23:00 +02:00
Germain Personne
91bc687a58 Added default volume value for surface and ceiling height 2022-04-14 11:59:35 +02:00
Germain Personne
aff1459fc9 Merge branch 'master' into feature/expert_app_header 2022-04-14 10:56:15 +02:00
Germain Personne
053f6bddcf Created a slider for humidity in the room but still needs revision because of the way models.py handles 0.4<=humidity<0.4 2022-04-13 17:26:25 +02:00
Germain Personne
fbc6d40cc7 Added the possibility to change the number of windows, number of exposed and infected people in the room
Added a text box for the room number
A try to change lunch break time but not working yet
A try to state wether you have central heating in the room or not but not linked to the graph yet
2022-04-11 17:28:57 +02:00
Germain Personne
17fe8b0a17 Added a way to input room volume by specifying surface area and ceiling height 2022-04-08 16:16:58 +02:00
Germain Personne
94cf375eb7 Aligned the parameters on the UI 2022-04-07 17:54:07 +02:00
Germain Personne
5e1605d9de Removing unsused imports 2022-04-07 11:12:24 +02:00
Germain Personne
61dc7d5f5e Bug in build_HEPA method 2022-04-07 10:34:52 +02:00
Germain Personne
89870a1ff6 Added a window height parameter 2022-04-07 10:24:49 +02:00
Andre Henriques
c1589a04fc Merge branch 'feature/short_range_bug_fix_and_tests' into 'master'
Adding breathing rate factor in short-range deposited exposure (bug fix), and exposure tests for short-range

See merge request cara/cara!345
2022-04-07 09:29:23 +02:00
Nicolas Mounet
4dd5b8a091 Minor fix in the (largely unused) virus types, for consistency 2022-04-07 06:53:43 +02:00
Germain Personne
6e2f2f3498 Added the options of "Sliding" and "Hinged" windows with associated "open distance" for both and "window width" for the "Hinged window"
Added a HEPA filtration distinct type of ventilation
2022-04-06 17:40:08 +02:00
James Devine
0b58d59bd8 Merge branch 'no_lfs' into 'master'
Return LFS files to repository

See merge request cara/cara!344
2022-04-06 11:48:34 +02:00
James Devine
6226048f9b Return LFS files to repository 2022-04-06 11:48:34 +02:00
Nicolas Mounet
808c71c266 Cosmetic changes in models.py 2022-04-06 11:48:26 +02:00
Nicolas Mounet
ad83e7a127 Fixing full algorithm exposure tests (short-range) 2022-04-06 11:42:19 +02:00
Nicolas Mounet
cb634102ca Changing version number 2022-04-05 19:46:00 +02:00
Nicolas Mounet
ac92c99098 Adding breathing rate factor in short-range deposited exposure (bug fix); more samples in Monte-Carlo general tests 2022-04-05 19:42:22 +02:00
Nicolas Mounet
99e57da469 Adding full algorithm tests on exposure (simple, with virus distributions, and with short-range) 2022-04-05 18:30:14 +02:00
Germain Personne
63c35139b7 Changed the labels for "Mechanical" dropdown widgets 2022-04-05 14:39:06 +02:00
Germain Personne
1c62b04b3d Added options for the mechanical ventilation and changed widgets 'virus', 'exposed' and ' 'infected' sections to be dropdowns. 2022-04-05 14:21:45 +02:00
Andre Henriques
f6bd576134 Merge branch 'feature/short_range_concentration' into 'master'
Short range implementation

See merge request cara/cara!335
2022-04-05 11:52:15 +02:00
Luis Aleixo
341d83a81d Increased the version to 4.1.0 2022-04-05 11:21:36 +02:00
Luis Aleixo
c63182378e Adapter error message on short range duration 2022-04-04 17:18:00 +02:00
Luis Aleixo
b1f421bbc1 Added warning for 15 minutes duration times on short range 2022-04-04 16:33:13 +02:00
Germain Personne
fe7dc34336 We put a real png image as a header 2022-04-01 16:20:32 +02:00
Nicolas Mounet
009c9eea01 Adding full algorithm test (partial - up to concentration only); cosmetic changes; improvement of dilution tests 2022-03-31 18:17:15 +02:00
Luis Aleixo
a2faa2523a Reformulation on short range. Exposure model has now a list of ShortRangeModels for each interaction 2022-03-29 12:19:14 +02:00
Luis Aleixo
5720f0340a Changed label on short range activity and added BR on dilution factor 2022-03-28 15:41:55 +02:00
Luis Aleixo
b51848b755 Merge branch 'master' into feature/short_range_concentration 2022-03-25 16:22:17 +01:00
Andre Henriques
d672fd823f Merge branch 'feature/disclaimer_block' into 'master'
Disclaimer block

Closes #252

See merge request cara/cara!343
2022-03-25 16:05:03 +01:00
Luis Aleixo
29f5e9cc0f Fixed bug on legend with firefox 2022-03-25 15:28:30 +01:00
Luis Aleixo
dc1020c159 Added disclaimer from common_text in report page 2022-03-25 15:04:29 +01:00
Luis Aleixo
9ef38329d1 Added Disclaimer to common text 2022-03-25 15:04:29 +01:00
Luis Aleixo
052758cc01 When short range interactions are set, remove alternative scenarios option 2022-03-25 14:57:11 +01:00
Andre Henriques
5b58e13391 Merge branch 'feature/applicable_rules_image' into 'master'
Warning scale image - CERN template

See merge request cara/cara!342
2022-03-25 13:40:32 +01:00
Luis Aleixo
c8431e56b2 warning scale at cern image rename 2022-03-25 11:10:57 +01:00
Luis Aleixo
4c0daa36e3 Added long range cumulative line legend and adjusted all legend elements 2022-03-24 17:07:20 +01:00
Luis Aleixo
70e1d2c5fc Changed error for short range interaction out of simulation time 2022-03-24 13:58:55 +01:00
Luis Aleixo
4f6398e819 Replaced "long range" by "long-range" 2022-03-24 13:55:03 +01:00
Luis Aleixo
6355123a34 Merge branch 'master' into feature/short_range_concentration 2022-03-24 11:23:52 +01:00
Luis Aleixo
a1e577015f Changed "short range" to "short-range" 2022-03-24 11:18:08 +01:00
Luis Aleixo
616e56f8a9 Adapted P(I) message and changed "show long range cumulative dose" label 2022-03-24 11:11:51 +01:00