#!/bin/csh # if ($#argv <1) then echo "Usage: do_suma [-b=both, -r=right, -l=left] [-m=mni/ default=tlrc] " echo " This is a shortcut to display functional volumes open in afni in suma" echo " Once you have the overlay you wish in afni go to the suma window and press: t" echo " to brighten functional overlay press: a" echo " to toggle gyrus display: b" echo " to show lateral surface press: ctrl+left/right arrow" echo " to change inflation: space" echo " to switch numerous inflations: , or . [different toggle directions]" echo " to save press: r [at least twice to bring up controls to save" exit 1 endif afni -niml switch ($2) case "-m": set myd = 'suma_mni' set myf = 'N27' set myu = 'MNI_avg152T1' breaksw default: set myd = 'suma_TT_N27' set myf = 'TT_N27' set myu = 'TT_N27' endsw switch($1) case "-r": set mys = 'rh' breaksw case "-l": set mys = 'lh' breaksw default: set mys = 'both' endsw suma -spec /mnt/nfs2/users/alans/niiTemplates/${myd}/${myf}_${mys}.spec -sv /abin/${myu}+tlrc.