Stats

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/avmovie/run-3/vse_new.txt custom_timing_files/ev1.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/avmovie/run-3/vse_old.txt custom_timing_files/ev2.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/avmovie/run-3/vlo_ch.txt custom_timing_files/ev3.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/avmovie/run-3/vpe_new.txt custom_timing_files/ev4.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/avmovie/run-3/vno_cut.txt custom_timing_files/ev6.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/aomovie/run-3/se_new.txt custom_timing_files/ev7.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/aomovie/run-3/se_old.txt custom_timing_files/ev8.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/avmovie/run-3/fg_av_ger_lr.txt custom_timing_files/ev9.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/avmovie/run-3/fg_av_ger_lrdiff.txt custom_timing_files/ev10.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/avmovie/run-3/fg_av_ger_ml.txt custom_timing_files/ev11.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/avmovie/run-3/fg_av_ger_pd.txt custom_timing_files/ev12.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/avmovie/run-3/fg_av_ger_rms.txt custom_timing_files/ev13.txt

mkdir -p custom_timing_files ; /usr/share/fsl/5.0/bin/fslFixText /data/project/studyforrest_ppa/sub-06/onsets/avmovie/run-3/fg_av_ger_ud.txt custom_timing_files/ev14.txt

paste -d  ' '  /data/project/studyforrest_ppa/inputs/studyforrest-data-aligned/sub-06/in_bold3Tp2/sub-06_task-avmovie_run-3_bold_mcparams.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 5.11939e-20)
 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()=438
paradigm.getDesignMatrix().Ncols()=34
sizeTS=438
numTS=114733
Calculating residuals...
Completed
Estimating residual autocorrelation...
Calculating raw AutoCorrs... Completed
mode = 10071.9
sig = 1056
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 404   -m mask -r stats/res4d > stats/smoothness