Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions synthetic/code/create_synthethic_ds.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ create_raw_beh() {
ses=$3

suffix='_beh'
task_name='stroop'

this_dir=${target_dir}/sub-${subject}/ses-${ses}/beh

mkdir -p ${this_dir}

filename=${this_dir}/sub-${subject}_ses-${ses}_task-${task_name}${suffix}.tsv
echo -e "trial\tresponse\treaction_time\tstim_file" >${filename}
echo -e "congruent\tred\t1.435\timages/word-red_color-red.jpg" >>${filename}
echo -e "incongruent\tred\t1.739\timages/word-red_color-blue.jpg" >>${filename}
for task_name in stroop+whitebg stroop+blackbg; do
filename=${this_dir}/sub-${subject}_ses-${ses}_task-${task_name}${suffix}.tsv
echo -e "trial\tresponse\treaction_time\tstim_file" >${filename}
echo -e "congruent\tred\t1.435\timages/word-red_color-red.jpg" >>${filename}
echo -e "incongruent\tred\t1.739\timages/word-red_color-blue.jpg" >>${filename}
done
}

# RAW DATASET
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
trial response reaction_time stim_file
congruent red 1.435 images/word-red_color-red.jpg
incongruent red 1.739 images/word-red_color-blue.jpg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
trial response reaction_time stim_file
congruent red 1.435 images/word-red_color-red.jpg
incongruent red 1.739 images/word-red_color-blue.jpg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
trial response reaction_time stim_file
congruent red 1.435 images/word-red_color-red.jpg
incongruent red 1.739 images/word-red_color-blue.jpg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
trial response reaction_time stim_file
congruent red 1.435 images/word-red_color-red.jpg
incongruent red 1.739 images/word-red_color-blue.jpg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
trial response reaction_time stim_file
congruent red 1.435 images/word-red_color-red.jpg
incongruent red 1.739 images/word-red_color-blue.jpg
Loading