The SWEC iEEG Dataset contains fully anonymised multi-channel iEEG recordings collected from a total of 68 subjects suffering from pharmacoresistent epilepsy undergoing pre-surgical evaluation for epilepsy. The data was recorded at the Sleep Wake Epilepsy Center (SWEC) of the Department of Neurology at the Inselspital in Bern, Switzerland. The dataset includes a total of 9328 hours of signal and 704 ictal events, annotated by board-certified epileptologist Prof. Kaspar Schindler.
The dataset is divided into 68 folders, one per subject. All the files in each folder are prefixed with the ID of the corresponding patient. Each folder contains the entire data for one patient divided into multiple HDF5 part files, with parts being roughly 10GB in (uncompressed) size. Each folder also contains a total file in the HDF5 VDS format, combining all the parts into one continuous virtual recording for easy access and manipulation. The total file includes the ictal annotations.
The dataset is comprised of 696 files across 68 folders, for a total (compressed, see Recordings details) size of 4.6TB.
As an example of a typical subject folder, here is subject
The recordings can be accessed at the
The ictal annotations can be accessed at the
The total file also contains the datasets
Every file contains attributes
The iEEG signals were recorded intracranially by strip, grid, and depth electrodes. After 16-bit analog-to-digital conversion, the recordings were visually inspected for removal of channels corrupted by artifacts. The signals were then digitally band-pass filtered between 0.5 and 150 Hz using a fourth-order Butterworth forward-backward filter and finally downsampled to either 512Hz or 1024Hz.
All the subjects gave written informed consent that their iEEG data might be used for research and teaching purposes. The decision on the necessity for iEEG recordings, the electrode implantation scheme, and the decision about surgical therapy were made entirely on clinical grounds. These decisions were taken prior to and completely independently from the compilation of this dataset.
The dataset was created by Kaspar Schindler and the team at the SWEC. The dataset was further prepared for public availability by Francesco Carzaniga, Kaspar Schindler, Abbas Rahimi, and the team at the SWEC.
An initial version containing the first 18 subjects with a different format can be found at this location. Please note that that version is considered obsolete and might be made unavailable without notice.
The iEEG SWEC dataset is licensed using the Community Data License Agreement – Permissive, Version 2.0.
This dataset may only be used for research. For other applications any liability is denied. In particular, the dataset must not be used for diagnostic purposes.
If you are using this dataset, please cite the following:
To download the database using the browser, please use the following link:
SWEC iEEG Database Access.
If you prefer to download the database via the terminal using the
Download the command list:
Retrieve the file containing the necessary
wget_list_SWECiEEG.csv
Set your environment variables:
Before executing the commands, make sure to set the required variables in your system: