Hi Rick,
Below is my script. The output file that I asked to print to a text file gives me the x, y and z for every time point not the average. It does look like the average is on the terminal window though. Is there any way I can have the average written to a text file? I attached a sample file. I will definitely look into the proc example.
cd /home/AD/ebelleau/Desktop/nas/MRI/IRC_PTSD/Resting/Masks
foreach subject (sub16 sub58 sub80 sub116 sub269 sub275 sub305 sub463 sub534 sub553 sub586 sub594 sub609 sub974 sub1052 sub1120 sub1133 sub1266 sub1530 sub1847 sub2023 sub2325 sub2625 sub3011)
3dFWHMx -dset errts.${subject}+tlrc \
-mask Bilateral_Amygdala+tlrc \
-detrend \
-out ${subject}.Amygdala_fwhm
end
Thanks!
Emily