Skip to content
Snippets Groups Projects
Commit 91f529ab authored by Tim Behrens's avatar Tim Behrens
Browse files

*** empty log message ***

parent c29fe363
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
if [ $1 = "" ]; then
echo "Usage: $0 data directory"
exit;
fi
DIR=$1;
for img in ${DIR}/data ${DIR}/nodif ${DIR}/nodif_brain_mask ;do
if [ `imtest $img` -eq 1 ] ; then
echo $img
avwinfo $img;
echo ""
else
echo $img does not exist;
fi
done
for bv in ${DIR}/bvals ${DIR}/bvecs;do
echo " num lines in $bv "
cat $bv|wc -l
echo " num words in $bv "
cat $bv|wc -w
done
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment