Hi, I am having some problems getting general linear tests to work with 3dDeconvolve. Below are a number of text files and an message to help with the problem
Let me know if you need more information. I have read the documentation on setting these up, but I am at a loss as to what I'm doing wrong.
Many thanks,
Robert Terwilliger
#########################
Deconvolve script:
#!/bin/sh
3dDeconvolve \
-tout \
-input all_float.nii.gz \
-bucket stats \
-concat concat.1D \
-polort 3 \
-num_stimts 14 \
-stim_times 1 congruent_center.1D 'SPMG1' \
-stim_label 1 con_center \
-stim_times 2 congruent_cue.1D 'SPMG1' \
-stim_label 2 con_cue \
-stim_times 3 congruent_none.1D 'SPMG1' \
-stim_label 3 con_none \
-stim_times 4 incongruent_center.1D 'SPMG1' \
-stim_label 4 incon_center \
-stim_times 5 incongruent_cue.1D 'SPMG1' \
-stim_label 5 incon_cue \
-stim_times 6 incongruent_none.1D 'SPMG1' \
-stim_label 6 incon_none \
-stim_times 7 errors.1D 'SPMG1' \
-stim_label 7 errors \
-stim_times 8 drops.1D 'SPMG1' \
-stim_label 8 drops \
-stim_file 9 'all_mcf.par[0]' -stim_label 9 rx \
-stim_file 10 'all_mcf.par[1]' -stim_label 10 ry \
-stim_file 11 'all_mcf.par[2]' -stim_label 11 rz \
-stim_file 12 'all_mcf.par[3]' -stim_label 12 dx \
-stim_file 13 'all_mcf.par[4]' -stim_label 13 dy \
-stim_file 14 'all_mcf.par[5]' -stim_label 14 dz \
-glt 1 alerting.mat -glt_label 1 alerting \
-glt 2 orienting.mat -glt_label 2 orienting \
-glt 3 conflict.mat -glt_label 3 conflict \
-fout \
-rout \
-jobs 2 \
-mask mask.nii.gz \
-GOFORIT 100
#############################
concat.1D
0
171
342
513
684
855
#############################
alerting.mat:
24@0 1 0 -1 1 0 -1 0 0 0 0 0 0 0 0
orienting.mat:
24@0 -1 1 0 -1 1 0 0 0 0 0 0 0 0 0
conflict.mat:
24@0 -1 -1 -1 1 1 1 0 0 0 0 0 0 0 0
###########################
relevant error message:
Matrix error: In matrix file: orienting.mat Expected: 2 x 38 Actual: 1 x 38