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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: "Dataset of BCI2000-compatible intraoperative ECoG with neuromorphic encoding"
|
| 3 |
+
license: cc0-1.0
|
| 4 |
+
tags:
|
| 5 |
+
- ieeg
|
| 6 |
+
- neuroscience
|
| 7 |
+
- eegdash
|
| 8 |
+
- brain-computer-interface
|
| 9 |
+
- pytorch
|
| 10 |
+
- other
|
| 11 |
+
- clinical-intervention
|
| 12 |
+
- epilepsy
|
| 13 |
+
- acute
|
| 14 |
+
size_categories:
|
| 15 |
+
- n<1K
|
| 16 |
+
task_categories:
|
| 17 |
+
- other
|
| 18 |
+
authors:
|
| 19 |
+
- "Filippo Costa"
|
| 20 |
+
- "Niklaus Krayenbühl"
|
| 21 |
+
- "Georgia Ramantani"
|
| 22 |
+
- "Ece Boran"
|
| 23 |
+
- "Kristina König"
|
| 24 |
+
- "Johannes Sarnthein"
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# Dataset of BCI2000-compatible intraoperative ECoG with neuromorphic encoding
|
| 28 |
+
|
| 29 |
+
**Dataset ID:** `ds004944`
|
| 30 |
+
|
| 31 |
+
_Costa2024_
|
| 32 |
+
|
| 33 |
+
**Canonical aliases:** `BCI2000_intraop`
|
| 34 |
+
|
| 35 |
+
> **At a glance:** IEEG · Other clinical/intervention · epilepsy · 22 subjects · 44 recordings · CC0
|
| 36 |
+
|
| 37 |
+
## Load this dataset
|
| 38 |
+
|
| 39 |
+
This repo is a **pointer**. The raw EEG data lives at its canonical source
|
| 40 |
+
(OpenNeuro / NEMAR); [EEGDash](https://github.com/eegdash/EEGDash) streams it
|
| 41 |
+
on demand and returns a PyTorch / braindecode dataset.
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
# pip install eegdash
|
| 45 |
+
from eegdash import EEGDashDataset
|
| 46 |
+
|
| 47 |
+
ds = EEGDashDataset(dataset="ds004944", cache_dir="./cache")
|
| 48 |
+
print(len(ds), "recordings")
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
You can also load it by canonical alias — these are registered classes in `eegdash.dataset`:
|
| 52 |
+
|
| 53 |
+
```python
|
| 54 |
+
from eegdash.dataset import BCI2000_intraop
|
| 55 |
+
ds = BCI2000_intraop(cache_dir="./cache")
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
If the dataset has been mirrored to the HF Hub in braindecode's Zarr layout,
|
| 59 |
+
you can also pull it directly:
|
| 60 |
+
|
| 61 |
+
```python
|
| 62 |
+
from braindecode.datasets import BaseConcatDataset
|
| 63 |
+
ds = BaseConcatDataset.pull_from_hub("EEGDash/ds004944")
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
## Dataset metadata
|
| 68 |
+
|
| 69 |
+
| | |
|
| 70 |
+
|---|---|
|
| 71 |
+
| **Subjects** | 22 |
|
| 72 |
+
| **Age range** | 1–67 yrs, mean 19.9 |
|
| 73 |
+
| **Recordings** | 44 |
|
| 74 |
+
| **Tasks (count)** | 1 |
|
| 75 |
+
| **Sessions** | 2 |
|
| 76 |
+
| **Channels** | 3 (×10), 6 (×6), 5 (×6), 4 (×5), 23 (×3), 20 (×2), 19 (×2), 25 (×1), 22 (×1), 10 (×1), 15 (×1), 28 (×1), 27 (×1), 2 (×1), 17 (×1), 11 (×1), 21 (×1) |
|
| 77 |
+
| **Sampling rate (Hz)** | 2000 (×44) |
|
| 78 |
+
| **Total duration (h)** | 3.1 |
|
| 79 |
+
| **Size on disk** | 451.1 MB |
|
| 80 |
+
| **Recording type** | IEEG |
|
| 81 |
+
| **Experimental modality** | Other |
|
| 82 |
+
| **Paradigm type** | Clinical/Intervention |
|
| 83 |
+
| **Population** | Epilepsy |
|
| 84 |
+
| **BIDS version** | 1.4.0 |
|
| 85 |
+
| **Source** | openneuro |
|
| 86 |
+
| **License** | CC0 |
|
| 87 |
+
| **NEMAR citations** | 1 |
|
| 88 |
+
|
| 89 |
+
## Tasks
|
| 90 |
+
|
| 91 |
+
- `acute`
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
## Upstream README
|
| 95 |
+
|
| 96 |
+
_Verbatim from the dataset's authors — the canonical description._
|
| 97 |
+
|
| 98 |
+
## Overview
|
| 99 |
+
This dataset comprises recordings of intraoperative Electrocorticography (ECoG) from 22 patients undergoing resective epilepsy surgery.
|
| 100 |
+
For each patient, the dataset is organized into pre-resection recording (referred to as SITUATION1A) and post-resection recording (referred to as SITUATION2A).
|
| 101 |
+
We provide raw ECoG recordings for each patient and a derivative folder that contains all the main processing stages
|
| 102 |
+
performed with our neuromorphic processing pipeline: [https://doi.org/10.1038/s41467-024-47495-y](https://doi.org/10.1038/s41467-024-47495-y).
|
| 103 |
+
The pipeline preprocesses ECoG recordings in real-time and performs Asynchronous Delta Modulator (ADM) encoding with a custom BCI2000 module.
|
| 104 |
+
The ADM-encoded data are processed by a hardware Spiking Neural Network (SNN). The SNN-encoded data are then used to detect epileptiform patterns in the ECoG.
|
| 105 |
+
The code to perform preprocessing and ADM encoding in BCI2000, together with the code to detect epileptiform patterns from SNN-encoded data, are provided at [https://github.com/CostaFilippo/BCI2000_DYNAP-SE.git](https://github.com/CostaFilippo/BCI2000_DYNAP-SE.git).
|
| 106 |
+
In a previous publication, this dataset has been analyzed with a offline software algorithm: [https://doi.org/10.1016/j.clinph.2019.07.008](https://doi.org/10.1016/j.clinph.2019.07.008).
|
| 107 |
+
The annotations of the epileptiform patterns detected with the offline approach are provided at: sub-\*/ses-SITUATION\*/sub-\*_ses-SITUATION\*_task-acute_events.tsv.
|
| 108 |
+
The annotations of the epileptiform patterns detected with the online neuromorphic processing are provided at derivative/sub-\*/ses-SITUATION\*/sub-\*_ses-SITUATION*_task-EV.csv.
|
| 109 |
+
## Dataset Structure
|
| 110 |
+
The derivative folder is structured as follows:
|
| 111 |
+
- sub-*
|
| 112 |
+
- ses-SITUATION1A
|
| 113 |
+
- *task-BCI.dat
|
| 114 |
+
- *task-ADM.csv
|
| 115 |
+
- *task-SNN.csv
|
| 116 |
+
- *task-EV.csv
|
| 117 |
+
- ses-SITUATION2A
|
| 118 |
+
- *task-BCI.dat
|
| 119 |
+
- *task-ADM.csv
|
| 120 |
+
- *task-SNN.csv
|
| 121 |
+
- *task-EV.csv
|
| 122 |
+
### File Descriptions
|
| 123 |
+
- derivative
|
| 124 |
+
- **task-BCI.dat:* BCI2000-compatible file containing the ECoG recording.
|
| 125 |
+
- **task-ADM.csv:* ADM encoding of the ECoG recording.
|
| 126 |
+
- **task-SNN.csv:* SNN encoding of the ECoG recording.
|
| 127 |
+
- **task-EV.cvs:* Annotations of the detected epileptiform patterns in the ECoG recording.
|
| 128 |
+
## Data Formats
|
| 129 |
+
Details of the neuromorphic processing pipeline can be found at [https://doi.org/10.1038/s41467-024-47495-y](https://doi.org/10.1038/s41467-024-47495-y).
|
| 130 |
+
#### task-BCI.dat
|
| 131 |
+
The BCI2000-compatible file contains the raw ECoG recording.
|
| 132 |
+
It can be streamed in real-time using the 'FilePlayback' BCI2000 module.
|
| 133 |
+
#### task-ADM.csv
|
| 134 |
+
The ADM file is formatted as follows:
|
| 135 |
+
- _pulseType_: -1 for DN pulse, +1 for UP pulse.
|
| 136 |
+
- _pulseTime_: Time at which the pulse occurred.
|
| 137 |
+
- _channel_: Channel in which the pulse occurred.
|
| 138 |
+
- _band_: 0 for EEG band, 1 for HFO band
|
| 139 |
+
#### task-SNN.csv
|
| 140 |
+
The SNN file is formatted as follows:
|
| 141 |
+
- _time_: Time at which the SNN neuron activated.
|
| 142 |
+
- _neuronId_: Number id of the SNN neuron (DYNAP-SE numbering from 0 to 1024).
|
| 143 |
+
- _neuronCounter_: Number id of the SNN neuron (sequential numbering from 0 to 40).
|
| 144 |
+
- _moduleName_: Population (ACC_4_0; ACC_0_4), band (EEG; HFO) and module number (ch 0-7) of the neuron.
|
| 145 |
+
- ACC_4_0 = ACC UP
|
| 146 |
+
- ACC_0_4 = ACC DN
|
| 147 |
+
- _moduleId_: Module number (0-7).
|
| 148 |
+
- _channelId_: Channel for which the SNN neuron activated.
|
| 149 |
+
#### task-EV.csv
|
| 150 |
+
The EV file contains annotations of the detected epileptiform patterns with the following format:
|
| 151 |
+
- _time_: time of the detected event.
|
| 152 |
+
- _channelId_: channel id of the detected event.
|
| 153 |
+
- _location_: channel name of the detected event.
|
| 154 |
+
## Contact Information
|
| 155 |
+
For inquiries or additional information, please contact Filippo.Costa@usz.ch or Johannes.Sarnthein@usz.ch
|
| 156 |
+
## Acknowledgements
|
| 157 |
+
We thank V. Dimakopoulos for help in reformatting the data to BIDS. We acknowledge a grant awarded by the Swiss National Science Foundation (funded by the SNSF 204651 to JS and GI with GR and NK as project partners). The funder had no role in the design or analysis of the study.
|
| 158 |
+
|
| 159 |
+
|
| 160 |
+
## People
|
| 161 |
+
|
| 162 |
+
### Authors
|
| 163 |
+
- Filippo Costa
|
| 164 |
+
- Niklaus Krayenbühl
|
| 165 |
+
- Georgia Ramantani
|
| 166 |
+
- Ece Boran
|
| 167 |
+
- Kristina König
|
| 168 |
+
- Johannes Sarnthein _(senior)_
|
| 169 |
+
|
| 170 |
+
### Contact
|
| 171 |
+
- Filippo Costa
|
| 172 |
+
- Johannes Sarnthein
|
| 173 |
+
|
| 174 |
+
## Funding
|
| 175 |
+
|
| 176 |
+
- Swiss National Science Foundation, SNSF 204651
|
| 177 |
+
|
| 178 |
+
## Links
|
| 179 |
+
|
| 180 |
+
- **DOI:** [10.18112/openneuro.ds004944.v1.1.0](https://doi.org/10.18112/openneuro.ds004944.v1.1.0)
|
| 181 |
+
- **OpenNeuro:** [ds004944](https://openneuro.org/datasets/ds004944)
|
| 182 |
+
- **Browse 700+ datasets:** [EEGDash catalog](https://huggingface.co/spaces/EEGDash/catalog)
|
| 183 |
+
- **Docs:** <https://eegdash.org>
|
| 184 |
+
- **Code:** <https://github.com/eegdash/EEGDash>
|
| 185 |
+
|
| 186 |
+
## Provenance
|
| 187 |
+
|
| 188 |
+
- **Backend:** `s3` — `s3://openneuro.org/ds004944`
|
| 189 |
+
- **Exact size:** 473,061,643 bytes (451.1 MB)
|
| 190 |
+
- **Ingested:** 2026-04-06
|
| 191 |
+
- **Stats computed:** 2026-04-04
|
| 192 |
+
|
| 193 |
+
---
|
| 194 |
+
|
| 195 |
+
_Auto-generated from [dataset_summary.csv](https://github.com/eegdash/EEGDash/blob/main/eegdash/dataset/dataset_summary.csv) and the [EEGDash API](https://data.eegdash.org/api/eegdash/datasets/summary/ds004944). Do not edit this file by hand — update the upstream source and re-run `scripts/push_metadata_stubs.py`._
|
eegdash.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "ds004944",
|
| 3 |
+
"title": "Dataset of BCI2000-compatible intraoperative ECoG with neuromorphic encoding",
|
| 4 |
+
"source": "openneuro",
|
| 5 |
+
"source_url": "https://openneuro.org/datasets/ds004944",
|
| 6 |
+
"doi": "10.18112/openneuro.ds004944.v1.1.0",
|
| 7 |
+
"license": "CC0",
|
| 8 |
+
"loader": {
|
| 9 |
+
"library": "eegdash",
|
| 10 |
+
"class": "EEGDashDataset",
|
| 11 |
+
"kwargs": {
|
| 12 |
+
"dataset": "ds004944"
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"catalog": "https://huggingface.co/spaces/EEGDash/catalog",
|
| 16 |
+
"generated_by": "huggingface-space/scripts/push_metadata_stubs.py"
|
| 17 |
+
}
|