NM000481: ieeg dataset, 14 subjects#
s500-literature-201: Whole-night hippocampal depth and scalp Cz sleep EEG with spindle and ripple detections, 14 epilepsy patients (Ngo, Fell & Staresina, 2020) (derivative)
Access recordings and metadata through EEGDash.
Citation: Hong-Viet V. Ngo, Juergen Fell, Bernhard P. Staresina (2020). s500-literature-201: Whole-night hippocampal depth and scalp Cz sleep EEG with spindle and ripple detections, 14 epilepsy patients (Ngo, Fell & Staresina, 2020) (derivative). 10.82901/nemar.nm000481
Modality: ieeg Subjects: 14 Recordings: 14 License: CC-BY-4.0 Source: nemar
Metadata: Complete (100%)
14-participant iEEG dataset — s500-literature-201: Whole-night hippocampal depth and scalp Cz sleep EEG with spindle and ripple detections, 14 epilepsy patients (Ngo, Fell & Staresina, 2020) (derivative).
Quickstart#
Install
pip install eegdash
Access the data
from eegdash.dataset import NM000481
dataset = NM000481(cache_dir="./data")
# Get the raw object of the first recording
raw = dataset.datasets[0].raw
print(raw.info)
Filter by subject
dataset = NM000481(cache_dir="./data", subject="01")
Advanced query
dataset = NM000481(
cache_dir="./data",
query={"subject": {"$in": ["01", "02"]}},
)
Iterate recordings
for rec in dataset:
print(rec.subject, rec.raw.info['sfreq'])
If you use this dataset in your research, please cite the original authors.
BibTeX
@dataset{nm000481,
title = {s500-literature-201: Whole-night hippocampal depth and scalp Cz sleep EEG with spindle and ripple detections, 14 epilepsy patients (Ngo, Fell & Staresina, 2020) (derivative)},
author = {Hong-Viet V. Ngo and Juergen Fell and Bernhard P. Staresina},
doi = {10.82901/nemar.nm000481},
url = {https://doi.org/10.82901/nemar.nm000481},
}
About This Dataset#
Whole-night sleep recordings from 14 pre-surgical epilepsy patients (Department of Epileptology, University of Bonn),
135.6 h in total, two channels per patient at 1 kHz: HIPP, a posterior hippocampal depth contact of the non-pathological
hemisphere (the contact with the highest spindle density, article), and NC, scalp electrode Cz. Released by the authors on OSF
(https://osf.io/3hpvr/, CC-BY 4.0) with their ripple and spindle detections, sleep scoring and artifact intervals.
THIS IS A DERIVATIVE DATASET: the release holds the two channels the authors analysed (referenced to linked mastoids, hardware
band-pass 0.01-300 Hz), not the full clinical recordings; the other scalp electrodes (C3, C4, Oz), EOG and EMG are not released.
released float64 values (unit µV assumed from the article’s thresholds; not stated in the release).
Ngo, Fell & Staresina (2020): whole-night hippocampal and scalp sleep EEG with spindle and ripple detections
events.tsv: (1) sleep stages as runs of the released per-sample scoring (sleep_stage_wake/S1/S2/S3/S4/REM; the release codes 0-5 are kept in thesleep_stagecolumn; the names follow the Rechtschaffen & Kales scoring reported in the article and the detectors’ NREM stages 2-4); (2)artifact_HIPP/artifact_NCintervals from the authors’ automated artifact detection; (3)ripple_HIPP,spindle_HIPP,spindle_NCevents from the authors’ detectors with their stage, rejected flag and envelope amplitude; the detector parameters are in eachevents.json(DetectorParameters).
View full README
Ngo, Fell & Staresina (2020): whole-night hippocampal and scalp sleep EEG with spindle and ripple detections
events.tsv: (1) sleep stages as runs of the released per-sample scoring (sleep_stage_wake/S1/S2/S3/S4/REM; the release codes 0-5 are kept in thesleep_stagecolumn; the names follow the Rechtschaffen & Kales scoring reported in the article and the detectors’ NREM stages 2-4); (2)artifact_HIPP/artifact_NCintervals from the authors’ automated artifact detection; (3)ripple_HIPP,spindle_HIPP,spindle_NCevents from the authors’ detectors with their stage, rejected flag and envelope amplitude; the detector parameters are in eachevents.json(DetectorParameters).electrodes.tsv(space-Other): MNI coordinates of the HIPP contact from Table 3 of the article (written because the release patient numbering matches the article; the template version is not stated). Verification: detected minus rejected spindle counts per patient (release / Table 2):
| patient | NC spindles | HIPP spindles | ripples |
|---|---|---|---|
| 1 | 1440 / 1440 | 1296 / 1296 | 255 / 135 |
| 2 | 1243 / 1243 | 571 / 571 | 410 / 107 |
| 3 | 1703 / 1703 | 1725 / 1725 | 333 / 116 |
| 4 | 1074 / 1074 | 978 / 978 | 1130 / 626 |
| 5 | 1427 / 1427 | 625 / 625 | 910 / 206 |
| 6 | 1001 / 1001 | 691 / 691 | 769 / 153 |
| 7 | 903 / 903 | 1975 / 1975 | 1869 / 403 |
| 8 | 1004 / 1004 | 892 / 892 | 1167 / 400 |
| 9 | 2079 / 2079 | 2038 / 2038 | 622 / 518 |
| 10 | 1120 / 1120 | 840 / 840 | 412 / 245 |
| 11 | 494 / 494 | 739 / 739 | 256 / 208 |
| 12 | 448 / 448 | 417 / 417 | 113 / 44 |
| 13 | 1339 / 1339 | 406 / 406 | 416 / 45 |
| 14 | 1899 / 1899 | 1555 / 1555 | 808 / 542 |
participants.tsv: no per-patient age or sex in the release (group: 35.4 +- 3.0 years, 7 of 14 female).sourcedata/osf-3hpvr/: the release files (EEGs, Ripples, Spindles, the control-events zip and the figure source data + scripts) with the MAT text-header creation dates reduced to month/year;DEIDENTIFICATION_MANIFEST.tsvlists sha-256 before and after.
Privacy
The release contains no names, dates or identifiers; patients are numbered pat01-pat14. MAT header dates were reduced to month/year.
NEMAR Metadata#
[](https://doi.org/10.82901/nemar.nm000481) # Ngo, Fell & Staresina (2020): whole-night hippocampal and scalp sleep EEG with spindle and ripple detections Whole-night sleep recordings from 14 pre-surgical epilepsy patients (Department of Epileptology, University of Bonn), 135.6 h in total, two channels per patient at 1 kHz: HIPP, a posterior hippocampal depth contact of the non-pathological hemisphere (the contact with the highest spindle density, article), and NC, scalp electrode Cz. Released by the authors on OSF (https://osf.io/3hpvr/, CC-BY 4.0) with their ripple and spindle detections, sleep scoring and artifact intervals. THIS IS A DERIVATIVE DATASET: the release holds the two channels the authors analysed (referenced to linked mastoids, hardware band-pass 0.01-300 Hz), not the full clinical recordings; the other scalp electrodes (C3, C4, Oz), EOG and EMG are not released. ## Contents - sub-NN/ieeg/sub-NN_task-sleep_run-1_ieeg.*: the night’s continuous signal (HIPP typed SEEG, NC typed EEG), float32 of the
released float64 values (unit µV assumed from the article’s thresholds; not stated in the release).
events.tsv: (1) sleep stages as runs of the released per-sample scoring (sleep_stage_wake/S1/S2/S3/S4/REM; the release codes 0-5 are kept in the sleep_stage column; the names follow the Rechtschaffen & Kales scoring reported in the article and the detectors’ NREM stages 2-4); (2) artifact_HIPP / artifact_NC intervals from the authors’ automated artifact detection; (3) ripple_HIPP, spindle_HIPP, spindle_NC events from the authors’ detectors with their stage, rejected flag and envelope amplitude; the detector parameters are in each events.json (DetectorParameters).
electrodes.tsv (space-Other): MNI coordinates of the HIPP contact from Table 3 of the article (written because the release patient numbering matches the article; the template version is not stated). Verification: detected minus rejected spindle counts per patient (release / Table 2):
|---|—|---|—| | 1 | 1440 / 1440 | 1296 / 1296 | 255 / 135 | | 2 | 1243 / 1243 | 571 / 571 | 410 / 107 | | 3 | 1703 / 1703 | 1725 / 1725 | 333 / 116 | | 4 | 1074 / 1074 | 978 / 978 | 1130 / 626 | | 5 | 1427 / 1427 | 625 / 625 | 910 / 206 | | 6 | 1001 / 1001 | 691 / 691 | 769 / 153 | | 7 | 903 / 903 | 1975 / 1975 | 1869 / 403 | | 8 | 1004 / 1004 | 892 / 892 | 1167 / 400 | | 9 | 2079 / 2079 | 2038 / 2038 | 622 / 518 | | 10 | 1120 / 1120 | 840 / 840 | 412 / 245 | | 11 | 494 / 494 | 739 / 739 | 256 / 208 | | 12 | 448 / 448 | 417 / 417 | 113 / 44 | | 13 | 1339 / 1339 | 406 / 406 | 416 / 45 | | 14 | 1899 / 1899 | 1555 / 1555 | 808 / 542 | - participants.tsv: no per-patient age or sex in the release (group: 35.4 +- 3.0 years, 7 of 14 female). - sourcedata/osf-3hpvr/: the release files (EEGs, Ripples, Spindles, the control-events zip and the figure source data +
scripts) with the MAT text-header creation dates reduced to month/year; DEIDENTIFICATION_MANIFEST.tsv lists sha-256 before and after.
## Privacy The release contains no names, dates or identifiers; patients are numbered pat01-pat14. MAT header dates were reduced to month/year.
License: CC-BY-4.0
Authors:
Hong-Viet V. Ngo
Juergen Fell
Bernhard P. Staresina
Versions:
Version |
DOI |
Released |
|---|---|---|
|
Cohort#
Dataset Statistics#
Channel counts: 2 ch (n=14 recordings)
Sampling frequencies: 1000.0 Hz (n=14 recordings)
Total recording duration: 135 h
Signal · Electrodes & live trace#
Live trace viewer — sub-04 · task-sleep · run-1
Showing one representative recording out of
14 subjects and 14 recordings in this dataset.
Browse the full set on OpenNeuro;
drop any other _ieeg.{set,edf,bdf,vhdr} file onto the
viewer (or pass ?ieeg=<url>) to inspect it.
Electrode layout — iEEG · 1 sensors — 1 channels
NEMAR Processing Statistics#
The plots below are generated by NEMAR’s automated EEG pipeline. The histogram shows pipeline success for data cleaning and ICA decomposition, the percentage of data frames and EEG channels retained after artefact removal, line noise per channel (RMS, dB), and the age/gender distribution of participants.
HED event descriptors word cloud
Manifest#
File Explorer#
Browse the BIDS file structure of this dataset. Records are fetched on demand from the EEGDash catalog the first time you open the explorer.
Full dataset metadata table
Dataset ID |
|
Title |
s500-literature-201: Whole-night hippocampal depth and scalp Cz sleep EEG with spindle and ripple detections, 14 epilepsy patients (Ngo, Fell & Staresina, 2020) (derivative) |
Author (year) |
— |
Canonical |
— |
Importable as |
|
Year |
2020 |
Authors |
Hong-Viet V. Ngo, Juergen Fell, Bernhard P. Staresina |
License |
CC-BY-4.0 |
Citation / DOI |
|
Source links |
OpenNeuro | NeMAR | Source URL |
Copy-paste BibTeX
@dataset{nm000481,
title = {s500-literature-201: Whole-night hippocampal depth and scalp Cz sleep EEG with spindle and ripple detections, 14 epilepsy patients (Ngo, Fell & Staresina, 2020) (derivative)},
author = {Hong-Viet V. Ngo and Juergen Fell and Bernhard P. Staresina},
doi = {10.82901/nemar.nm000481},
url = {https://doi.org/10.82901/nemar.nm000481},
}
API Reference#
eegdash.datasetEEGDashDataset- class eegdash.dataset.NM000481(cache_dir: str, query: dict | None = None, s3_bucket: str | None = None, **kwargs)[source]#
s500-literature-201: Whole-night hippocampal depth and scalp Cz sleep EEG with spindle and ripple detections, 14 epilepsy patients (Ngo, Fell & Staresina, 2020) (derivative)
- Study:
nm000481(NeMAR)- Author (year):
—
- Canonical:
—
Also importable as:
NM000481.Modality:
ieeg; Subject type:Unknown. Subjects: 14; recordings: 14; tasks: 1.- Parameters:
cache_dir (str | Path) – Directory where data are cached locally.
query (dict | None) – Additional MongoDB-style filters to AND with the dataset selection. Must not contain the key
dataset.s3_bucket (str | None) – Base S3 bucket used to locate the data.
**kwargs (dict) – Additional keyword arguments forwarded to
EEGDashDataset.
- data_dir#
Local dataset cache directory (
cache_dir / dataset_id).- Type:
Path
Notes
Each item is a recording; recording-level metadata are available via
dataset.description.querysupports MongoDB-style filters on fields inALLOWED_QUERY_FIELDSand is combined with the dataset filter. Dataset-specific caveats are not provided in the summary metadata.References
OpenNeuro dataset: https://openneuro.org/datasets/nm000481 NeMAR dataset: https://nemar.org/dataexplorer/detail?dataset_id=nm000481 DOI: https://doi.org/10.82901/nemar.nm000481
Examples
>>> from eegdash.dataset import NM000481 >>> dataset = NM000481(cache_dir="./data") >>> recording = dataset[0] >>> raw = recording.load()
- __init__(cache_dir: str, query: dict | None = None, s3_bucket: str | None = None, **kwargs)[source]#
- save(path: str, overwrite: bool = False, offset: int = 0)[source]#
Save datasets to files by creating one subdirectory for each dataset:
path/ 0/ 0-raw.fif | 0-epo.fif description.json raw_preproc_kwargs.json (if raws were preprocessed) window_kwargs.json (if this is a windowed dataset) window_preproc_kwargs.json (if windows were preprocessed) target_name.json (if target_name is not None and dataset is raw) 1/ 1-raw.fif | 1-epo.fif description.json raw_preproc_kwargs.json (if raws were preprocessed) window_kwargs.json (if this is a windowed dataset) window_preproc_kwargs.json (if windows were preprocessed) target_name.json (if target_name is not None and dataset is raw)
- Parameters:
path (str) –
- Directory in which subdirectories are created to store
-raw.fif | -epo.fif and .json files to.
overwrite (bool) – Whether to delete old subdirectories that will be saved to in this call.
offset (int) – If provided, the integer is added to the id of the dataset in the concat. This is useful in the setting of very large datasets, where one dataset has to be processed and saved at a time to account for its original position.
BaseDataset from braindecode — windowed via create_windows_from_events.braindecodeDataLoader; supports parallel workers and on-the-fly augmentations.pytorchSwap any load_dataset(...) call for nm000481 to reproduce the tutorial on this dataset.
Citation
Hong-Viet V. Ngo, Juergen Fell, Bernhard P. Staresina (2020). s500-literature-201: Whole-night hippocampal depth and scalp Cz sleep EEG with spindle and ripple detections, 14 epilepsy patients (Ngo, Fell & Staresina, 2020) (derivative). 10.82901/nemar.nm000481
Provenance
¹Contributed to nemar in BIDS format.
²Curated & ingested by the EEGDash catalog; see CITATION.cff for canonical reference.
³Persistent identifier: 10.82901/nemar.nm000481.
See Also#
eegdash.dataset.EEGDashDataseteegdash.dataset