Ð39Ð
Data Analysis Script
¥ In file epi_r1_decon:
¥
¥waver -GAM                        \
¥      -input epi_r1_stim.1D       \
¥      -TR 2.5                     \
¥      > epi_r1_ideal.1D
¥
¥3dvolreg -base 2                  \
¥         -prefix epi_r1_reg       \
¥         -1Dfile epi_r1_mot.1D    \
¥         -verb                    \
¥         epi_r1+orig
¥
¥3dDeconvolve                      \
¥    -input epi_r1_reg+orig        \
¥    -nfirst     2                 \
¥    -num_stimts 1                 \
¥    -stim_file  1 epi_r1_ideal.1D \
¥    -stim_label 1 AllStim         \
¥    -tout                         \
¥    -bucket epi_r1_func           \
¥    -fitts  epi_r1_fitts
¥ waver creates model time series from input stimulus timing in file epi_r1_stim.1D
¥ Plot a 1D file to screen with
     1dplot epi_r1_ideal.1D
3dvolreg (3D image registration) will be covered in a later presentation


¥ 3dDeconvolve = regression code

¥ Name of input dataset
¥ Index of first sub-brick to process
¥ Number of input model time series
¥ Name of first input model time series file
¥ Name for results in AFNI menus
¥ Indicates to output t-statistic for b weights
¥ Name of output ÒbucketÓ dataset (statistics)
¥ Name of output model fit dataset