# Script created December 2007 by Pedro Paulo Oliveira Jr.
# Use with Freesurfer 4.x
# Updated: 24/03/2010

set FSAVERAGE_DIR = "../../fsaverage" #set your fsaverage dir

cd #your directory where qdec data are stored.

set numsubject =  17 #your value

for i in `seq 1 $numsubject` 
   do 
         mri_convert --frame $i y.mgh $FSAVERAGE_DIR/surf/lh.$i.mgh
         mris_convert -c $i.mgh $FSAVERAGE_DIR/surf/lh.inflated lh.$i.asc 
   done

UserContributions/Scripts/ppaulo/qdec-coord (last edited 2010-03-24 09:44:06 by PedroOliveira)