#!/bin/csh -f set relaxT = `echo 0.01 0.03 0.05 0.07 0.09 0.11` echo $#relaxT @ i=0 while ($i < $#relaxT) @ i++ set NAME = $1"_"$relaxT[$i] echo processing $NAME echo "#\!/bin/csh" > ft_$i.com echo "" >> ft_$i.com echo "nmrPipe -in test.fid \" >> ft_$i.com echo "| nmrPipe -fn SOL \" >> ft_$i.com echo "| nmrPipe -fn SP -off 0.5 -end 0.98 -pow 2 -c 0.5 \" >> ft_$i.com echo "| nmrPipe -fn ZF -auto \" >> ft_$i.com echo "| nmrPipe -fn FT \" >> ft_$i.com echo "| nmrPipe -fn PS -p0 100.0 -p1 0.0 -di \" >> ft_$i.com echo "| nmrPipe -fn EXT -x1 6ppm -xn 11ppm -sw -verb \" >> ft_$i.com echo "| nmrPipe -fn TP \" >> ft_$i.com echo "| nmrPipe -fn COADD -cList \" >> ft_$i.com @ z=0 while ($z < $#relaxT) @ z++ if ($z == $i) then echo 1" \" >> ft_$i.com else echo 0" \" >> ft_$i.com endif end echo " -time \" >> ft_$i.com echo "| nmrPipe -fn SP -off 0.5 -end 0.98 -pow 1 -c 1.0 \" >> ft_$i.com echo "| nmrPipe -fn ZF -auto \" >> ft_$i.com echo "| nmrPipe -fn FT \" >> ft_$i.com echo "| nmrPipe -fn PS -p0 -75.0 -p1 161.0 -di \" >> ft_$i.com echo "| nmrPipe -fn POLY -auto \" >> ft_$i.com echo "| nmrPipe -fn TP \" >> ft_$i.com echo "| nmrPipe -fn POLY -auto \" >> ft_$i.com echo " -verb -ov -out $NAME.ft2" >> ft_$i.com echo "" >> ft_$i.com chmod u+x ft_$i.com ./ft_$i.com pipe2ucsf $NAME.ft2 $NAME.ucsf end