-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexperimental_parameters.py
103 lines (72 loc) · 2.48 KB
/
experimental_parameters.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# NOTE: Unit for all time-related parameters should be second (s).
MRI = {
# number of slices in a fMRI volume.
'slices': 35,
# repetition time (TR) in seconds (s).
'tr': 2
}
# parameters for the real-time task.
RT = {
# TODO: reset this.
# number of base volumes in registration.
'base_vols': 5,
# instruction duration in seconds (s).
'ins_duration': 10, # 1, # 10,
# fixation duration in seconds (s).
'fix_duration': 60, # 1, # 60,
# ready duration in seconds (s).
'ready_duration': 6, # 1, # 6,
# change cue duration for each block in seconds (s).
'change_cue_duration': 2,
# number of blocks per modality.
'n_blocks_per_modality': 2,
# modality cue (I/S/L) duration in seconds (s) per block.
'cue_duration_per_block': 2,
# fixation duration in seconds (s) per block.
'fixation_duration_per_block': 6, # 1, # 6,
# number of trials (stimuli) per block.
'n_trials_per_block': 7,
# trial(stimulus) duration in seconds (s).
'trial_duration': 2,
# trial interstimulus interval (ISI) duration in seconds (s).
'trial_isi_duration': 2,
# feedback duration in seconds (s) per block
'feedback_duration_per_block': 2,
# probe duration in seconds (s) per block
'probe_duration_per_block': 2,
# max question duration in seconds (s) per block
'question_duration_per_block': 5,
# inter-block (and before feedback) duration in seconds (s)
'inter_block_duration': 5,
}
# parameters for the non real-time task.
NRT = {
# instruction duration in seconds (s).
'ins_duration': 5,
# fixation duration in seconds (s).
'fix_duration': 5, # 1, # 60,
# fixation duration after video in seconds (s) per block.
'fixation_duration_per_block': 2,
# max question duration in seconds (s) per block.
'question_duration_per_block': 5,
# inter-block duration in seconds (s)
'inter_block_duration': 5,
# number of blocks (= trials) per run
'n_blocks_per_run': 6
}
PATH = {
# fMRI raw data shared directory (Samba) path.
'fmri_raw_path': '',
# HCP mask path.
'mask_path': '',
# selected coco sample npz file path.
'selected_coco_sample_npz_path': '',
# coco image directory (train2014) path
'coco_img_dir_path': '',
# coco caption sound directory path
'coco_sound_dir_path': '',
# pytorch DNN model weight path
'torch_dnn_model_path': '',
# pytorch CNN model weight path
'torch_cnn_model_path': '',
}