AFNI Class Notes 6/9/16:

Working with 1d_tool.py
Working with timing_tool.py
Making 6 Trials 40 seconds apart:

Example of TR timings file:
         seq 20 20 120 > stimtime.1D
Example of binary TR file:
         seq 20 20 120 | timing_tool.py -timing stdin -tr 2 -stim_dur 2 -timing_to_1D TRbinary.1D -run_len 260

3dDeconvolve -nodata 100 1.0 -num_stimts 5 -polort -1   \
-local_times -x1D stdout:                  \
-stim_times 1 '1D: 10 60' 'WAV(10)'        \
-stim_times 2 '1D: 10 60' 'BLOCK4(10,1)'   \
-stim_times 3 '1D: 10 60' 'SPMG1(10)'      \
-stim_times 4 '1D: 10 60' 'GAM(10,1)'      \
-stim_times 5 '1D: 10 60' 'MIONN(10)'      \
| 1dplot -thick -one -stdin -xlabel Time -ynames WAV BLOCK4 SPMG1 GAM MIONN

3dDeconvolve -nodata 100 1.0 -num_stimts 2 -polort -1   \
-local_times -x1D stdout:                  \
-stim_times 1 '1D: 10 60' 'WAV(10)'        \
-stim_times 2 '1D: 10 60' 'TENT(0,24,3)'   \
| 1dplot -thick -one -stdin -xlabel Time -ynames WAV TENT_1 TENT_2 TENT_3

3dDeconvolve -nodata 100 1.0 -num_stimts 2 -polort -1   \
-local_times -x1D stdout:                  \
-stim_times 1 '1D: 10 60' 'WAV(10)'        \
-stim_times 2 '1D: 10 60' 'TENT(0,24,5)'   \
| 1dplot -thick -one -stdin -xlabel Time -ynames WAV TENT_1 TENT_2 TENT_3 TENT_4 TENT_5

3dDeconvolve -nodata 100 1.0 -num_stimts 2 -polort -1   \
-local_times -x1D stdout:                  \
-stim_times 1 '1D: 10 60' 'WAV(10)'        \
-stim_times 2 '1D: 10 60' 'TENT(0,24,9)'   \
| 1dplot -thick -one -stdin -xlabel Time -ynames WAV TENT_1 TENT_2 TENT_3 TENT_4 TENT_5 TENT_6 TENT_7 TENT_8 TENT_9

3dDeconvolve -nodata 100 1.0 -num_stimts 2 -polort -1   \
-local_times -x1D stdout:                  \
-stim_times 1 '1D: 10 60' 'WAV(10)'        \
-stim_times 2 '1D: 10 60' 'CSPLIN(0,24,5)'   \
| 1dplot -thick -one -stdin -xlabel Time -ynames WAV CSPLIN_1 CSPLIN_2 CSPLIN_3 CSPLIN_4 CSPLIN_5

3dDeconvolve -nodata 100 1.0 -num_stimts 2 -polort -1   \
-local_times -x1D stdout:                  \
-stim_times 1 '1D: 10 60' 'WAV(10)'        \
-stim_times 2 '1D: 10 60' 'POLY(0,24,5)'   \
| 1dplot -thick -one -stdin -xlabel Time -ynames WAV POLY_1 POLY_2 POLY_3 POLY_4 POLY_5

3dDeconvolve -nodata 100 1.0 -num_stimts 2 -polort -1   \
-local_times -x1D stdout:                  \
-stim_times 1 '1D: 10 60' 'WAV(10)'        \
-stim_times 2 '1D: 10 60' 'SIN(0,24,5)'   \
| 1dplot -thick -one -stdin -xlabel Time -ynames WAV SIN_1 SIN_2 SIN_3 SIN_4 SIN_5