Hi-
This is probably not the most elegant way to visualize the results, but this works.
The spec file is used to define various states and groups of surfaces to view together. Here, I've made a spec file to view the L- and R- hemispheres of smoothed WM from the standard TT template set along with your *.py file in the same space. Because of path oddness within the spec file, you will have to copy some files from the suma_TT_N27 file to your working directory that contains your chosen file of interest (ply_paths.ply).
So, this will copy the two surfaces and their node labels to your 'current' directory:
$ cp ~/.afni/data/suma_TT_N27/?h.smoothwm.gii .
$ cp ~/.afni/data/suma_TT_N27/?h.aparc.a2009s.annot.niml.dset .
You should then open a blank text file in your current working directory, copy and paste the following there, and then save it as "COMBO.spec":
Group = TT_N27_plus
StateDef = smoothwm_plus
NewSurface
SurfaceFormat = ASCII
SurfaceType = GIFTI
SurfaceName = lh.smoothwm.gii
LocalDomainParent = SAME
SurfaceState = smoothwm_plus
EmbedDimension = 3
Anatomical = Y
LabelDset = lh.aparc.a2009s.annot.niml.dset
NewSurface
SurfaceFormat = ASCII
SurfaceType = GIFTI
SurfaceName = rh.smoothwm.gii
LocalDomainParent = SAME
SurfaceState = smoothwm_plus
EmbedDimension = 3
Anatomical = Y
LabelDset = rh.aparc.a2009s.annot.niml.dset
NewSurface
SurfaceFormat = ASCII
SurfaceType = Ply
SurfaceName = ply_paths.ply
LocalDomainParent = SAME
SurfaceState = smoothwm_plus
EmbedDimension = 3
Anatomical = Y
Now, you are all set to go. You can open/view this as:
$ suma -spec COMBO.spec &
and/or you could add '-vol SOME_FILE' to this if you wanted to view a volume file additionally.
Here are a couple of (hopefully viewable) screenshots, one showing the "walnut brain"ability of opening the smooth WM cortices, and the other of using CTRL+o to turn the smooth WM cortices semi-transparent:
[
afni.nimh.nih.gov]
[
afni.nimh.nih.gov]
--pt