fcarza commited on
Commit
eb83541
·
verified ·
1 Parent(s): e02238f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +96 -1
README.md CHANGED
@@ -7,4 +7,99 @@ tags:
7
  - seizure
8
  - epilepsy
9
  pretty_name: SWEC iEEG Dataset
10
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  - seizure
8
  - epilepsy
9
  pretty_name: SWEC iEEG Dataset
10
+ ---
11
+
12
+ ## SWEC iEEG Dataset
13
+
14
+ [![arXiv](https://img.shields.io/badge/arXiv-2506.20354-00ff00.svg)](https://arxiv.org/abs/2506.20354) [![GitHub](https://img.shields.io/badge/GitHub-%23121011.svg?logo=github&logoColor=white&label=MVPFormer)](https://github.com/IBM/multi-variate-parallel-transformer) [![Static Badge](https://img.shields.io/badge/SWEC-iEEG%20SWEC%20Dataset-fedcba?style=flat&label=Data)](https://mb-neuro.medical-blocks.ch/public_access/databases/ieeg/swec_ieeg)
15
+
16
+ ## Dataset summary
17
+
18
+ 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.
19
+ Dataset structure
20
+
21
+ 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.
22
+
23
+ The dataset is comprised of 696 files across 68 folders, for a total (compressed, see Recordings details) size of 4.6TB.
24
+
25
+ ### Structure example
26
+
27
+ As an example of a typical subject folder, here is subject `ID04`
28
+ ```
29
+ :
30
+ |-- ...
31
+ |-- ID03
32
+ |-- ID04
33
+ | |-- ID04_part_1.h5
34
+ | |-- ID04_part_2.h5
35
+ | |-- ID04_total.h5
36
+ |-- ID05
37
+ |-- ...
38
+ ```
39
+
40
+ ### Recordings
41
+
42
+ The recordings can be accessed at the `data/ieeg` dataset in every **part** file, or alternatively at the `data/ieeg` dataset of the **total** file for a unified view. Access through the **total** file is recommended. The `ieeg` dataset has shape `(C, T)` and is chunked into pieces containing 3 minutes of signal across all the channels (e.g., each chunk is `(64, 92160)` for a recording with sample rate 512Hz and 64 channels), to fit a suitable random access pattern. Moreover, the data is compressed with `lz4hc`, requiring an appropriate decoder for reading (e.g., [h5py](https://www.h5py.org/) with [hdf5plugin](https://github.com/silx-kit/hdf5plugin)).
43
+
44
+ ### Annotations
45
+
46
+ The ictal annotations can be accessed at the `data/seizures` dataset of the **total** file. The seizures
47
+ dataset is a structured array with fields `onsets` and `offsets`, representing the seizures onsets and offsets respectively in seconds since the beginning of recording.
48
+
49
+ ### File integrity
50
+
51
+ The **total** file also contains the datasets `info/files` and `info/checksums`. The `files` dataset includes the list of parts name associated with the specific patient, while the `checksum`
52
+ dataset includes the blake2b checksums of each **part** file to verify their integrate (e.g., with the `b2sum <part>` utility).
53
+
54
+ ### Other attributes
55
+
56
+ Every file contains attributes `patient` with the patient ID, `channels` with the number of channels, and `sampling_rate` with the sampling rate in Hz.
57
+
58
+ ---
59
+
60
+ ## Dataset curation
61
+
62
+ ### Preparation
63
+
64
+ 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.
65
+
66
+ ### Ethical considerations
67
+
68
+ 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.
69
+
70
+ ---
71
+
72
+ ## Additional information
73
+
74
+ ### Dataset curators
75
+
76
+ 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.
77
+
78
+ ### Initial version
79
+
80
+ An initial version containing the first 18 subjects with a different format can be found at this [location](http://ieeg-swez.ethz.ch/). Please note that that version is considered obsolete and might be made unavailable without notice.
81
+
82
+ ### Licensing
83
+
84
+ The iEEG SWEC dataset is licensed using the [Community Data License Agreement – Permissive, Version 2.0](https://cdla.dev/permissive-2-0/).
85
+
86
+ ### Disclaimer
87
+
88
+ 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.
89
+
90
+ ### Citation
91
+
92
+ If you are using this dataset, please cite the following:
93
+
94
+ ```
95
+ @article{carzaniga2025foundation,
96
+ title={A foundation model with multi-variate parallel attention to generate neuronal activity},
97
+ author={Carzaniga, Francesco and Hersche, Michael and Sebastian, Abu and Schindler, Kaspar and Rahimi, Abbas},
98
+ journal={arXiv preprint arXiv:2506.20354},
99
+ year={2025}
100
+ }
101
+ ```
102
+
103
+ ### Contact
104
+
105
+ Francesco Carzaniga ([email protected])