AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
January 25, 2014 05:48PM
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
Subject Author Posted

Otto: problem with 3dClustSim script

otto January 25, 2014 05:48PM

Re: Otto: problem with 3dClustSim script

rick reynolds January 25, 2014 10:49PM

Otto: 3dClustSim script OK

otto January 26, 2014 06:50PM