PySurfer icon indicating copy to clipboard operation
PySurfer copied to clipboard

Plot tractography

Open Davi1990 opened this issue 5 years ago • 2 comments

Hello everyone,

as for my understanding, PySurfer does not have a way to plot dwi track fttb. Are you planning to implement them in the near future? If yes, I would like to contribute it if you want.

Thanks

Davi1990 avatar May 15 '20 13:05 Davi1990

I imagine that there are a lot of specific options for doing this. Maybe it would be better to build a separate tractography viz package that used PySurfer instead? It could also perhaps do volume viz, etc., which are also implicitly out of scope for PySurfer.

larsoner avatar May 15 '20 17:05 larsoner

Dipy seems to have a visualization module and it looks like they are using mayavi for 3d plotting: https://dipy.org/documentation/1.1.1./examples_built/viz_bundles/#example-viz-bundles

We have an example that shows how to make the surface transparent so you can see into the volume: http://pysurfer.github.io/auto_examples/plot_transparent_brain.html#sphx-glr-auto-examples-plot-transparent-brain-py. This might be useful for integrating surface-based statistics with dipy streamlines. (I don't know whether the coordinate systems will match out of the box).

But I agree that dwi data would be out of scope for pysurfer.

mwaskom avatar May 15 '20 18:05 mwaskom