-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
62 lines (40 loc) · 1.26 KB
/
constants.py
File metadata and controls
62 lines (40 loc) · 1.26 KB
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
"""
Constants for EEG experiments
"""
#######################
# Channel Constants
#######################
COMMON_CHANNELS = [
'Fz', 'Pz', 'P3', 'P4', 'Oz'
]
P3_CHANNELS = [
'Fz', 'Cz', 'Pz', 'P3', 'P4', 'PO7', 'PO8', 'Oz'
]
AVO_CHANNELS = [
'Fz', 'Pz', 'P3', 'P4', 'Oz'
]
# P3_CHANNELS = [
# 'FP1', 'F3', 'F7', 'FC3', 'C3', 'C5', 'P3', 'P7', 'P9', 'PO7',
# 'PO3', 'O1', 'Oz', 'Pz', 'CPz', 'FP2', 'Fz', 'F4', 'F8', 'FC4',
# 'FCz', 'Cz', 'C4', 'C6', 'P4', 'P8', 'P10', 'PO8', 'PO4', 'O2'
# ]
# AVO_CHANNELS = [
# 'Fp1', 'Fz', 'F3', 'F7', 'FC5', 'FC1', 'C3', 'T7',
# 'CP5', 'CP1', 'Pz', 'P3', 'P7', 'O1', 'Oz', 'O2',
# 'P4', 'P8', 'CP6', 'CP2', 'C4', 'FC6', 'FC2', 'F4',
# 'F8', 'Fp2'
# ]
#######################
# Event Constants
#######################
# Response event codes to remove (both original and MNE-mapped codes)
RESPONSE_EVENTS = [6, 7, 201, 202] # MNE-mapped: [6, 7], Original: [201, 202]
# Oddball event codes (mapped codes from MNE)
ODDBALL_EVENTS = [1, 9, 15, 21, 27] # These correspond to original codes 11, 22, 33, 44, 55
# Event mapping
EVENT_MAPPING = {0: "standard", 1: "oddball"}
#######################
# Data Processing Constants
#######################
# Normalization epsilon for numerical stability
NORMALIZATION_EPSILON = 1e-7