Final Report

alexrockhill
Published: 08/19/2021

My GSoC project to make a graphical user interface (GUI) to locate the positions of electrical recording contacts inside a patient's head who has been implanted with intracranial electrodes was a huge success. I started by developing the accompanying routines to prepare the input data and process the data once the GUI has been used first. This process is described here: https://mne.tools/dev/auto_tutorials/clinical/10_ieeg_localize.html The pull requests (PRs) that contributed to this development are here: https://github.com/mne-tools/mne-python/pull/9484 https://github.com/mne-tools/mne-python/pull/9544 https://github.com/mne-tools/mne-python/pull/9601 These were also accompanied by maintenance PRs to the MNE-Python repository as a whole which improved its overall organization and function and were part and parcel with the tutorial changes: https://github.com/mne-tools/mne-python/pull/9480 https://github.com/mne-tools/mne-python/pull/9543 https://github.com/mne-tools/mne-python/pull/9574 https://github.com/mne-tools/mne-python/pull/9598 https://github.com/mne-tools/mne-python/pull/9599 https://github.com/mne-tools/mne-python/pull/9601 https://github.com/mne-tools/mne-python/pull/9617 https://github.com/mne-tools/mne-python/pull/9618 https://github.com/mne-tools/mne-python/pull/9622 https://github.com/mne-tools/mne-python/pull/9625 https://github.com/mne-tools/mne-python/pull/9630 In brief, this allowed users who had collected intracranial electrophysiology data to take a computed tomography (CT) scan with electrode contacts appearing as hyperintensities, align it to a magnetic resonance (MR) image and then compute a morph mapping from the patient's brain to a template brain (a brain made of the average of many different MR scans so as to be somewhat representative of an average brain). The many helper PRs reorganized image processing scripts, fixed naming consistency, removed redundancy in documentation and refactored many of the 3D plotting aspects that were used in the tutorials. Once the accompanying routines were completed, the GUI PR was the main focus: https://github.com/mne-tools/mne-python/pull/9586 The main GUI implements a novel automatic contact finding algorithm, specifically developed for identifying many stereo-electrodes in lines (previous algorithms have been developed for grid electrodes) and is a clean and well-tested interface for locating intracranial contacts that is up to professional development standards.
DJDT

Versions

Time

Settings from gsoc.settings

Headers

Request

SQL queries from 1 connection

Static files (2312 found, 3 used)

Templates (11 rendered)

Cache calls from 1 backend

Signals

Log messages