SEEG epileptogencity maps

[TUTORIAL UNDER DEVELOPMENT: NOT READY FOR PUBLIC USE]

Authors: Francois Tadel, Olivier David.

This tutorial introduces some concepts that are specific to the management of SEEG recordings in the Brainstorm environment, and explains how to compute maps of epileptogenicity from ictal recordings. It is based on a clinical case from the Grenoble University Hospital, France.

Note that the operations used here are not detailed, the goal of this tutorial is not to introduce Brainstorm to new users. For in-depth explanations of the interface and theoretical foundations, please refer to the introduction tutorials.

Warning: The same tools can be used for processing and displaying ECOG, but this hasn't been debugged properly yet. Please share with us any suggestion for improving the ECOG support.

Dataset description

License

This tutorial dataset (EEG and MRI data) remains property of the Grenoble University Hospital, France. Its use and transfer outside the ImaGIN and Brainstorm tutorials, e.g. for research purposes, is prohibited without written consent. For questions, please contact Olivier David, PhD ( olivier.david@inserm.fr ).

Clinical description

This dataset includes recordings for a patient that was not reported in the above article, but are part of the same study. The patient presents a focal epilepsy of the left temporo-occipital junction, MRI-negative, and was implanted in the surrounding areas. The subfolder "seeg" contains the recordings of three seizures, all of them showing a propagation of high-frequency oscillations from the lesion towards the temporal lobe, bilaterally.

SEEG recordings

http://neuroimage.usc.edu/brainstorm/DatasetEpileptogenicity?action=AttachFile&do=get&target=dixi_am.gif

The depth electrodes used in this example dataset are DIXI D08-**AM Microdeep electrodes, with the following specifications:

  • Diameter: 0.8 mm
  • Contact length: 2 mm
  • Insulator length: 1.5 mm
  • Distance between the center of two contacts: 3.5 mm
  • Between 8 and 18 contacts on each electrode

Files

The dataset we distribute with this tutorial follows the Brain Imaging Data Structure (BIDS) standard for neuroimaging data organization. This specification was first established for MRI and fMRI (Gorgolewski, 2016) and then refined with an extension dedicated to iEEG (Holdgraf, 2019). The files that will be imported in this tutorial are the following:

tutorial_epimap_bids/

  • derivatives/: Everything that cannot be considered as raw data

    • brainvisa/sub-01_ses-pre/: Result of the BrainVISA 4.5 segmentation for the pre-implantation T1 MRI.

  • sub-01/: Raw data for subject 01

    • ses-preimp/: Imaging exams performed before the implantation of the sEEG.

      • anat/sub-01_ses-preimp_T1w.nii.gz: T1-weighted MRI pre-implantation

    • ses-postimp/: Exams performed with the sEEG devices implanted.

      • anat/sub-01_ses-postimp_T1w.nii.gz: T1-weighted MRI post-implantation

      • ieeg/..._task-seizure_run-0*_ieeg.eeg: Three seizure recordings in BrainVision file format, one seizure per file (with the header files .vhdr and .vmrk)

      • ieeg/..._space-IXI549Space_electrodes.tsv: Position of the contacts in MNI space (SPM12 Segment non-linear normalization)

      • ieeg/..._space-ScanRAS_electrodes.tsv: Position of the contacts in world coordinates, relative to the post-implantation T1 MRI.

  • All the anatomical images have been de-identified with mri_deface from FreeSurfer 6.

References

The acquisition methodology is described in the following articles:

David O, Blauwblomme T, Job AS, Chabardès S, Hoffmann D, Minotti L, Kahane P, Imaging the seizure onset zone with stereo-electroencephalography, Brain. 2011 Oct;134(10):2898-911

Lamarche F, Job AS, Deman P, Bhattacharjee M, Hoffmann D, Gallazzini-Crépin C, Bouvard S, Minotti L, Kahane P, David O, Correlation of FDG-PET hypometabolism and SEEG epileptogenicity mapping in patients with drug-resistant focal epilepsy, Epilepsia. 2016 Dec; 57(12):2045–2055

