Thanks.
I am trying to test a set of 100 timing sequences for the optimal sequence similar to the @stim_analyze script. When I enter the following, I get the error 3dD.nodata.${iter}: Ambiguous. I am not sure why this is since the syntax seems to be the same as in @stim_analyze.
# experiment parameters
set ts = 256
set stim = 16
set num_on = 8
# execution parameters
set iterations = 100
set seed = 1234567
set outdir = stim_results
set LCfile = $outdir/LC_sums
foreach iter ('count -digits 3 1 100')
@ seed = $seed + 1
3dDeconvolve \
-nodata \
#-nfirst 4 \
-nlast 255 \
-polort 1 \
-num_stimts ${stim} \
-stim_file 1 "wav.hrf.${iter}.1.1D" \
-stim_label 1 "N111" \
-stim_file 2 "wav.hrf.${iter}.2.1D" \
-stim_label 2 "N110" \
-stim_file 3 "wav.hrf.${iter}.3.1D" \
-stim_label 3 "N101" \
-stim_file 4 "wav.hrf.${iter}.4.1D" \
-stim_label 4 "N100" \
-stim_file 5 "wav.hrf.${iter}.5.1D" \
-stim_label 5 "N011" \
-stim_file 6 "wav.hrf.${iter}.6.1D" \
-stim_label 6 "N010" \
-stim_file 7 "wav.hrf.${iter}.7.1D" \
-stim_label 7 "N001" \
-stim_file 8 "wav.hrf.${iter}.8.1D" \
-stim_label 8 "N000" \
-stim_file 9 "wav.hrf.${iter}.9.1D" \
-stim_label 9 "V111" \
-stim_file 10 "wav.hrf.${iter}.10.1D" \
-stim_label 10 "V110" \
-stim_file 11 "wav.hrf.${iter}.11.1D" \
-stim_label 11 "V101" \
-stim_file 12 "wav.hrf.${iter}.12.1D" \
-stim_label 12 "V100" \
-stim_file 13 "wav.hrf.${iter}.13.1D" \
-stim_label 13 "V011" \
-stim_file 14 "wav.hrf.${iter}.14.1D" \
-stim_label 14 "V010" \
-stim_file 15 "wav.hrf.${iter}.15.1D" \
-stim_label 15 "V001" \
-stim_file 16 "wav.hrf.${iter}.16.1D" \
-stim_label 16 "V000" \
-gltsym 'SYM: +N111 +N110 +N101 +N100 -N011 -N010 -N001 -N000 +V111 +V110 +V101 +V100 -V011 -V010 -V001 -V000' -glt_label 1 'HIconst-LOconst' \
-gltsym 'SYM: +N111 +N110 -N101 -N100 +N011 +N010 -N001 -N000 +V111 +V110 -V101 -V100 +V011 +V010 -V001 -V000' -glt_label 2 'HIsensmo-LOsensmo' \
-gltsym 'SYM: +N111 -N110 +N101 -N100 +N011 -N010 +N001 -N000 +V111 -V110 +V101 -V100 +V011 -V010 +V001 -V000' -glt_label 3 'HIfreq-LOfreq' \
> 3dD.nodata.${iter}
end