#======================================================================
# run deconvolution analysis
#======================================================================
3dDeconvolve -input
{$subj}_all_runs+orig -num_stimts 4
\
-stim_file 1 ../misc_files/all_stims.1D'[0]'
-stim_label 1 ToolMov \
-stim_minlag 1 0 -stim_maxlag 1 14 -stim_nptr 1 2
\
-stim_file 2 ../misc_files/all_stims.1D'[1]'
-stim_label 2 HumanMov\
-stim_minlag 2 0 -stim_maxlag 2 14 -stim_nptr 2 2
\
-stim_file 3 ../misc_files/all_stims.1D'[2]'
-stim_label 3 ToolPnt \
-stim_minlag 3 0 -stim_maxlag 3 14 -stim_nptr 3 2
\
-stim_file 4 ../misc_files/all_stims.1D'[3]'
-stim_label 4 HumanPnt\
-stim_minlag 4 0 -stim_maxlag 4 14 -stim_nptr 4 2
\
-glt 4 ../misc_files/contrast1.1D -glt_label 1 FullF
\
-glt 1 ../misc_files/contrast2.1D -glt_label 2 HvsT
\
-glt 1 ../misc_files/contrast3.1D -glt_label 3 MvsP
\
-glt 1 ../misc_files/contrast4.1D -glt_label 4 HMvsHP
\
-glt 1 ../misc_files/contrast5.1D -glt_label 5 TMvsTP
\
-glt 1 ../misc_files/contrast6.1D -glt_label 6 HPvsTP
\
-glt 1 ../misc_files/contrast7.1D -glt_label 7 HMvsTM
\
-iresp 1 TMirf -iresp 2 HMirf -iresp 3 TPirf -iresp 4
HPirf
\
-full_first -fout -tout -nobout -polort 2
\
-concat ../misc_files/runs.1D
\
-progress 1000
\
-bucket {$subj}_func