Most of the time there is no need to create your own regressors. With stim_times you only have to feed in the stimulus timing information. So read the help information of 3dDeconvolve (especially the part regarding -stim_times)
3dDeconvolve -help | less
Also the model should only include all the task/condition effect and confounds in the BOLD signal. All sorts of contrasts or general linear tests should be obtained through post-hoc fashion, not as part of the model. Refer to the option -gltsym in the help as well. The following website may be helpful:
[
afni.nimh.nih.gov]
Better yet, consider using afni_proc.py or uber_subject.py for streamlined pre-processing and individual subject analysis.
Gang
Edited 1 time(s). Last edit at 05/24/2012 10:57AM by Gang.