-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.py
65 lines (62 loc) · 837 Bytes
/
constants.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# TUH EEG
TUH_CHANNELS = [
"EEG FP1",
"EEG FP2",
"EEG F3",
"EEG F4",
"EEG C3",
"EEG C4",
"EEG P3",
"EEG P4",
"EEG O1",
"EEG O2",
"EEG F7",
"EEG F8",
"EEG T3",
"EEG T4",
"EEG T5",
"EEG T6",
"EEG FZ",
"EEG CZ",
"EEG PZ",
]
# Resampling frequency
TUH_FREQUENCY = 200
TUH_LABEL_DICT = {
"fnsz": 0,
"gnsz": 1,
"spsz": 2,
"cpsz": 3,
"absz": 4,
"tnsz": 5,
"tcsz": 6,
"mysz": 7,
}
# Dreem DOD-H
DODH_CHANNELS = [
"C3_M2",
"F3_F4",
"F3_M2",
"F3_O1",
"F4_M1",
"F4_O2",
"FP1_F3",
"FP1_M2",
"FP1_O1",
"FP2_F4",
"FP2_M1",
"FP2_O2",
"ECG",
"EMG",
"EOG1",
"EOG2",
]
DREEM_FREQ = 250
DREEM_LABEL_DICT = \
{
0:"WAKE",
1: "N1",
2: "N2",
3: "N3",
4: "REM"
}