Thanks much, that is great.
One more thing. Is there a way to get all the segment lengths? I see that
it prints out the min and the max segment lengths. In my case it is
0.08mm and 9.42mm. I was looking that the FreeSurfer 'thickness' file
for the same brain, and the min is 0.07mm and max is 5.0mm. I am guessing
FreeSurfer has a 5mm cutoff for thickness. If it was possible to get all
the segment lengths, it would be interestng to see the distribution and
comare to thickness values. Perhaps there could be a 'seg_lengths' option
like the 'seg_vals' option, if it is not too much trouble.
thanks,
Rutvik