set TargetDir=/nfs/s2/userhome/zhouke/NSP_attention/ExpTask
# FA part
cd ${TargetDir}
if (! -d Just1Frame_FA ) then
mkdir Just1Frame_FA
endif
cd ${TargetDir}/Just1Frame
foreach FileName (*FA_nosmooth.nii.gz)
set subjectID=`echo $FileName|cut -c 1-5`
echo ${subjectID}
bet ${FileName} ${TargetDir}/Just1Frame_FA/${subjectID}_FA_nosmooth_bet -m -f 0.3
end
CSHELL常用功能实例 (csh截取字符串并赋值)
最新推荐文章于 2023-03-22 11:07:05 发布