Hi,
I'm trying to go over a long list of talairach coordinates and to find their 
vertex indices.
I did a bit of research and saw a previous question on the same topic:
http://www.mail-archive.com/[email protected]/msg12550.html

So I went on to write a tcl script in order to write the corresponding vertex 
indices to a file. But the problem is, the function selec_talairach_point gives 
4 successive outputs, therefore I can't parse the vertex number because it gets 
overwritten.
such as these: 

% select_talairach_point 66.18 -14.56 39.06
surfer: vertex 68342: dist = 0.002702
% surfer: dmin=0.0027, vno=68342, x=43.6843, y=-11.1042, z=35.8562
% surfer: curv=0.000000, fs=0.000000
% surfer: val=0.000000, val2=0.000000
% surfer: amp=0.000000, angle=0.000000 deg (0.000000)
% 0 (0  0  0)


My questions are:
1) is there an easier way of doing this besides writing a tcl script?
2) how can I access the function "selec_talairach_point" to modify it 
temporarily (so that it outputs ONLY vertex indices and not anything else)
3) is there a way to parse the output of this function in tcl? 

Ali B. Arslan
Graduate Student in Cognitive & Linguistic Sciences


_______________________________________________
Freesurfer mailing list
[email protected]
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