Download and installation

Import the anatomy

Pre-implantation MRI

Post-implantation MRI

Generate default surfaces

Access the recordings

Import the contacts positions

In order to generate epileptogenicity maps, we need accurate 3D positions for the contacts of the depth electrodes. Placing the contacts requires a good understanding of the implantation scheme reported by the neurosurgeon, and some skills in reading MRI scans. To make this tutorial easier to reproduce and follow, we distribute the positions of the contacts saved in a text file (folder /anat/implantation). For instructions to place the SEEG contacts using Brainstorm, read the advanced section Editing the contacts positions.

Display the depth electrodes

3D figures

MRI Viewer

Panel iEEG

Display the SEEG recordings

SEEG time series

Interpolate on the anatomy

Review recordings

Bad channels

We will now to review the recordings for the three seizures recorded for this subject: SZ1, SZ2, SZ3. All the following steps are illustrated only for SZ1 but need to be reproduced for the other files.

Seizure onset

Two events are already available in this file: "Part1" only indicates the beginning of the file, and "Seizure" indicates approximately the onset of the first seizure. This marking was done for clinical use, to jump quickly to the page of interest, but here we need a more accurate marker. We will create a new marker "Onset" where we observe the beginning of the fast gamma activity, which is the main feature used computation of the epileptogenicity maps is based on.

Baseline

In the following sections, we will compute a time-frequency decomposition of the seizure and normalize it with respect to a baseline level. We will identify and import this baseline now. The baseline could be a segment of 5s to 30s of recordings, typically before the seizure, that contains as little interictal epileptiform activity as possible.

The duration of the baseline influences the computation time for the following steps of this tutorial. We will work here with short segments of 5s for illustration purposes, between 72.8s and 77.8s. Use longer segments for more accurate results.

Import epochs of interest

At this point of the analysis, we are still looking at the original files, no SEEG data was copied to the database. The montages are saved in the Brainstorm preferences, the bad channels and new events are saved in the links of the database but not eported to the original .TRC files. If you delete your protocol at this point, you would only lose the event marking and bad channel selection.

We are now going to import two segments of recordings for each seizure file: the seizure (10s before and 40s after the onset) and the baseline (all the segment selected). This will make real copies of the data in the database, so we can run additional processes on them.

Import in database

Bipolar montage

We will run the rest of the analysis using a bipolar montage (bipolar-2). The montage selected in the Record tab is for visualization only, most processes ignore this selection and work only on the original common-reference data. To force all the processes to work on the bipolar values, we need to explicitly apply the montage to the recordings.

Advanced

Uniform list of channels

In this example dataset, the list of channels recorded for all the files is the same, we can directly process the three seizures together. But this is not always the case, the list of recorded channels might be different between two files. This could happen if the patient was implanted multiple times, or if not all the contacts could be recorded simultaneously due to technical limitations related with the amplifiers or the acquisition software.

For files that have different channels recorded, or the same contacts in a different order, you need to chose one of the two following approaches:

Time-frequency analysis

The aim of this section is only to evaluate the frequency range for the computation of the epileptogenicity maps. We need to identify which frequency band is the most representation and specific of the high-frequency activity at the beginning of a seizure.

Epileptogenicity maps

Volume

Surface

Advanced

Guidelines panel

Easy way for reproducing all these steps

Advanced

On the hard drive

IntraElectrodes structure

Advanced

Volume coregistration

Advanced

Editing the contacts positions

Advanced

Creating a new implantation file

Same as previous section, but not starting from an existing of contacts.

Advanced

Importing realistic surfaces

ECOG

Maybe a separate tutorial?

TODO

Scripting

The following script from the Brainstorm distribution reproduces the analysis presented in this tutorial page: brainstorm3/toolbox/script/tutorial_epimap.m

Could not open file.





Feedback: Comments, bug reports, suggestions, questions
Email address (if you expect an answer):


Tutorials/Epileptogenicity (last edited 2017-11-16 14:17:53 by FrancoisTadel)