Stats

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

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

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

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

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

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

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-09/onsets/aomovie/run-5/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-09/onsets/aomovie/run-5/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-09/onsets/aomovie/run-5/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-09/onsets/aomovie/run-5/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-09/onsets/aomovie/run-5/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-09/onsets/aomovie/run-5/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-09/onsets/aomovie/run-5/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-09/onsets/aomovie/run-5/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-09/onsets/aomovie/run-5/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-09/onsets/aomovie/run-5/fg_ad_rms.txt custom_timing_files/ev18.txt

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

/usr/share/fsl/5.0/bin/feat_model design confoundevs.txt
Warning: at least one EV is (close to) a linear combination of the others. You probably need to alter your design.
(Design matrix is rank deficient - ratio of min:max eigenvalues in SVD of matrix is 1.09514e-17)
 Contrasts involving these combinations will be set to zero.


/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()=462
paradigm.getDesignMatrix().Ncols()=42
sizeTS=462
numTS=64300
Calculating residuals...
Completed
Estimating residual autocorrelation...
Calculating raw AutoCorrs... Completed
mode = 9920.91
sig = 2483
Spatially smoothing auto corr estimates
....................
Completed
Tukey M = 21
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 420   -m mask -r stats/res4d > stats/smoothness