-
Notifications
You must be signed in to change notification settings - Fork 10
/
config_tuab_eeg.py
81 lines (54 loc) · 1.65 KB
/
config_tuab_eeg.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
from sys import path
from pathlib import Path
import mne
study_name = "age-prediction-benchmark"
# On drago
N_JOBS = 80
bids_root = Path("/storage/store2/data/TUAB-healthy-bids-bv")
#deriv_root = Path("/storage/store3/derivatives/TUAB-healthy-bids2")
deriv_root = Path("/storage/store3/derivatives/TUAB-healthy-bids3")
subjects_dir = Path('/storage/store/data/camcan-mne/freesurfer')
source_info_path_update = {'processing': 'autoreject',
'suffix': 'epo'}
eeg_template_montage = mne.channels.make_standard_montage("standard_1005")
eeg_template_montage.rename_channels(
{ch: ch + '-REF' for ch in eeg_template_montage.ch_names})
inverse_targets = []
noise_cov = 'ad-hoc'
eeg_reference = [] # Tuab has a custom reference
# subjects = ['00002355']
task = "rest"
# task = "normal"
analyze_channels = ['Fp1', 'Fp2', 'F3', 'F4', 'C3', 'C4', 'P3', 'P4', 'O1',
'O2', 'F7', 'F8', 'T3', 'T4', 'T5', 'T6', 'A1', 'A2',
'Fz', 'Cz', 'Pz']
conditions = []
sessions = ["001"]
data_type = "eeg"
ch_types = ["eeg"]
l_freq = 0.1
h_freq = 49
resample_sfreq = 200
find_breaks = False
spatial_filter = None
reject = None
on_error = "abort"
on_rename_missing_events = "warn"
epochs_tmin = 0
epochs_tmax = 10 - 1 / resample_sfreq
rest_epochs_duration = 10. - 1 / resample_sfreq
rest_epochs_overlap = 0.
baseline = None
run_source_estimation = True
use_template_mri = True
event_repeated = "drop"
l_trans_bandwidth = "auto"
h_trans_bandwidth = "auto"
random_state = 42
shortest_event = 1
log_level = "info"
mne_log_level = "info"
on_error = 'continue'
# on_error = "continue"
# on_error = 'abort'
# on_error = 'debug'