Well, I could look through the code and try to figure it out -- I don't recall the answer offhand, even though I wrote the code. But the easier solution is to try it and see. So here's a command
3dDeconvolve -nodata 200 1.0 -polort 0 -num_stimts 1 -stim_times_IM 1 '1D: 20 80 140' 'SPMG2(18)'
1dplot nodata.xmat.1D
And the result of the plot (hopefully attached) clearly shows that the order is
- Polorts
- First stim time (20 s) first basis func ('raw')
- First stim time, 2nd basis (temporal derivative)
- Second stim time (80s), first basis function
- et cetera
The attribute for these columns is given in nodata.xmat.1D as
ColumnLabels = "Run#1Pol#0 ; Stim#1#0 ; Stim#1#1 ; Stim#1#2 ; Stim#1#3 ; Stim#1#4 ; Stim#1#5"