Hi Anjali,
The -stim_times option requires the timing format of the files,
not the one-entry-per-TR stim_file format.
You have some options here:
1. The make_stim_times.py program is meant to convert -stim_file
formatted files to -stim_times format.
See "make_stim_times.py -help" for details, and consider the
first example.
2. If you use afni_proc.py to generate your processing script, it
will automatically convert the stim_file to stim_times. Note
how it uses make_stim_times.py.
3. The make_random_timing.py program is meant to create stim_times
formatted output. If you want it to behave like RSFgen, see
example #4 from the help (to create TR-locked timing).
Of course, see "make_random_timing.py -help" for details.
---
As is true in general with 3dDeconvolve, rest is the absence of
any stimulus. You do not specify rest, only stimuli.
- rick