-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.py
37 lines (31 loc) · 1.17 KB
/
common.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python3
CANTONS = 26
NAMES = ['AG','AI','AR','BE','BL','BS','FR','GE','GL','GR',\
'JU','LU','NE','NW','OW','SG','SH','SO','SZ','TG',\
'TI','UR','VD','VS','ZG','ZH']
'''
Below we list the dates that interest us for this particular study:
Day 0 (25.02.2020) : First reported case in Ticino
Day 21 (17.03.2020) : First measures announced by the government
Day 102 (06.06.2020) : Loosening of measures started
'''
#Case I: Start of the epidemic
#No data is available and sensors are placed in the first week.
T_DATA_CASE_1 = 0
T_S_CASE_1 = 0
T_E_CASE_1 = 8
#Case II: First intervention announced
#Data is available for the first 21 days and sensors are placed in the next two weeks.
T_DATA_CASE_2 = 21
T_S_CASE_2 = T_DATA_CASE_2
T_E_CASE_2 = 21 + 14
#Case III: Loosening of measures annoucned
#Data is available for the first 102 days and sensors are placed in the next 38 days.
T_DATA_CASE_3 = 102
T_S_CASE_3 = T_DATA_CASE_3
T_E_CASE_3 = 102 + 8
#Case IV: Loosening of measures annoucned
#Data is available for the first 136 days and sensors are placed in the next 38 days.
T_DATA_CASE_4 = 136 #July 9
T_S_CASE_4 = T_DATA_CASE_4
T_E_CASE_4 = T_S_CASE_4 + 8