EEGdash›NeMAR›NM000477
Iss. 477 · 24 subjects · 67 recordings · CC-BY-4.0
Dataset Brief · DavisSN-UG

NM000477: ieeg dataset, 24 subjects#

DavisSN-UG: intraoperative microelectrode recordings in human substantia nigra and globus pallidus during a social ultimatum game (Davis et al., 2025)

Access recordings and metadata through EEGDash.

Citation: Arianna Davis, Ofer Perl, Brian Kopell, Matthew Heflin, Salman Qasim, Zarghona Imtiaz, Ayaka Kato, Soojung Na, Navid Mikail, Helen S. Mayberg, P. Read Montague, Ignacio Saez, Xiaosi Gu (20). DavisSN-UG: intraoperative microelectrode recordings in human substantia nigra and globus pallidus during a social ultimatum game (Davis et al., 2025). 10.82901/nemar.nm000477

Modality: ieeg Subjects: 24 Recordings: 67 License: CC-BY-4.0 Source: nemar

Metadata: Complete (100%)

24-participant iEEG dataset — DavisSN-UG: intraoperative microelectrode recordings in human substantia nigra and globus pallidus during a social ultimatum game (Davis et al., 2025).

iEEG · 2 ch44000 HzBIDS 1.10.0Task · ultimatum2 sessions
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 NM000477

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

Filter by subject

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

Advanced query

dataset = NM000477(
    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{nm000477,
  title = {DavisSN-UG: intraoperative microelectrode recordings in human substantia nigra and globus pallidus during a social ultimatum game (Davis et al., 2025)},
  author = {Arianna Davis and Ofer Perl and Brian Kopell and Matthew Heflin and Salman Qasim and Zarghona Imtiaz and Ayaka Kato and Soojung Na and Navid Mikail and Helen S. Mayberg and P. Read Montague and Ignacio Saez and Xiaosi Gu},
  doi = {10.82901/nemar.nm000477},
  url = {https://doi.org/10.82901/nemar.nm000477},
}
§ 02Study · The README

About This Dataset#

Release: figshare 29082671 “Single neurons in the human substantia nigra encode social learning signals” (Arianna Davis, Ofer Perl, Brian Kopell, Matthew Heflin, Salman Qasim, Zarghona Imtiaz, Ayaka Kato, Soojung Na, Navid Mikail, Helen S. Mayberg, P. Read Montague, Ignacio Saez, Xiaosi Gu;

doi:10.6084/m9.figshare.29082671.v2, CC BY 4.0). Release description (excerpt): “Description of the data and file structure Behavioral and electrophysiological data were collected from neurosurgical patients who played a social exchange game while undergoing single-unit electrophysiological recording from the substantia nigra and globus pallidus in order to delineate the potential roles of these neurons in encoding social learning signals. Files and variables File: Code.zip Description: This compressed folder contains all scripts required to conduct the behavioral and neural analyses presented in the paper. It is organized into two subfolders: behavior and neural. The behavior folder is further organized into a prep folder and a modeling folder. The scripts in the prep folder are what were used for data cleaning, organizing, and model-free analyses. All model scripts are in the modeling folder. Scripts for carrying out neural analyses are in the neural folder. …”

Each Alpha Omega file of the release (one microelectrode position = run-<file number>) is one BrainVision recording with

the wideband RAW streams at 44 kHz: the microelectrode tip (<side>T<track>micro<nn>, Alpha Omega CRAW_nn) and the macro contact of the same lead (...macro<nn>, CMacro_RAW_nn), int16 counts x BitResolution / Gain in microvolts (float32; the exact factors are in channels.tsv). Where a file’s streams differ in length by a few samples they are cut to the shortest (listed in code/conversion_report.json). Sessions: ses-1 = release folder ptNNNN, ses-2 = ptNNNN_2; the side, track and drive depth of every run come from the Alpha Omega file name (LT1D-0.490F0002 = left track 1, depth -0.490 mm, file 2) and are in *_scans.tsv. Target (substantia nigra / globus pallidus) from the release folders. events.tsv: rising/falling edges of the digital inputs (task synchronisation pulses).

DOI

Intraoperative microelectrode recordings in human substantia nigra and globus pallidus during a social ultimatum game (Davis et al., 2025)

Not converted (kept in sourcedata/figshare-29082671/): the online LFP (CLFP, CMacro_LFP, 1.375 kHz) and spike-band (CSPK) streams, threshold spike segments (CSEG), analog inputs, the behaviour logs (behavior/*.json.txt, *.csv), the OSORT cluster-to-unit merge sheets (merge_pt*.xlsx) and the Alpha Omega MAT files themselves (byte-identical except the MAT header creation day set to 01). The release’s Code.zip (analysis scripts) and the unit waveform figures (Data_SN_morph-unit-plots.zip) are not included; they remain in the figshare record.

Localisation

No coordinates are released. electrodes.tsv lists the microelectrode/macro channels per session with the target structure; hemisphere, track and depth per run are in scans.tsv.

Provenance

Converted by the ieeg-nemar-20261005 campaign (lane o5c-B) with code/o5c_B_conv_lit9.py (round-trip checks in code/conversion_report.json).

NEMAR Metadata#

[![DOI](https://img.shields.io/badge/DOI-10.82901%2Fnemar.nm000477-blue)](https://doi.org/10.82901/nemar.nm000477) # Intraoperative microelectrode recordings in human substantia nigra and globus pallidus during a social ultimatum game (Davis et al., 2025) Release: figshare 29082671 “Single neurons in the human substantia nigra encode social learning signals” (Arianna Davis, Ofer Perl, Brian Kopell, Matthew Heflin, Salman Qasim, Zarghona Imtiaz, Ayaka Kato, Soojung Na, Navid Mikail, Helen S. Mayberg, P. Read Montague, Ignacio Saez, Xiaosi Gu; doi:10.6084/m9.figshare.29082671.v2, CC BY 4.0). Release description (excerpt): “Description of the data and file structure Behavioral and electrophysiological data were collected from neurosurgical patients who played a social exchange game while undergoing single-unit electrophysiological recording from the substantia nigra and globus pallidus in order to delineate the potential roles of these neurons in encoding social learning signals. Files and variables File: Code.zip Description: This compressed folder contains all scripts required to conduct the behavioral and neural analyses presented in the paper. It is organized into two subfolders: behavior and neural. The behavior folder is further organized into a prep folder and a modeling folder. The scripts in the prep folder are what were used for data cleaning, organizing, and model-free analyses. All model scripts are in the modeling folder. Scripts for carrying out neural analyses are in the neural folder. …” ## Content (67 runs, 5.19 h, 24 participants, 33 sessions) Each Alpha Omega file of the release (one microelectrode position = run-<file number>) is one BrainVision recording with the wideband RAW streams at 44 kHz: the microelectrode tip (<side>T<track>micro<nn>, Alpha Omega CRAW_nn) and the macro contact of the same lead (…macro<nn>, CMacro_RAW_nn), int16 counts x BitResolution / Gain in microvolts (float32; the exact factors are in channels.tsv). Where a file’s streams differ in length by a few samples they are cut to the shortest (listed in code/conversion_report.json). Sessions: ses-1 = release folder ptNNNN, ses-2 = ptNNNN_2; the side, track and drive depth of every run come from the Alpha Omega file name (LT1D-0.490F0002 = left track 1, depth -0.490 mm, file 2) and are in *_scans.tsv. Target (substantia nigra / globus pallidus) from the release folders. events.tsv: rising/falling edges of the digital inputs (task synchronisation pulses). Not converted (kept in sourcedata/figshare-29082671/): the online LFP (CLFP, CMacro_LFP, 1.375 kHz) and spike-band (CSPK) streams, threshold spike segments (CSEG), analog inputs, the behaviour logs (behavior/*.json.txt, *.csv), the OSORT cluster-to-unit merge sheets (merge_pt*.xlsx) and the Alpha Omega MAT files themselves (byte-identical except the MAT header creation day set to 01). The release’s Code.zip (analysis scripts) and the unit waveform figures (Data_SN_morph-unit-plots.zip) are not included; they remain in the figshare record. ## Localisation No coordinates are released. electrodes.tsv lists the microelectrode/macro channels per session with the target structure; hemisphere, track and depth per run are in scans.tsv. ## Provenance Converted by the ieeg-nemar-20261005 campaign (lane o5c-B) with code/o5c_B_conv_lit9.py (round-trip checks in code/conversion_report.json).

License: CC-BY-4.0

Authors:

  • Arianna Davis

  • Ofer Perl

  • Brian Kopell

  • Matthew Heflin

  • Salman Qasim

  • … and 8 more

Versions:

Version

DOI

Released

current

10.82901/nemar.nm000477

§ 03Cohort · Participants

Cohort#

Dataset Statistics#

Channel counts: 2 ch (n=67 recordings)

Sampling frequencies: 44000.0 Hz (n=67 recordings)

Total recording duration: 5 h 11 min

§ 04Signal · Electrodes & trace

Signal · Electrodes & live trace#

Fig. 01 Signal & montage 2 ch · iEEG · 44000 Hz · 24 subjects, 67 recordings
Live trace viewer — sub-0268 · ses-2 · task-ultimatum · run-03

Showing one representative recording out of 24 subjects and 67 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.

No scalp electrode layout is currently indexed for this dataset. Once the eegdash montage registry ingests it, the interactive viewer will appear here automatically.

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 — NM000477
§ 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

NM000477

Title

DavisSN-UG: intraoperative microelectrode recordings in human substantia nigra and globus pallidus during a social ultimatum game (Davis et al., 2025)

Author (year)

—

Canonical

—

Importable as

NM000477

Year

20

Authors

Arianna Davis, Ofer Perl, Brian Kopell, Matthew Heflin, Salman Qasim, Zarghona Imtiaz, Ayaka Kato, Soojung Na, Navid Mikail, Helen S. Mayberg, P. Read Montague, Ignacio Saez, Xiaosi Gu

License

CC-BY-4.0

Citation / DOI

10.82901/nemar.nm000477

Source links

OpenNeuro | NeMAR | Source URL

Copy-paste BibTeX
@dataset{nm000477,
  title = {DavisSN-UG: intraoperative microelectrode recordings in human substantia nigra and globus pallidus during a social ultimatum game (Davis et al., 2025)},
  author = {Arianna Davis and Ofer Perl and Brian Kopell and Matthew Heflin and Salman Qasim and Zarghona Imtiaz and Ayaka Kato and Soojung Na and Navid Mikail and Helen S. Mayberg and P. Read Montague and Ignacio Saez and Xiaosi Gu},
  doi = {10.82901/nemar.nm000477},
  url = {https://doi.org/10.82901/nemar.nm000477},
}
§ 06API · Programmatic access

API Reference#

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

DavisSN-UG: intraoperative microelectrode recordings in human substantia nigra and globus pallidus during a social ultimatum game (Davis et al., 2025)

Study:

nm000477 (NeMAR)

Author (year):

—

Canonical:

—

Also importable as: NM000477.

Modality: ieeg; Subject type: Unknown. Subjects: 24; recordings: 67; 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/nm000477 NeMAR dataset: https://nemar.org/dataexplorer/detail?dataset_id=nm000477 DOI: https://doi.org/10.82901/nemar.nm000477

Examples

>>> from eegdash.dataset import NM000477
>>> dataset = NM000477(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 FaceNo per-dataset mirror published yet — browse the EEGDash org listing for sibling datasets. See the datasets loader API.huggingface
Croissant 1.0Machine-readable JSON-LD descriptor — NM000477.croissant.json (MLCommons schema, ingestible by PyTorch / TensorFlow / JAX).mlcommons
Examples using EEGDashcurated · start here

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

Citation

Arianna Davis, Ofer Perl, Brian Kopell, Matthew Heflin, Salman Qasim, … (20). DavisSN-UG: intraoperative microelectrode recordings in human substantia nigra and globus pallidus during a social ultimatum game (Davis et al., 2025). 10.82901/nemar.nm000477

Provenance

¹Contributed to nemar in BIDS format.

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

³Persistent identifier: 10.82901/nemar.nm000477.

BIDS
BIDS 1.10.0
Sidecars
events · events.json · channels · eeg.json
Provenance
Machine-readable
Mirrors

See Also#