nipy / PySurfer

Cortical neuroimaging visualization in Python
https://pysurfer.github.io/
BSD 3-Clause "New" or "Revised" License
240 stars 97 forks source link

Plot tractography #292

Open Davi1990 opened 4 years ago

Davi1990 commented 4 years ago

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

larsoner commented 4 years ago

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.

mwaskom commented 4 years ago

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.