On Wed, 12 Jan 2005, Goldman, Aaron (NIH/NIMH) shaped the electrons to say:
Hi, I'm writing a script to make manual editing a bit more convenient, and want to call tksurfer and tkmedit with all the parameters of csurf's "Edit Segmentation" option, and using T1 as the aux volume. Right now, I have:
tksurfer $s $h inflated & tkmedit $s wm $h.orig -aux T1
However, I'm not sure how to make the curvature load automatically. Is there a flag I can add for that?
You can script tksurfer by putting tcl commands in a file and then invoking it with "tksurfer [args] -tcl myscript.tcl". To load the curvature (say lh.curv) in tksurfer, you'd put these commands in myscript.tcl:
set curv lh.curv; read_binary_curv
hope that helps! -Brendan