Hi,
I wrote a simple script to calculate the significance of clusters using 3dClustSim (see below),
but when I run the script I am getting the error message
3dClustSim: Command not found.
The program runs fine when I directly type 3dClustSim at the command line - what am I missing??
Many thanks!
Otto
#!/bin/tcsh -xef
set path = "/Volumes/OTTO_BACK1/group_analysis_con2"
foreach clust (MIDBR_con2_p12 INSULA_con2_p12 ANTCING_con2_p12 \
INFPARIET_con2_p12)
cd $path
echo "$path"
echo "${clust}.hdr"
3dClustSim -dxyz 1.5 1.5 1.5 -nxyz 121 145 121 \
-pthr 0.05 0.01 -athr 0.05 0.01 0.005 0.001 \
-NN 1 fwhm 6 \
-mask ${clust}.hdr \
-prefix ${clust}_3dclust
end