| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Using iELVis with Python

Page history last edited by David Groppe 5 years ago

We've put together a couple of in-progress examples of ways of plotting electrode locations on a brain surface using iELVis data that have been organized according to BIDS-iEEG conventions. If you can improve on these methods, we'd be delighted to add your code to iELVis. Just contact us via the iELVis discussion group.

 

Both methods rely on Pysurfer as it used to read the FreeSurfer files (e.g. lh.pial). You can download and get more information about Pysurfer from here:

https://pysurfer.github.io/

 

 

1) This script just uses Pysurfer:

https://github.com/iELVis/iELVis/blob/master/iELVis_PYTHON/pysurf_elec_plot.py

 

and produces plots that look like this:

 

 

2) This example notebook uses Plotly in addition to Pysurfer:

?? Need to add

 

and produces plots that look like this:

?? Need to add

 

You can download Plotly here:

https://plot.ly/python/

 

 

Comments (0)

You don't have permission to comment on this page.