Hi,
I would like to go over a list of talairach coordinates (which
describe my electrode locations) and send these vertices as labels.
I'm using select_talairach_point function, but the problem is that it
only keeps the latest selection. So I end up with just one vertex.
I'm using this TCL script that I wrote:
set f [ open "/Users/aarslan/Desktop/talcoord.txt" ]
set a [read $f]
set b [split $a "\n"]

set i 0
foreach j $b {
        select_talairach_point [lindex $j 0] [lindex $j 1] [lindex $j 2]
        puts "[lindex $j 0] [lindex $j 1] [lindex $j 2]"
        incr i
}

Is there a way to store multiple vertices as a label or annotation? Or
at least keep the previously selected vertices during each iteration?
Best,
-- 
Ali B. Arslan
Cognitive, Linguistic and Psychological Sciences
Brown University
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to