3dDeconvolve input times

Hi Everyone,

I am running into an error, pasted below, at the 3dDeconvolve step.

** ERROR: -gltsym: can’t match symbolic name ‘c1’
** ERROR: row #1 of matrix ‘SYM: +c1’ is all zero!
** ERROR: -gltsym errors immediately above from file ‘SYM: +c1’
** ERROR: -gltsym: can’t match symbolic name ‘c2’
** ERROR: row #1 of matrix ‘SYM: +c2’ is all zero!
** ERROR: -gltsym errors immediately above from file ‘SYM: +c2’
** ERROR: -gltsym: can’t match symbolic name ‘c3’
** ERROR: row #1 of matrix ‘SYM: +c3’ is all zero!
** ERROR: -gltsym errors immediately above from file ‘SYM: +c3’
** ERROR: -gltsym: can’t match symbolic name ‘c4’
** ERROR: row #1 of matrix ‘SYM: +c4’ is all zero!
** ERROR: -gltsym errors immediately above from file ‘SYM: +c4’
** ERROR: -gltsym: can’t match symbolic name ‘c5’
** ERROR: row #1 of matrix ‘SYM: +c5’ is all zero!
** ERROR: -gltsym errors immediately above from file ‘SYM: +c5’
** ERROR: -gltsym: can’t match symbolic name ‘c1’
** ERROR: -gltsym: can’t match symbolic name ‘c5’
** ERROR: row #1 of matrix ‘SYM: +c1 -c5’ is all zero!
** ERROR: -gltsym errors immediately above from file ‘SYM: +c1 -c5’
** FATAL ERROR: Can’t continue after the above -gltsym problems!

The auto generated portion of the afni_proc.py for this step is

3dDeconvolve -input pb03.$subj.r*.scale+tlrc.HEAD
-censor censor_${subj}_combined_2.1D
-polort 6
-local_times
-num_stimts 11
-stim_times 1 stimuli/11481001-1_Timing_01.1D ‘GAM’
-stim_label 1 ALL
-stim_times 2 stimuli/11481001-1_Timing_02.1D ‘GAM’
-stim_label 2 BAM
-stim_times 3 stimuli/11481001-1_Timing_03.1D ‘GAM’
-stim_label 3 CON
-stim_times 4 stimuli/11481001-1_Timing_04.1D ‘GAM’
-stim_label 4 CR
-stim_times 5 stimuli/11481001-1_Timing_05.1D ‘GAM’
-stim_label 5 FIX
-stim_file 6 motion_demean.1D’[0]’ -stim_base 6 -stim_label 6 roll
-stim_file 7 motion_demean.1D’[1]’ -stim_base 7 -stim_label 7 pitch
-stim_file 8 motion_demean.1D’[2]’ -stim_base 8 -stim_label 8 yaw
-stim_file 9 motion_demean.1D’[3]’ -stim_base 9 -stim_label 9 dS
-stim_file 10 motion_demean.1D’[4]’ -stim_base 10 -stim_label 10 dL
-stim_file 11 motion_demean.1D’[5]’ -stim_base 11 -stim_label 11 dP
-num_glt 6
-gltsym ‘SYM: +c1’
-glt_label 1 ALL
-gltsym ‘SYM: +c2’
-glt_label 2 BAM
-gltsym ‘SYM: +c3’
-glt_label 3 CON
-gltsym ‘SYM: +c4’
-glt_label 4 CR
-gltsym ‘SYM: +c5’
-glt_label 5 FIX
-gltsym ‘SYM: +c1 -c5’
-glt_label 6 ALL-FIX
-fout -tout -x1D X.xmat.1D -xjpeg X.jpg
-x1D_uncensored X.nocensor.xmat.1D
-fitts fitts.$subj
-errts errts.${subj}
-bucket stats.$subj

The 1D files that I am using are a single row space delimited file, in seconds, and I suspect that that might not be the right format for the input times, but I could be wrong about this. I was hoping if someone would be able to point out and explain to me where I have goofed. I am fairly new to afni and would deeply appreciate any help on this.

Thanks,

B

Those tests are specified without properly using the labels you defined:

-gltsym ‘SYM: +c1’ \
-glt_label 1 ALL \
-gltsym ‘SYM: +c2’ \
-glt_label 2 BAM \
-gltsym ‘SYM: +c3’ \
-glt_label 3 CON \
-gltsym ‘SYM: +c4’ \
-glt_label 4 CR \
-gltsym ‘SYM: +c5’ \
-glt_label 5 FIX \
-gltsym ‘SYM: +c1 -c5’ \
-glt_label 6 ALL-FIX \

They should be like the following:

-gltsym ‘SYM: +ALL’ \
-glt_label 1 ALL \
-gltsym ‘SYM: +BAM’ \
-glt_label 2 BAM \
-gltsym ‘SYM: +CON’ \
-glt_label 3 CON \
-gltsym ‘SYM: +CR’ \
-glt_label 4 CR \
-gltsym ‘SYM: +FIX’ \
-glt_label 5 FIX \
-gltsym ‘SYM: +ALL -FIX’ \
-glt_label 6 ALL-FIX \

Gang:

Thank you so much for your quick response and helping to clear up my misunderstanding.

And note that all but the last one should already be
present in the output dataset, since they are just the
trivial contrasts (the existing regressor betas).

Only the last one would not be in the original output.

  • rick