-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheeg_config.py
More file actions
50 lines (43 loc) · 1.01 KB
/
eeg_config.py
File metadata and controls
50 lines (43 loc) · 1.01 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
channels = [
"P8",
"O2",
"P4",
"C4",
"F8",
"F4",
"Oz",
"Cz",
"Fz",
"Pz",
"F3",
"O1",
"P7",
"C3",
"P3",
"F7",
"T8",
"FC6",
"CP6",
"CP2",
"PO4",
"FC2",
"AF4",
"POz",
"AFz",
"AF3",
"FC1",
"FC5",
"T7",
"CP1",
"CP5",
"PO3",
]
BRAINACCESS_HALO_4_CHANNEL = {idx: channel for idx, channel in enumerate(channels)}
# Device name - find on the back of your BrainAccess device (e.g., "BA MAXI 012", "BA HALO 001")
DEVICE_NAME = "BA MAXI 012"
# Note: PORT is no longer needed in SDK 3.6.0 - device discovery is handled automatically
PORT = "/dev/rfcomm0" # Deprecated - kept for backwards compatibility
# Sampling rate in Hz (SDK 3.6.0 supports setting via sfreq parameter in setup())
SAMPLING_RATE = 250
DATA_FOLDER_PATH = "eeg_data"
USED_DEVICE = BRAINACCESS_HALO_4_CHANNEL