Commit graph

177 commits

Author SHA1 Message Date
Luis Aleixo
77143c13c0 added vl_data on percentiles 2023-08-03 16:16:26 +02:00
Luis Aleixo
1abfe3cfe5 added a method to manufacture conditional probability and send it in the report 2023-08-03 15:01:31 +02:00
Luis Aleixo
96e9aead44 removed manufacture viral load scenarios method and related references 2023-08-03 15:01:06 +02:00
Luis Aleixo
6622315dd9 changed mypy type 2023-07-31 17:33:44 +02:00
Luis Aleixo
7d338d3e2d separated vl method and added a test file 2023-07-28 17:39:17 +02:00
Luis Aleixo
fe60e1703f added mypy typing check 2023-07-28 17:39:17 +02:00
Luis Aleixo
b6051778eb modified method to calculate conditional probability 2023-07-28 17:39:16 +02:00
Luis Aleixo
8e877ec357 created a simple population class for the CO2 concentration model 2023-07-25 13:18:33 +02:00
Luis Aleixo
68bc8cc6a1 Merge branch 'feature/vl_dist' into 'master'
Propagate viral load distribution to front-end side

See merge request caimira/caimira!457
2023-07-19 18:32:05 +02:00
Luis Aleixo
e732fb48d7 data service: add toggle env var to make it optional 2023-07-19 11:39:39 +02:00
Luis Aleixo
c9a64a2d92 handled exceptions 2023-07-17 17:28:46 +02:00
Luis Aleixo
38587c43ef added the data service as an external component (class) 2023-07-17 17:28:09 +02:00
Luis Aleixo
9c33ac1df0 updated server-side logic 2023-07-17 17:28:09 +02:00
Luis Aleixo
6cc6121075 developed server side API connection to Service Data (WP3) 2023-07-17 17:28:09 +02:00
Luis Aleixo
43630cda2c added logarithm of viral load distribution to jinja variable 2023-07-14 11:23:42 +02:00
Luis Aleixo
2d1e8af30f added viral load distribution as a variable to display in the front-end side 2023-07-12 17:11:03 +02:00
Andre Henriques
f6579fb31a Merge branch 'feature/CO2_profile' into 'master'
CO₂ Concentration Plot

Closes #307 and #297

See merge request caimira/caimira!428
2023-06-16 14:58:58 +02:00
Luis Aleixo
96da4cc980 version update 2023-06-15 14:53:52 +02:00
Luis Aleixo
706c352392 removed unused methods 2023-06-13 16:00:30 +02:00
Luis Aleixo
f45ca3904d added logic with IntPiecewiseConstant for dynamic CO2 2023-06-13 15:58:27 +02:00
Luis Aleixo
a261ac4bf0 added method to combine different present intervals 2023-06-12 15:19:55 +02:00
Luis Aleixo
4f6a967864 added way to determine size of tooltip 2023-06-12 15:19:06 +02:00
Luis Aleixo
800578f031 adjustments to d3 plot 2023-06-12 15:19:06 +02:00
Luis Aleixo
34cdfa536c changed color scheme for build generic graph 2023-06-12 15:19:06 +02:00
Luis Aleixo
bc7dae3610 changed CO2 label and added hlines with legends 2023-06-12 15:19:06 +02:00
Luis Aleixo
b17a1b991a modified draw alternative scenarios method to be a generic plot and added export CO2 cvs data 2023-06-12 15:19:06 +02:00
Luis Aleixo
e67960e035 added methods to generate CO2 model 2023-06-12 15:19:06 +02:00
Luis Aleixo
6bfebc76d4 added frontend visualisation for CO2 plot 2023-06-12 15:17:40 +02:00
Luis Aleixo
290ffcf3d0 fixed x attribute for dash line (mean of PI) on histogram 2023-06-12 14:22:58 +02:00
Luis Aleixo
a547700779 removed results from report and re-added timeout values 2023-06-02 14:49:18 +02:00
Luis Aleixo
d04869ce16 added generation of conditional probability of infection values based on form condition 2023-06-02 14:42:38 +02:00
Luis Aleixo
7542683da2 added two more viral load scenarios 2023-06-01 17:20:39 +02:00
Luis Aleixo
96b6a84b76 improved report generator methods 2023-06-01 16:31:04 +02:00
Luis Aleixo
207606e97e added more vl values for calculation 2023-05-31 16:52:30 +02:00
Luis Aleixo
ca786d7e7f added results with different viral load values 2023-05-31 16:36:56 +02:00
Luis Aleixo
0cb6477cb2 modified file name and references. removed unused variables 2023-05-26 09:44:47 +02:00
Luis Aleixo
1171e51f90 removed private reference for DEFAULT_DATA variables 2023-05-25 16:43:45 +02:00
Luis Aleixo
14a6fb73a7 adapted model_generator validation references 2023-05-25 16:43:45 +02:00
Luis Aleixo
98f6e3446b added default data file 2023-05-25 16:43:45 +02:00
Luis Aleixo
ce99afb965 added static url to base urls 2023-05-15 10:23:14 +02:00
Luis Aleixo
4e6b7479e6 fixed breaking condition 2023-05-15 10:02:11 +02:00
Luis Aleixo
f1b0ad1e30 base urls definition 2023-05-12 16:55:31 +02:00
Luis Aleixo
5525df36eb version update 2023-05-12 09:15:25 +02:00
Luis Aleixo
18978aef20 adapted deployment configs 2023-05-09 17:20:34 +02:00
Luis Aleixo
7fd0e0f8ec updated env var EXTRA_PAGES structure 2023-05-09 17:13:46 +02:00
Luis Aleixo
2d3a925fc5 adapted init methods to consider readme and about pages as generic 2023-05-08 10:55:02 +02:00
Luis Aleixo
74dd8ed6e8 applied matomo script code 2023-05-05 16:33:19 +02:00
Luis Aleixo
7cbe9bb050 updated version 2023-05-03 16:35:01 +02:00
Luis Aleixo
022abad186 updated branch according to review: - new presence_interval() method in the population class that avoids repetition of if conditions through the code. - typo fix. -tests were updated accordingly 2023-04-28 12:05:30 +02:00
Nicolas Mounet
fe19cb5976 Change all normalization factors and emission rates (when present) into 'per person' quantities (i.e. do not normalize anymore by the number of infected people) - to allow dynamic number of infected people. Changing the test accordingly, and the documentation. Adding a __post_init__ check in ExposureModel to forbid the use of dynamic number of exposed people, for now. 2023-04-28 08:54:59 +02:00