AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
May 26, 2009 06:15PM
Hi all,

I am attempting to run a regression analysis on a block design using 3dDeconvolve, but have run into some issues. First, a little bit about the task:

-block design
-4 runs total covering 2 conditions (2 runs per condition, named "Comp" and "Incomp").
-Within each run are 4 blocks of 9 trials each (TR=2 sec.).
-There is a 12 second break after each block.
-Start times of each run are 2, 124, 246 & 368 (in seconds).

The portion of the script pertaining to 3dDeconvolve is pasted below. I deleted what I believe to be all unnecessary options as I was troubleshooting.

The result of running this script in X11 is: tcsh: 3dDeconvolve: No match

...which leads me to believe I have improperly executed the command. In troubleshooting I have checked to ensure that the program is properly sourced, and have been able to call other AFNI programs in the same script. I have also checked for hidden characters in my script that may trip up the program, but to no avail.

Any help or direction that you could provide would be greatly appreciated.

Thank you!
Matthew

#!/bin/tcsh

3dDeconvolve -input ${1}rt_r1_psc+orig ${1}rt_r2_psc+orig ${1}rt_r3_psc+orig ${1}rt_r4_psc+orig \
-num_stimts 8 \
-stim_times 1 '1D: 2 32 62 92 368 398 428 458' 'BLOCK(18,1)' -stim_label 1 Comp \
-stim_times 2 '1D: 124 154 184 214 246 276 306 336' 'BLOCK(18,1)' -stim_label 2 Incomp \
-stim_times 3 ${1}rt_all_motion.1D[0] 'BLOCK(18,1)' -stim_label 3 Z \
-stim_times 4 ${1}rt_all_motion.1D[1] 'BLOCK(18,1)' -stim_label 4 X \
-stim_times 5 ${1}rt_all_motion.1D[2] 'BLOCK(18,1)' -stim_label 5 Y \
-stim_times 6 ${1}rt_all_motion.1D[3] 'BLOCK(18,1)' -stim_label 6 dZ \
-stim_times 7 ${1}rt_all_motion.1D[4] 'BLOCK(18,1)' -stim_label 7 dX \
-stim_times 8 ${1}rt_all_motion.1D[5] 'BLOCK(18,1)' -stim_label 8 dY
Subject Author Posted

3dDeconvolve - Block Design Coding Issue

Matthew May 26, 2009 06:15PM

Re: 3dDeconvolve - Block Design Coding Issue

rick reynolds May 26, 2009 06:28PM