Luis Aleixo
a54da08789
renamed and moved total_people for short-range interactions to the exposure model
2024-05-24 16:42:03 +02:00
Luis Aleixo
70dc4a93d6
simplified report logic
2024-05-24 16:42:03 +02:00
Luis Aleixo
507e586757
re-factor expected new cases method
2024-05-24 16:42:03 +02:00
Luis Aleixo
abd6bb0767
display the input in form
2024-05-24 16:41:33 +02:00
Luis Aleixo
862010a9e0
added validation
2024-05-24 16:41:33 +02:00
Luis Aleixo
0352675878
added input to model generator from form
2024-05-24 16:41:33 +02:00
Luis Aleixo
e97a4cc805
added new model input
2024-05-24 16:41:33 +02:00
Luis Aleixo
6202ac0874
fixed error in placeholder for secondary school (data registry defaults)
2024-05-23 14:47:49 +02:00
Luis Aleixo
00b5dc535d
fixed bug with expected new cases when short range interactions are defined
2024-04-20 13:54:46 +01:00
Luis Aleixo
6f537e1df3
updated patch version
2024-04-18 10:35:22 +02:00
Luis Aleixo
6a69f91c90
added placeholder for activity types and fetched this data directly in form calculator
2024-04-18 10:28:39 +02:00
Luis Aleixo
f06bb83d30
increased minor version with parallel computing
2024-04-11 15:44:40 +02:00
Luis Aleixo
ddf7684798
added executor factory to ConcentrationModelJsonResponse class
2024-03-20 11:32:01 +01:00
Nicola Tarocco
c52d017a31
model: compute deposited exposures in parallel
...
* compute deposited exposures by calculating each time window in a thread,
in parallel
* compute the CO2 concentration calcuation of each window in parallel
* the usage of multithreading speeds up the overall calculation by at
least by a factor of 3.
2024-03-17 18:12:39 +01:00
Luis Aleixo
24b3eba422
fixed bug on displaying inf. probability > 99.9%
2024-03-11 13:45:41 +01:00
Luis Aleixo
5e9d6501ae
added cast to int when fetching env. variables
2024-03-11 13:44:58 +01:00
Luis Aleixo
c5963a978a
Added timeout to fetch method
2024-03-06 14:26:35 +01:00
Luis Aleixo
c8cc0b0908
handled environment variables to be consistent
2024-03-05 17:03:19 +01:00
Nicola Tarocco
ddfe0b660e
tests: make report generation time limit configurable
2024-02-27 21:17:46 +01:00
Luis Aleixo
55850f9971
Merge branch 'feature/profiler' into 'master'
...
Profiler
See merge request caimira/caimira!480
2024-02-16 15:29:15 +01:00
Luis Aleixo
f9d2fc39ec
mypy fix
2024-02-12 12:10:33 +01:00
Nicola Tarocco
00dc79f492
add PyInstrument and cProfile profilers
2024-02-11 17:40:47 +01:00
Luis Aleixo
c78ffadc02
updated qa to prod in data service fetch
2024-01-31 16:39:36 +01:00
Luis Aleixo
38376857fa
modified activity types
2024-01-31 11:50:29 +01:00
Luis Aleixo
7199143257
removed authentication methods and tests for data service
2024-01-31 11:50:12 +01:00
Luis Aleixo
d09d6f0ec8
methods updated to reflect changes
2024-01-26 10:30:59 +01:00
Luis Aleixo
b498e776f7
updated data registry to reflect changes in test data service
2024-01-26 10:30:37 +01:00
Luis Aleixo
2deba13950
bugfix
2023-12-22 08:37:41 +00:00
Andre Henriques
45b81b1761
Merge branch 'feature/inject-data-service' into 'master'
...
inject data registry instance instead of static config
Closes #365
See merge request caimira/caimira!476
2023-12-20 14:44:25 +01:00
Luis Aleixo
ddecd91a85
increased version
2023-12-20 13:20:01 +00:00
Luis Aleixo
17a5fa6316
Merge branch 'feature/resizable_histogram' into 'master'
...
Result uncertainties resizable
See merge request caimira/caimira!477
2023-12-15 14:49:04 +01:00
Luis Aleixo
d3daca23d3
updated enum values and removed fixme references
2023-12-14 15:44:39 +01:00
Nicola Tarocco
00ff1af71d
fix enums for data service
2023-12-14 15:34:08 +01:00
Luis Aleixo
d79ef934cb
finished injection of data_service param
2023-12-14 15:34:08 +01:00
Luis Aleixo
20e8bf1df7
added data_service attr where needed
2023-12-14 15:34:08 +01:00
Nicola Tarocco
2abdd130cf
config: remove Ref: config parsing
2023-12-14 15:34:08 +01:00
Nicola Tarocco
bb51eaa360
config: inject data registry instance instead of static config
...
* closes #365
2023-12-14 15:34:08 +01:00
Luis Aleixo
e0867f1b27
updated minor version
2023-12-14 14:49:28 +01:00
Luis Aleixo
23c8959244
fixed bug related to specific breaks
2023-12-14 14:49:06 +01:00
Luis Aleixo
503a831f41
result uncertainties resizable
2023-12-13 15:57:57 +01:00
Luis Aleixo
2244a1dd19
updated concentration and dose labels to "Infectious Respiratory Particles"
2023-12-13 09:46:30 +01:00
Luis Aleixo
600cee9c9e
minor version update
2023-12-12 16:23:07 +01:00
Nicolas Mounet
d53d62f3f3
Renaming finf in test_full_algorithm
2023-12-12 16:23:07 +01:00
Nicolas Mounet
1f90d08163
Multiplying all emission rate values by 0.305 (average of uniform distribution of f_inf - 0.01 to 0.6) in test_monte_carlo_full_models, to adapt it to f_inf now included in emission rate
2023-12-01 07:35:07 +01:00
Nicolas Mounet
605a2d3fb7
Adapting test_full_algorithm to new concentration with f_inf included (f_inf and HI displaced in SimpleConcentrationModel)
2023-12-01 07:33:26 +01:00
Nicolas Mounet
5b4345e40a
Multiplying all known concentrations in test_exposure_model by f_inf=0.5, as concentration is now with f_inf included
2023-12-01 07:32:03 +01:00
Nicolas Mounet
b39131c14c
Putting f_inf in emission rate, in models.py, and removing it from dose computation
2023-12-01 07:30:29 +01:00
Luis Aleixo
d70029d0ed
Merge branch 'feature/CO2_fit' into 'master'
...
Fit ventilation and exhalation rates on CO2 sensor data
See merge request caimira/caimira!444
2023-11-22 15:43:00 +01:00
Luis Aleixo
f6abdc91c6
merged tests (custom and fixed)
2023-11-22 14:45:57 +01:00
Luis Aleixo
15e792a3ee
modified UI text for CO2 file upload
2023-11-22 14:45:26 +01:00