Ecog GUI is a Python module to localize intracranial electrodes from MRI.
It interactively fits a priori defined grids, strips or rigid array of electrodes to the MRI with a Graphical User Interface.
Its main advantages as compared to current alternatives are:
This is currently an alpha version.
Click on the following examples to run the tutorial and results preview in your browser.
examples/model_displacement.ipynb
how the 2D grid/strips are fitted with a
rotation and translation to match the 3D locations.examples/model_surface.ipynb
: how the 2D grid/strips are fitted with a
2nd order polynomial with a constrain on the electrodes local distances, as we
know the grid can be flexible but is not elastic.examples/gui_mri_ecog.ipynb
: try to fit the grid this patient brain. It should take no more than five minutes.Clone this repository and install using setup.py:
python setup.py develop --user
The required dependencies to use the software are: