EEGdashOpenNeuroDS005523
Iss. 5523 · 21 subjects · 102 recordings · CC0
Dataset Brief · Spatial Memory of Object Locations with Open-Loop Stimulation…

DS005523: ieeg dataset, 21 subjects#

Spatial Memory of Object Locations with Open-Loop Stimulation at Encoding

Citation: Haydn G. Herrema, Michael J. Kahana (—). Spatial Memory of Object Locations with Open-Loop Stimulation at Encoding. 10.18112/openneuro.ds005523.v1.0.1

21-participant iEEG dataset — Spatial Memory of Object Locations with Open-Loop Stimulation at Encoding.

iEEG · 182 (7), 166 (7), 144 (7), 180 (7), 126 (6), 56 (5), 156 (5), 50 (5), 141 (4), 109 (4), 118 (4), 68 (3), 133 (3), 64 (3), 104 (2), 87 (2), 123 (2), 120 (2), 94 (2), 138 (2), 174 (2), 100 (2), 108 (2), 85 (2), 76 (2), 163, 112, 188, 110, 173, 80, 88, 124, 92, 143 ch500, 999, 1000, 1600 HzBIDS 1.7.0Task · YC27 sessionsSurgeryVisualMemory
Layer 01Study
What was asked
Hypothesis, independent & dependent variables, paradigm, cohort, and the editorial caveats around what the recordings can and cannot answer.
Layer 02Signal · BIDS
What was recorded
Sidecars, channels & electrodes, coordinate system, event semantics, and quality stats from the NEMAR pipeline when available.
Layer 03Training · ML
What you can train on
Recommended access modes — MNE Raw, braindecode windows, PyTorch DataLoader — plus the targets the metadata makes addressable.
§ 01Access · Get started

Quickstart#

Install

pip install eegdash

Access the data

from eegdash.dataset import DS005523

dataset = DS005523(cache_dir="./data")
# Get the raw object of the first recording
raw = dataset.datasets[0].raw
print(raw.info)

Filter by subject

dataset = DS005523(cache_dir="./data", subject="01")

Advanced query

dataset = DS005523(
    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{ds005523,
  title = {Spatial Memory of Object Locations with Open-Loop Stimulation at Encoding},
  author = {Haydn G. Herrema and Michael J. Kahana},
  doi = {10.18112/openneuro.ds005523.v1.0.1},
  url = {https://doi.org/10.18112/openneuro.ds005523.v1.0.1},
}
§ 02Study · The README

About This Dataset#

This dataset contains behavioral events and intracranial electrophysiological recordings from a spatial navigation memory task with open-loop stimulation at encoding. The experiment consists of participants encoding object locations during a guided navigation learning phase and then recalling the object locations during a self-navigation test phase. The data was collected at clinical sites across the country as part of a collaboration with the Computational Memory Lab at the University of Pennsylvania. This dataset is an open-loop stimulation version of the YC1 dataset.

Each session contains 50 trials (2 practice and 48 experimental), and each overall “trial” contains 2 learning trials followed by 1 test trial with the same object at the same location. For learning trial 1, participants are placed at a random location at a given radius from the object. They are smoothly turned to face the object (1 s), automatically driven to the object location (3 s), and then paused at the object (1 s). 5 seconds later, participants are placed at a new random location and the process repeats for learning trial 2. On test trials, participants are placed at a random location and orientation, with the object invisible. They navigate to where they believe the object was located and press a button to record their response. The environment for all sessions and trials is 64.8 x 36, with coordinates: x = (-32.4, 32.4), y = (-18.0, 18.0).

This study contains open-loop electrical stimulation of the brain during encoding. There is no stimulation during the retrieval phase. Stimulation is delivered to a single electrode at a time, with locations chosen in the hippocampus and entorhinal cortex. Stimulation parameters are included in the behavioral events tsv files, denoting the anode/cathode labels, amplitude, pulse frequency, pulse width, and pulse count.

Spatial Navigation Memory of Object Locations with Open-Loop Stimulation at Encoding

Description

Half of the (experimental) trials are assigned to the stimulation condition, and stimulation and no stimulation trials are alternated. On stimulation trials, stimulation occurs during both of the associated learning trials. Stimulation begins at the onset of turning towards the object’s location and lasts for the 5 seconds of the learning trial (1s turn + 3s drive + 1s pause). The trials are blocked by a counterbalanced scheme, so for every stimulated trial there is another non-stimulated trial with reflected object position, starting position, and orientation. This counterbalancing ensures stimulated and non-stimulated trials are difficulty matched. Each block contains 2 trials (i.e., 2 x (2 learning, 1 test)), with object (X, Y) and starting locations (x, y). Bold represents stimulation: - (X1, Y1)

  • (x1’, y1’)

  • (x1’’, y1’’)

View full README

Spatial Navigation Memory of Object Locations with Open-Loop Stimulation at Encoding

Description

Half of the (experimental) trials are assigned to the stimulation condition, and stimulation and no stimulation trials are alternated. On stimulation trials, stimulation occurs during both of the associated learning trials. Stimulation begins at the onset of turning towards the object’s location and lasts for the 5 seconds of the learning trial (1s turn + 3s drive + 1s pause). The trials are blocked by a counterbalanced scheme, so for every stimulated trial there is another non-stimulated trial with reflected object position, starting position, and orientation. This counterbalancing ensures stimulated and non-stimulated trials are difficulty matched. Each block contains 2 trials (i.e., 2 x (2 learning, 1 test)), with object (X, Y) and starting locations (x, y). Bold represents stimulation: - (X1, Y1)

  • (x1’, y1’)

  • (x1’’, y1’’)

  • (x1’’’, y1’’’)

  • (X2, Y2)
    • (x2’, y2’)

    • (x2’’, y2’’)

    • (x2’’’, y2’’’)

The paired block contains 2 trials in the opposite order with object and starting locations: - (-X2, -Y2)

  • (-x2’, -y2’)

  • (-x2’’, -y2’’)

  • (-x2’’’, -y2’’’)

  • (-X1, -Y1)
    • (-x1’, -y1’)

    • (-x1’’, -y1’’)

    • (-x1’’’, -y1’’’)

To Note

* The iEEG recordings are labeled either “monopolar” or “bipolar.” The monopolar recordings are referenced (typically a mastoid reference), but should always be re-referenced before analysis. The bipolar recordings are referenced according to a paired scheme indicated by the accompanying bipolar channels tables. * Each subject has a unique montage of electrode locations. MNI and Talairach coordinates are provided when available. * Recordings done with the Blackrock system are in units of 250 nV, while recordings done with the Medtronic system are estimated through testing to have units of 0.1 uV. We have completed the scaling to provide values in V.

Contact

For questions or inquiries, please contact sas-kahana-sysadmin@sas.upenn.edu.

§ 03Cohort · Participants

Cohort#

Dataset Statistics#

Age distribution by gender (n=21, range 19–57 yr, mean 33.3 yr)

1520253035455055
Female · 12Male · 9

Sex composition

22
subjects
Female
12
Male
10
F : M ratio
1.20 : 1
55% female · n = 22 subjects with reported sex.
HandednessRight · 16Left · 4Ambidextrous · 2

Channel counts (ch)

5056646876808587889294100104108109110112118120123124126133138141143144156163166173174180182188

Sampling frequencies (Hz)

499.750099910001600

Total recording duration: 84 h

§ 04Signal · Electrodes & trace

Signal · Electrodes & live trace#

Fig. 01 Signal & montage 182 (7), 166 (7), 144 (7), 180 (7), 126 (6), 56 (5), 156 (5), 50 (5), 141 (4), 109 (4), 118 (4), 68 (3), 133 (3), 64 (3), 104 (2), 87 (2), 123 (2), 120 (2), 94 (2), 138 (2), 174 (2), 100 (2), 108 (2), 85 (2), 76 (2), 163, 112, 188, 110, 173, 80, 88, 124, 92, 143 ch · iEEG · 500, 999, 1000, 1600 Hz · 21 subjects, 102 recordings
Live trace viewer — sub-R1037D · ses-4 · task-YC2

Showing one representative recording out of 21 subjects and 102 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 · 144 sensors — 144 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 HED event descriptors word cloud — DS005523
§ 05Manifest · BIDS tree

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.

Recordings
Files
Subjects
Modalities
Click to load file structure…
Full dataset metadata table

Dataset ID

DS005523

Title

Spatial Memory of Object Locations with Open-Loop Stimulation at Encoding

Author (year)

Herrema2024_Spatial_Memory

Canonical

Importable as

DS005523, Herrema2024_Spatial_Memory

Year

Authors

Haydn G. Herrema, Michael J. Kahana

License

CC0

Citation / DOI

doi:10.18112/openneuro.ds005523.v1.0.1

Source links

OpenNeuro | NeMAR | Source URL

Copy-paste BibTeX
@dataset{ds005523,
  title = {Spatial Memory of Object Locations with Open-Loop Stimulation at Encoding},
  author = {Haydn G. Herrema and Michael J. Kahana},
  doi = {10.18112/openneuro.ds005523.v1.0.1},
  url = {https://doi.org/10.18112/openneuro.ds005523.v1.0.1},
}
§ 06API · Programmatic access

API Reference#

Signature
eegdash.dataset
class
eegdash.dataset.DS005523(cache_dir, query=None, s3_bucket=None, **kwargs)
Bases: EEGDashDataset
Author (year)Herrema2024_Spatial_Memory
Canonical
Importable asDS005523 · Herrema2024_Spatial_Memory
Sourceeegdash/dataset/registry.py · [source ↗]
class eegdash.dataset.DS005523(cache_dir: str, query: dict | None = None, s3_bucket: str | None = None, **kwargs)[source]#

Spatial Memory of Object Locations with Open-Loop Stimulation at Encoding

Study:

ds005523 (OpenNeuro)

Author (year):

Herrema2024_Spatial_Memory

Canonical:

Also importable as: DS005523, Herrema2024_Spatial_Memory.

Modality: ieeg; Experiment type: Memory; Subject type: Surgery. Subjects: 21; recordings: 102; 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

query#

Merged query with the dataset filter applied.

Type:

dict

records#

Metadata records used to build the dataset, if pre-fetched.

Type:

list[dict] | None

Notes

Each item is a recording; recording-level metadata are available via dataset.description. query supports MongoDB-style filters on fields in ALLOWED_QUERY_FIELDS and is combined with the dataset filter. Dataset-specific caveats are not provided in the summary metadata.

References

OpenNeuro dataset: https://openneuro.org/datasets/ds005523 NeMAR dataset: https://nemar.org/dataexplorer/detail?dataset_id=ds005523 DOI: https://doi.org/10.18112/openneuro.ds005523.v1.0.1 NEMAR citation count: 0

Examples

>>> from eegdash.dataset import DS005523
>>> dataset = DS005523(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.

Access modesMNE → braindecode → PyTorch → ML
.rawMNE Raw object — standard tools (filter, epoch, ICA, plot_psd).mne
DataLoaderWraps the windowed dataset into a PyTorch DataLoader; supports parallel workers and on-the-fly augmentations.pytorch
Zarr cacheOptional braindecode Zarr mirror for fast resume; persisted to cache_dir.zarr
Hugging FacePre-bundled mirror at EEGDash/ds005523 · pull with datasets.load_dataset("EEGDash/ds005523").huggingface
Croissant 1.0Machine-readable JSON-LD descriptorDS005523.croissant.json (MLCommons schema, ingestible by PyTorch / TensorFlow / JAX).mlcommons
Examples using EEGDashcurated · start here

Swap any load_dataset(...) call for ds005523 to reproduce the tutorial on this dataset.

Citation

Haydn G. Herrema, Michael J. Kahana (n.d.). Spatial Memory of Object Locations with Open-Loop Stimulation at Encoding. 10.18112/openneuro.ds005523.v1.0.1

Provenance

¹Contributed to openneuro in BIDS format.

²Curated & ingested by the EEGDash catalog; see CITATION.cff for canonical reference.

³Persistent identifier: 10.18112/openneuro.ds005523.v1.0.1.

BIDS
BIDS 1.7.0
Sidecars
channels
Machine-readable

See Also#