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

  • Browse and search Google Drive and Gmail attachments (plus Dropbox and Slack files) with a unified tool for working with your cloud files. Try Dokkio (from the makers of PBworks) for free. Now available on the web, Mac, Windows, and as a Chrome extension!

View
 

Using iELVis with Python

Page history last edited by David Groppe 2 years, 4 months 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.