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

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

Using iELVis with Python

Page history last edited by David Groppe 1 year, 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.