EEGdash›NeMAR›NM000998
Iss. 998 · 10 subjects · 2099 recordings · CC-BY-4.0
Dataset Brief · Additional Data for Safety Decision-Making for Autonomous Veh…

NM000998: fnirs dataset, 10 subjects#

Additional Data for Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS.zip

Access recordings and metadata through EEGDash.

Citation: Haoyi Zheng (—). Additional Data for Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS.zip. 10.82901/nemar.nm000998

Modality: fnirs Subjects: 10 Recordings: 2099 License: CC-BY-4.0 Source: nemar

Metadata: Complete (100%)

10-participant fNIRS dataset — Additional Data for Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS.zip.

fNIRS · 16 ch50 HzBIDS 1.10.03 tasks
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 NM000998

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

Filter by subject

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

Advanced query

dataset = NM000998(
    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{nm000998,
  title = {Additional Data for Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS.zip},
  author = {Haoyi Zheng},
  doi = {10.82901/nemar.nm000998},
  url = {https://doi.org/10.82901/nemar.nm000998},
}
§ 02Study · The README

About This Dataset#

Functional near-infrared spectroscopy (fNIRS) slices from 10 participants who watched simulated autonomous-driving scenarios and

pressed a button when they perceived the situation as risky. Released by Haoyi Zheng on figshare (https://doi.org/10.6084/m9.figshare.28528001, version 2, CC BY 4.0) as “the additional data for reproduction of results and figures in the paper ‘Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS’” (https://doi.org/10.34133/cbsystems.0205).

This is a BIDS copy of the fNIRS arrays of that release. The dataset name is the title of the source record.

DOI

Additional Data for Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS.zip

What the source contains, and what is here

The source holds oxygenated (O2Hb) and deoxygenated (HHb) haemoglobin concentration changes for 8 channels, as NumPy arrays. It does not hold raw light intensities and it does not hold continuous recordings. For that reason the dataset is typed as a BIDS derivative (DatasetType: derivative); GeneratedBy in dataset_description.json quotes the paper’s description of the processing. - Three scenarios, one BIDS task each: task-aeb (autonomous emergency braking (AEB) scenario), task-cutin (front car cutting-in scenario), task-ped (pedestrian crossing scenario).

View full README

DOI

Additional Data for Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS.zip

What the source contains, and what is here

The source holds oxygenated (O2Hb) and deoxygenated (HHb) haemoglobin concentration changes for 8 channels, as NumPy arrays. It does not hold raw light intensities and it does not hold continuous recordings. For that reason the dataset is typed as a BIDS derivative (DatasetType: derivative); GeneratedBy in dataset_description.json quotes the paper’s description of the processing. - Three scenarios, one BIDS task each: task-aeb (autonomous emergency braking (AEB) scenario), task-cutin (front car cutting-in scenario), task-ped (pedestrian crossing scenario).

Each participant has 30 episodes per scenario in the source.

  • For each episode the source stores one 5 s slice (250 samples) per time step (“numerous 5-second slices of fNIRS data were gathered from 8 channels of our device, saved as 2 arrays (one for HHb and the other for O2Hb) with the dimensions of 8 x 250”, associated paper). Consecutive slices cover almost the same 5 s. In this release none of the 174793 consecutive slice pairs is an exact shifted copy of its predecessor, so a continuous recording cannot be rebuilt from the slices and none is rebuilt here.

  • Each run is ONE slice, written unchanged, with RecordingType “epoched”. Runs are separate segments; the time between them is not in the release.

  • Of the 175693 slices in the source, 2099 are in this copy. Consecutive slices are best aligned by a shift of about one sample (median best-correlation shift 1), so they are near-copies of each other. The first slice of each episode is kept; a later slice is kept when it no longer overlaps the previously kept slice (the best-aligning shifts are added up until they reach 250 samples); and the last slice of each episode is always kept, so that the end of the episode is not lost. The last slice therefore usually overlaps the slice kept before it in time. This selection is a choice of this conversion, made to avoid publishing 175 thousand near-identical segments; the slices left out remain available at the source record, and source_window in events.tsv gives the position of each kept slice in the source array.

  • run-EEKK: EE is the episode (01 to 30), KK counts the kept slices of that episode (the highest KK is the last slice). *_events.tsv gives the label the source stores for the slice (button_not_pushed = 0, button_pushed = 1) and the position of the slice in the source arrays (source_episode, source_window, both 0-based).

What the source states, and what it does not

  • Device, from the associated paper: “an OctaMon 2 x 4 channel (Artinis, the Netherlands) continuous wave (CW) NIRS device, consisting of 8 active channels (8 light-emitting diodes as transmitters Tx1 to Tx8, along with 2 photodiodes as detectors Rx1 and Rx2)”, nominal wavelengths 760 and 850 nm. The SNIRF wavelength array holds these two nominal values from the paper.

  • Which transmitter and receiver form each of the 8 array channels is not stated, and optode positions are not given. Channel k is written as the nominal pair S<k>_D<k>; these indices are labels only. Optode coordinates are n/a (NaN in the SNIRF arrays).

  • The unit of the concentration values is not stated; channels.tsv has n/a.

  • Sampling rate 50 Hz: the paper states that the signal was resampled to 50 Hz and that a slice is 5 s = 250 samples.

  • The paper describes three processing steps (baseline correction with 20 s of resting data, resampling to 50 Hz with cubic spline interpolation, and a double exponential moving average filter). It does not say explicitly whether the released slices were stored before or after the filter.

  • The paper reports 10 participants (5 males and 5 females, aged 18 to 29). The release numbers the files 1 to 10 and gives no per-participant age or sex, so participants.tsv lists identifiers only.

Not converted

classifier_acc.csv (classifier accuracies, an analysis result) is not part of this copy.

Ethics approval

This study complied with the Declaration of Helsinki and later amendments of it. The content and procedures of this study were approved by the Institutional Review Board of Tsinghua University.

(Quoted from the associated paper, https://doi.org/10.34133/cbsystems.0205, section “Ethics statement”.)

License and citation

CC-BY-4.0. Please cite the source dataset (https://doi.org/10.6084/m9.figshare.28528001) and the associated paper (https://doi.org/10.34133/cbsystems.0205).

NEMAR Metadata#

[![DOI](https://img.shields.io/badge/DOI-10.82901%2Fnemar.nm000998-blue)](https://doi.org/10.82901/nemar.nm000998) # Additional Data for Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS.zip Functional near-infrared spectroscopy (fNIRS) slices from 10 participants who watched simulated autonomous-driving scenarios and pressed a button when they perceived the situation as risky. Released by Haoyi Zheng on figshare (https://doi.org/10.6084/m9.figshare.28528001, version 2, CC BY 4.0) as “the additional data for reproduction of results and figures in the paper ‘Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS’” (https://doi.org/10.34133/cbsystems.0205). This is a BIDS copy of the fNIRS arrays of that release. The dataset name is the title of the source record. ## What the source contains, and what is here The source holds oxygenated (O2Hb) and deoxygenated (HHb) haemoglobin concentration changes for 8 channels, as NumPy arrays. It does not hold raw light intensities and it does not hold continuous recordings. For that reason the dataset is typed as a BIDS derivative (DatasetType: derivative); GeneratedBy in dataset_description.json quotes the paper’s description of the processing. - Three scenarios, one BIDS task each: task-aeb (autonomous emergency braking (AEB) scenario), task-cutin (front car cutting-in scenario), task-ped (pedestrian crossing scenario).

Each participant has 30 episodes per scenario in the source.

  • For each episode the source stores one 5 s slice (250 samples) per time step (“numerous 5-second slices of fNIRS data were gathered from 8 channels of our device, saved as 2 arrays (one for HHb and the other for O2Hb) with the dimensions of 8 x 250”, associated paper). Consecutive slices cover almost the same 5 s. In this release none of the 174793 consecutive slice pairs is an exact shifted copy of its predecessor, so a continuous recording cannot be rebuilt from the slices and none is rebuilt here.

  • Each run is ONE slice, written unchanged, with RecordingType “epoched”. Runs are separate segments; the time between them is not in the release.

  • Of the 175693 slices in the source, 2099 are in this copy. Consecutive slices are best aligned by a shift of about one sample (median best-correlation shift 1), so they are near-copies of each other. The first slice of each episode is kept; a later slice is kept when it no longer overlaps the previously kept slice (the best-aligning shifts are added up until they reach 250 samples); and the last slice of each episode is always kept, so that the end of the episode is not lost. The last slice therefore usually overlaps the slice kept before it in time. This selection is a choice of this conversion, made to avoid publishing 175 thousand near-identical segments; the slices left out remain available at the source record, and source_window in events.tsv gives the position of each kept slice in the source array.

  • run-EEKK: EE is the episode (01 to 30), KK counts the kept slices of that episode (the highest KK is the last slice). *_events.tsv gives the label the source stores for the slice (button_not_pushed = 0, button_pushed = 1) and the position of the slice in the source arrays (source_episode, source_window, both 0-based).

## What the source states, and what it does not - Device, from the associated paper: “an OctaMon 2 x 4 channel (Artinis, the Netherlands) continuous wave (CW) NIRS device,

consisting of 8 active channels (8 light-emitting diodes as transmitters Tx1 to Tx8, along with 2 photodiodes as detectors Rx1 and Rx2)”, nominal wavelengths 760 and 850 nm. The SNIRF wavelength array holds these two nominal values from the paper.

  • Which transmitter and receiver form each of the 8 array channels is not stated, and optode positions are not given. Channel k is written as the nominal pair S<k>_D<k>; these indices are labels only. Optode coordinates are n/a (NaN in the SNIRF arrays).

  • The unit of the concentration values is not stated; channels.tsv has n/a.

  • Sampling rate 50 Hz: the paper states that the signal was resampled to 50 Hz and that a slice is 5 s = 250 samples.

  • The paper describes three processing steps (baseline correction with 20 s of resting data, resampling to 50 Hz with cubic spline interpolation, and a double exponential moving average filter). It does not say explicitly whether the released slices were stored before or after the filter.

  • The paper reports 10 participants (5 males and 5 females, aged 18 to 29). The release numbers the files 1 to 10 and gives no per-participant age or sex, so participants.tsv lists identifiers only.

## Not converted classifier_acc.csv (classifier accuracies, an analysis result) is not part of this copy. ## Ethics approval > This study complied with the Declaration of Helsinki and later amendments of it. The content and procedures of this study were approved by the Institutional Review Board of Tsinghua University. (Quoted from the associated paper, https://doi.org/10.34133/cbsystems.0205, section “Ethics statement”.) ## License and citation CC-BY-4.0. Please cite the source dataset (https://doi.org/10.6084/m9.figshare.28528001) and the associated paper (https://doi.org/10.34133/cbsystems.0205).

License: CC-BY-4.0

Authors:

  • Haoyi Zheng

Versions:

Version

DOI

Released

current

10.82901/nemar.nm000998

§ 03Cohort · Participants

Cohort#

Dataset Statistics#

Channel counts: 16 ch (n=2099 recordings)

Sampling frequencies: 50.0 Hz (n=2099 recordings)

Total recording duration: 2 h 54 min

§ 04Signal · Electrodes & trace

Signal · Electrodes & live trace#

Fig. 01 Signal & montage 16 ch · fNIRS · 50 Hz · 10 subjects, 2099 recordings

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

NM000998

Title

Additional Data for Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS.zip

Author (year)

—

Canonical

—

Importable as

NM000998

Year

—

Authors

Haoyi Zheng

License

CC-BY-4.0

Citation / DOI

10.82901/nemar.nm000998

Source links

OpenNeuro | NeMAR | Source URL

Copy-paste BibTeX
@dataset{nm000998,
  title = {Additional Data for Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS.zip},
  author = {Haoyi Zheng},
  doi = {10.82901/nemar.nm000998},
  url = {https://doi.org/10.82901/nemar.nm000998},
}
§ 06API · Programmatic access

API Reference#

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

Additional Data for Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS.zip

Study:

nm000998 (NeMAR)

Author (year):

—

Canonical:

—

Also importable as: NM000998.

Modality: fnirs; Subject type: Unknown. Subjects: 10; recordings: 2099; tasks: 3.

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/nm000998 NeMAR dataset: https://nemar.org/dataexplorer/detail?dataset_id=nm000998 DOI: https://doi.org/10.82901/nemar.nm000998

Examples

>>> from eegdash.dataset import NM000998
>>> dataset = NM000998(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, _check_subdirs: bool = True)[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. If a dataset still reads its data lazily from one of them, a ValueError is raised before anything is deleted: load the data into memory first (preload=True) or save to another directory.

  • 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 — NM000998.croissant.json (MLCommons schema, ingestible by PyTorch / TensorFlow / JAX).mlcommons
Examples using EEGDashcurated · start here

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

Citation

Haoyi Zheng (n.d.). Additional Data for Safety Decision-Making for Autonomous Vehicles Integrating Passenger Physiological States by fNIRS.zip. 10.82901/nemar.nm000998

Provenance

¹Contributed to nemar in BIDS format.

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

³Persistent identifier: 10.82901/nemar.nm000998.

BIDS
BIDS 1.10.0
Sidecars
events · events.json · channels · optodes · coordsystem · nirs.json
Provenance
Machine-readable
Mirrors

See Also#