Stats

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/body.txt custom_timing_files/ev1.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/bpart.txt custom_timing_files/ev2.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/fahead.txt custom_timing_files/ev3.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/furn.txt custom_timing_files/ev4.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/geo.txt custom_timing_files/ev5.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/groom.txt custom_timing_files/ev6.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/obj.txt custom_timing_files/ev7.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/se_new.txt custom_timing_files/ev8.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/se_old.txt custom_timing_files/ev9.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/sex_f.txt custom_timing_files/ev10.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/sex_m.txt custom_timing_files/ev11.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/vse_new.txt custom_timing_files/ev12.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/vse_old.txt custom_timing_files/ev13.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/vlo_ch.txt custom_timing_files/ev14.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/vpe_new.txt custom_timing_files/ev15.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/vpe_old.txt custom_timing_files/ev16.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/fg_ad_lrdiff.txt custom_timing_files/ev17.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-19/onsets/aomovie/run-6/fg_ad_rms.txt custom_timing_files/ev18.txt

paste -d  ' '  /data/project/studyforrest_ppa/inputs/phase1/sub019/BOLD/task001_run006/bold_dico_moco.txt > confoundevs.txt

/usr/share/fsl/5.0/bin/feat_model design confoundevs.txt

/usr/share/fsl/5.0/bin/film_gls --in=filtered_func_data --rn=stats --pd=design.mat --thr=1000.0 --sa --ms=5 --con=design.con  
Log directory is: stats
paradigm.getDesignMatrix().Nrows()=439
paradigm.getDesignMatrix().Ncols()=42
sizeTS=439
numTS=65643
Calculating residuals...
Completed
Estimating residual autocorrelation...
Calculating raw AutoCorrs... Completed
mode = 9793.67
sig = 3044
Spatially smoothing auto corr estimates
...................
Completed
Tukey M = 20
Tukey estimates... Completed
Completed
Prewhitening and Computing PEs...
Percentage done:
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,Completed
Saving results... 
Completed

/usr/share/fsl/5.0/bin/smoothest -d 397   -m mask -r stats/res4d > stats/smoothness