</pre><hr>Post-stats<br><pre>

/usr/local/fsl/bin/contrast_mgr  stats design.con

/usr/local/fsl/bin/fslmaths stats/zstat1 -mas mask thresh_zstat1

echo 62886 > thresh_zstat1.vol
zstat1: DLH=0.13393 VOLUME=62886 RESELS=34.5371

/usr/local/fsl/bin/fslmaths stats/zstat2 -mas mask thresh_zstat2

echo 62886 > thresh_zstat2.vol
zstat2: DLH=0.13393 VOLUME=62886 RESELS=34.5371

/usr/local/fsl/bin/cluster -i thresh_zstat1 -c stats/cope1 -t 2.3 -p 0.05 -d 0.13393 --volume=62886 --othresh=thresh_zstat1 -o cluster_mask_zstat1 --connectivity=26  --olmax=lmax_zstat1.txt > cluster_zstat1.txt

/usr/local/fsl/bin/cluster2html . cluster_zstat1 

/usr/local/fsl/bin/cluster -i thresh_zstat2 -c stats/cope2 -t 2.3 -p 0.05 -d 0.13393 --volume=62886 --othresh=thresh_zstat2 -o cluster_mask_zstat2 --connectivity=26  --olmax=lmax_zstat2.txt > cluster_zstat2.txt

/usr/local/fsl/bin/cluster2html . cluster_zstat2 

/usr/local/fsl/bin/fslstats thresh_zstat1 -l 0.0001 -R 2>/dev/null
2.300011 13.147685 

/usr/local/fsl/bin/fslstats thresh_zstat2 -l 0.0001 -R 2>/dev/null
2.300241 16.267017 
Rendering using zmin=2.300011 zmax=16.267017

/usr/local/fsl/bin/overlay 1 0 example_func -a thresh_zstat1 2.300011 16.267017 rendered_thresh_zstat1

/usr/local/fsl/bin/slicer rendered_thresh_zstat1 -A 750 rendered_thresh_zstat1.png

/bin/cp /usr/local/fsl/etc/luts/ramp.gif .ramp.gif

/usr/local/fsl/bin/overlay 1 0 example_func -a thresh_zstat2 2.300011 16.267017 rendered_thresh_zstat2

/usr/local/fsl/bin/slicer rendered_thresh_zstat2 -A 750 rendered_thresh_zstat2.png

mkdir -p tsplot ; /usr/local/fsl/bin/tsplot . -f filtered_func_data -o tsplot
zstat1: DLH=0.13393 VOLUME=62886 RESELS=34.5371
zstat2: DLH=0.13393 VOLUME=62886 RESELS=34.5371

/usr/local/fsl/bin/cluster -i thresh_zstat1 -c stats/cope1 -t 2.3 -d 0.13393 --volume=62886 -x reg/example_func2standard.mat --stdvol=reg/standard --mm --connectivity=26 --olmax=lmax_zstat1_std.txt > cluster_zstat1_std.txt

/usr/local/fsl/bin/cluster2html . cluster_zstat1 -std

/usr/local/fsl/bin/cluster -i thresh_zstat2 -c stats/cope2 -t 2.3 -d 0.13393 --volume=62886 -x reg/example_func2standard.mat --stdvol=reg/standard --mm --connectivity=26 --olmax=lmax_zstat2_std.txt > cluster_zstat2_std.txt

/usr/local/fsl/bin/cluster2html . cluster_zstat2 -std
