Hi,
Just coming back to this task now! I tried to run afni_proc.py adding the new regressors from the physiological data with the "-regress_extra_ortvec" command and the regress files zero padded for the runs that they don't contain information for like you suggested. But I got these errors during 3dDeconvolve that I was hoping someone could explain to me.
This is my afni_proc.py code:
afni_proc.py /
-subj_id 8334_phys /
-script proc.8334_phys_subj /
-scr_overwrite /
-blocks tshift align tlrc volreg mask blur scale regress /
-dsets Oddball?_8334.nii -copy_anat anatSS.sub-8334.nii /
-volreg_align_to MIN_OUTLIER /
-volreg_align_e2a /
-volreg_tlrc_warp /
-blur_size 4.0 /
-tlrc_base MNI152_2009_template.nii.gz /
-tlrc_NL_warp /
-tlrc_NL_warped_dsets anatQQ.sub-8334.nii anatQQ.sub-8334.aff12.1D anatQQ.sub-8334_WARP.nii /
-anat_has_skull no /
-volreg_compute_tsnr yes /
-radial_correlate_blocks tcat volreg regress /
-align_unifize_epi local /
-align_opts_aea /
-giant_move -cost lpc+ZZ /
-check_flip /
-mask_epi_anat yes /
-regress_extra_ortvec regress_psychophys_8334_Run1_filled.txt regress_psychophys_8334_Run2_filled.txt regress_psychophys_8334_Run3_filled.txt regress_psychophys_8334_Run4_filled.txt /
-regress_stim_times Stand_Regress_Correct_Onset_NEU_8334.txt Stand_Regress_Correct_Onset_NEG_8334.txt Odd_Regress_Correct_Onset_NEU_8334.txt Odd_Regress_Correct_Onset_NEG_8334.txt Odd_Regress_Incorrect_Onset_NEG_8334.txt Odd_Regress_Incorrect_Onset_NEU_8334.txt /
-regress_stim_labels StandardNeuC StandardNegC OddballNeuC OddballNegC OddballNegX OddballNeuX /
-regress_basis 'BLOCK(2,1)' /
-regress_opts_3dD /
-gltsym 'SYM: OddballNeuC -StandardNeuC' /
-glt_label 1 OddNeu-StandNeu /
-gltsym 'SYM: OddballNegC -StandardNegC' /
-glt_label 2 OddNeg-StandNeg /
-regress_motion_per_run /
-regress_censor_motion 0.3 /
-regress_censor_outliers 0.05 /
-regress_make_ideal_sum sum_ideal.1D /
-regress_est_blur_epits /
-regress_est_blur_errts /
-execute
These are the errors I got:
*+ WARNING: '-stim_times 1' (LOCAL) run#4 has 2 times outside range 0 .. 374 [PSFB syndrome]
*+ WARNING: '-stim_times 2' (LOCAL) run#3 has 4 times outside range 0 .. 367 [PSFB syndrome]
*+ WARNING: '-stim_times 6' (LOCAL) run#3 has 1 times outside range 0 .. 367 [PSFB syndrome]
*+ WARNING: !! '-stim_times 6' file 'stimuli/Odd_Regress_Incorrect_Onset_NEU_8334.txt' has no good stimulus time values
*+ WARNING: -stim_file 7: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 8: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 9: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 10: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 11: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 12: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 13: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 14: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 15: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 16: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 17: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 18: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 19: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 20: file length is 1612, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 21: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 22: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 23: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 24: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 25: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 26: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 27: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 28: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 29: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 30: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 31: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 32: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 33: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: -stim_file 34: file length is 1572, longer than expected 1539 (from dataset)
*+ WARNING: input stimulus time series file ortvec:2,0 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,1 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,2 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,3 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,4 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,5 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,6 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,7 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,8 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,9 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,10 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,11 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,12 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:2,13 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,0 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,1 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,2 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,3 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,4 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,5 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,6 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,7 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,8 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,9 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,10 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,11 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,12 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: input stimulus time series file ortvec:3,13 is too short:
length = 1472, but should be at least 1539.
*+ WARNING: -------------------------------------------------
*+ WARNING: Problems with the X matrix columns, listed below:
*+ WARNING: !! * Column 21 [OddballNeuX#0] is all zeros
*+ WARNING: -------------------------------------------------
*+ WARNING: !! in Signal+Baseline matrix:
* Largest singular value=2.21851
* 1 singular value is less than cutoff=2.21851e-07
* Implies strong collinearity in the matrix columns!
*+ WARNING: !! in Signal-only matrix:
* Largest singular value=1.22888
* 1 singular value is less than cutoff=1.22888e-07
* Implies strong collinearity in the matrix columns!
** ERROR: !! 3dDeconvolve: Can't run past 4 matrix warnings without '-GOFORIT 4'
** ERROR: !! Currently at -GOFORIT 0
** ERROR: !! See file 3dDeconvolve.err for all WARNING and ERROR messages !!
** ERROR: !! Be sure you understand what you are doing before using -GOFORIT !!
** ERROR: !! If in doubt, consult with someone or with the AFNI message board !!
** FATAL ERROR: !! 3dDeconvolve (regretfully) shuts itself down !!
Any help is appreciated. Thank you!
Jade