EEGdash›NeMAR›NM001041
Iss. 1041 · 116 subjects · 200 recordings · CC-BY-4.0
Dataset Brief · Coupling of Prefrontal Brain Activity and Respiratory Sinus A…

NM001041: fnirs dataset, 116 subjects#

Coupling of Prefrontal Brain Activity and Respiratory Sinus Arrhythmia in Infants and Adults

Access recordings and metadata through EEGDash.

Citation: Trinh Nguyen, Stefanie Hoehl, Bennett I. Bertenthal, Drew Abney (2022). Coupling of Prefrontal Brain Activity and Respiratory Sinus Arrhythmia in Infants and Adults. 10.82901/nemar.nm001041

Modality: fnirs Subjects: 116 Recordings: 200 License: CC-BY-4.0 Source: nemar

Metadata: Complete (100%)

116-participant fNIRS dataset — Coupling of Prefrontal Brain Activity and Respiratory Sinus Arrhythmia in Infants and Adults.

fNIRS · 44 ch8 HzBIDS 1.10.02 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 NM001041

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

Filter by subject

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

Advanced query

dataset = NM001041(
    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{nm001041,
  title = {Coupling of Prefrontal Brain Activity and Respiratory Sinus Arrhythmia in Infants and Adults},
  author = {Trinh Nguyen and Stefanie Hoehl and Bennett I. Bertenthal and Drew Abney},
  doi = {10.82901/nemar.nm001041},
  url = {https://doi.org/10.82901/nemar.nm001041},
}
§ 02Study · The README

About This Dataset#

NEMAR BIDS-NIRS copy of a public data release (OSF project sr6hf), converted to SNIRF. Please cite the original release and paper.

DOI

Coupling of Prefrontal Brain Activity and Respiratory Sinus Arrhythmia in Infants and Adults

Dataset type: derivative

  • The release holds preprocessed haemoglobin time series (HbO and HbR), not raw intensities. The paper’s data statement: “Preprocessed fNIRS and RSA data, data processing and analysis scripts are made available on OSF: https://osf.io/sr6hf/”.

  • dataset_description.json therefore says DatasetType “derivative”, with the upstream processing in GeneratedBy.

Processing applied before release (as described by the source)

View full README

DOI

Coupling of Prefrontal Brain Activity and Respiratory Sinus Arrhythmia in Infants and Adults

Dataset type: derivative

  • The release holds preprocessed haemoglobin time series (HbO and HbR), not raw intensities. The paper’s data statement: “Preprocessed fNIRS and RSA data, data processing and analysis scripts are made available on OSF: https://osf.io/sr6hf/”.

  • dataset_description.json therefore says DatasetType “derivative”, with the upstream processing in GeneratedBy.

Processing applied before release (as described by the source)

  • Quoted from the associated paper (doi:10.1016/j.dcn.2022.101184, section 2.6.1): “fNIRS measurements were processed using MATLAB-based functions derived from Homer 2. Raw data were automatically pruned using the enprunechannels function (dRange = [0.03 2.5]; SNRThresh = 10) and subsequently converted into optical density. Next, optical density data were motion-corrected with a wavelet-based algorithm with an interquartile range of 1.5. Motion-corrected time series were further visually inspected during a quality check procedure. We checked frequency-time plots of time-series for integrity, a clearly visible heart band, and visually observable motion artifacts resulting in the removal of 22.87% of channels of infants and caregivers. Then slow drifts and physiological noise were removed from the signals using a band-pass second-order Butterworth filter with cutoffs of 0.01 and 0.5 Hz and a slope of 12 dB per octave. The filtered data were converted to HbO and HbR values (uMol) based on the modified Beer-Lambert Law.”

  • Acquisition, from the same paper: two NIRSport 8-8 devices (NIRx), wavelengths 760 and 850 nm, sampling frequency 7.81 Hz, 8 sources and 8 detectors per probe set, optode distances of about 2.3 cm (infants) and 3 cm (mothers). The paper text says this gave 16 measurement channels; the release files hold 22 channels per participant.

  • The paper’s further steps for its own analysis (down-sampling to 5 Hz, RSA processing) are not applied to the released fNIRS files, which are at 7.8125 Hz.

Contents of this copy

  • 200 recordings from 116 participants: task distalwatching (106 recordings, release folder fNIRS_DW) and task freeplay (94 recordings, release folder fNIRS_FP). Each recording is the single segment stored in RNB_d<dyad>_02b_trial_002.mat (FieldTrip structure data_trial), about 90 s at 7.8125 Hz. The task labels are derived from the release folder names (DW, FP) and the paper’s condition names.

  • Subject labels state the role: sub-d<dyad>infant holds data_trial.sub1, which the release’s own scripts read as the infant (fNIRS_DW/process_out_infant.m); sub-d<dyad>mother holds data_trial.sub2, the mother (process_out_mother.m). Up to version 1.0.2 the labels were sub-d<dyad>m (infant) and sub-d<dyad>i (mother); column label_before_1.0.3 of participants.tsv gives the old label.

  • Overlap with another NEMAR dataset: 51 of the 53 files in the release folder fNIRS_FP are byte-identical (same MD5) to files of the OSF project fx4ud (“Your turn, my turn”, NEMAR nm001019, same study cohort), and 4 fNIRS_DW files are identical to fx4ud files.

  • Not included: the RSA/ECG inter-beat-interval tables, analysis outputs and scripts of the OSF project.

Channels, optodes and units

  • The release stores 22 channels per participant with no source-detector pairing and no optode positions. Channel <k> is written as S<k>_D<k>: S<k> and D<k> are placeholder labels that index the source channel, not physical optodes. The optode counts in the *_nirs.json sidecars (22/22) count these placeholders; the paper reports 8 sources and 8 detectors per probe set.

  • Region grouping used by the release’s scripts (process_out_*.m): channels 1-4 left IFG, 5-9 left lPFC, 10-13 mPFC, 14-18 right lPFC, 19-22 right IFG.

  • Channels rejected by the depositors are NaN in the release; they are kept as NaN and marked bad in channels.tsv.

  • optodes.tsv coordinates are n/a.

  • Units: the release files do not state a unit. The paper says the data were converted to “HbO and HbR values (uMol)”. channels.tsv units are n/a. The SNIRF SubjectID repeats the subject label; it was written by the converter and is not a statement of the source.

Source and licence

  • Repository: OSF, https://osf.io/sr6hf/ (doi:10.17605/OSF.IO/SR6HF)

  • Creators (OSF contributors): Trinh Nguyen, Stefanie Hoehl, Bennett I. Bertenthal, Drew Abney

  • Licence stated by the OSF project: CC-By Attribution 4.0 International (CC-BY-4.0)

  • Papers: Nguyen T, Hoehl S, Bertenthal BI, Abney DH (2022) Coupling between prefrontal brain activity and respiratory sinus arrhythmia in infants and adults. Dev Cogn Neurosci 58:101184. doi:10.1016/j.dcn.2022.101184; Stage 1 registered report doi:10.1016/j.dcn.2021.101047

Ethics

  • “Ethics approval was granted by the ethics committee of the University of Vienna (00352).” (Stage 1 registered report, Ethics approval statement)

Conversion notes

  • FieldTrip .mat (HDF5) segments were written to SNIRF as processed HbO/HbR (dataType 99999) without further signal processing.

  • Acquisition dates are not kept (SNIRF MeasurementDate is the placeholder 1900-01-01).

SNIRF container notes

  • /nirs/probe/wavelengths holds [0, 0]. The source does not state the wavelengths. The two zeros are a placeholder, not acquisition values; they are present only because some readers (for example mne.io.read_raw_snirf) require the field before they open a file of concentrations.

  • Optode positions are not given by the source and are stored as NaN in the SNIRF probe.

  • No dataUnit is stored: the source does not state the unit of the concentration values. A reader that assumes a default unit (MNE-Python assumes mol/l) applies its own assumption.

  • All 200 files open with mne.io.read_raw_snirf (MNE-Python 1.13.2) and pass the pysnirf2 validator; the data arrays are identical to the previous version.

Relabelling (version 1.0.3, 2026-11-28)

  • Subjects were relabelled so that the label states the role (sub-d<dyad>infant, sub-d<dyad>mother). Files were renamed only; signal files are unchanged. The SubjectID tag inside each SNIRF file still holds the old label and should be ignored.

NEMAR Metadata#

[![DOI](https://img.shields.io/badge/DOI-10.82901%2Fnemar.nm001041-blue)](https://doi.org/10.82901/nemar.nm001041) # Coupling of Prefrontal Brain Activity and Respiratory Sinus Arrhythmia in Infants and Adults NEMAR BIDS-NIRS copy of a public data release (OSF project sr6hf), converted to SNIRF. Please cite the original release and paper. ## Dataset type: derivative - The release holds preprocessed haemoglobin time series (HbO and HbR), not raw intensities. The paper’s data statement: “Preprocessed fNIRS and RSA data, data processing and analysis scripts are made available on OSF: https://osf.io/sr6hf/”. - dataset_description.json therefore says DatasetType “derivative”, with the upstream processing in GeneratedBy. ## Processing applied before release (as described by the source) - Quoted from the associated paper (doi:10.1016/j.dcn.2022.101184, section 2.6.1): “fNIRS measurements were processed using MATLAB-based functions derived from Homer 2. Raw data were automatically pruned using the enprunechannels function (dRange = [0.03 2.5]; SNRThresh = 10) and subsequently converted into optical density. Next, optical density data were motion-corrected with a wavelet-based algorithm with an interquartile range of 1.5. Motion-corrected time series were further visually inspected during a quality check procedure. We checked frequency-time plots of time-series for integrity, a clearly visible heart band, and visually observable motion artifacts resulting in the removal of 22.87% of channels of infants and caregivers. Then slow drifts and physiological noise were removed from the signals using a band-pass second-order Butterworth filter with cutoffs of 0.01 and 0.5 Hz and a slope of 12 dB per octave. The filtered data were converted to HbO and HbR values (uMol) based on the modified Beer-Lambert Law.” - Acquisition, from the same paper: two NIRSport 8-8 devices (NIRx), wavelengths 760 and 850 nm, sampling frequency 7.81 Hz, 8 sources and 8 detectors per probe set, optode distances of about 2.3 cm (infants) and 3 cm (mothers). The paper text says this gave 16 measurement channels; the release files hold 22 channels per participant. - The paper’s further steps for its own analysis (down-sampling to 5 Hz, RSA processing) are not applied to the released fNIRS files, which are at 7.8125 Hz. ## Contents of this copy - 200 recordings from 116 participants: task distalwatching (106 recordings, release folder fNIRS_DW) and task freeplay (94 recordings, release folder fNIRS_FP). Each recording is the single segment stored in RNB_d<dyad>_02b_trial_002.mat (FieldTrip structure data_trial), about 90 s at 7.8125 Hz. The task labels are derived from the release folder names (DW, FP) and the paper’s condition names. - Subject labels state the role: sub-d<dyad>infant holds data_trial.sub1, which the release’s own scripts read as the infant (fNIRS_DW/process_out_infant.m); sub-d<dyad>mother holds data_trial.sub2, the mother (process_out_mother.m). Up to version 1.0.2 the labels were sub-d<dyad>m (infant) and sub-d<dyad>i (mother); column label_before_1.0.3 of participants.tsv gives the old label. - Overlap with another NEMAR dataset: 51 of the 53 files in the release folder fNIRS_FP are byte-identical (same MD5) to files of the OSF project fx4ud (“Your turn, my turn”, NEMAR nm001019, same study cohort), and 4 fNIRS_DW files are identical to fx4ud files. - Not included: the RSA/ECG inter-beat-interval tables, analysis outputs and scripts of the OSF project. ## Channels, optodes and units - The release stores 22 channels per participant with no source-detector pairing and no optode positions. Channel <k> is written as S<k>_D<k>: S<k> and D<k> are placeholder labels that index the source channel, not physical optodes. The optode counts in the _nirs.json sidecars (22/22) count these placeholders; the paper reports 8 sources and 8 detectors per probe set. - Region grouping used by the release’s scripts (process_out_.m): channels 1-4 left IFG, 5-9 left lPFC, 10-13 mPFC, 14-18 right lPFC, 19-22 right IFG. - Channels rejected by the depositors are NaN in the release; they are kept as NaN and marked bad in channels.tsv. - optodes.tsv coordinates are n/a. - Units: the release files do not state a unit. The paper says the data were converted to “HbO and HbR values (uMol)”. channels.tsv units are n/a. The SNIRF SubjectID repeats the subject label; it was written by the converter and is not a statement of the source. ## Source and licence - Repository: OSF, https://osf.io/sr6hf/ (doi:10.17605/OSF.IO/SR6HF) - Creators (OSF contributors): Trinh Nguyen, Stefanie Hoehl, Bennett I. Bertenthal, Drew Abney - Licence stated by the OSF project: CC-By Attribution 4.0 International (CC-BY-4.0) - Papers: Nguyen T, Hoehl S, Bertenthal BI, Abney DH (2022) Coupling between prefrontal brain activity and respiratory sinus arrhythmia in infants and adults. Dev Cogn Neurosci 58:101184. doi:10.1016/j.dcn.2022.101184; Stage 1 registered report doi:10.1016/j.dcn.2021.101047 ## Ethics - “Ethics approval was granted by the ethics committee of the University of Vienna (00352).” (Stage 1 registered report, Ethics approval statement) ## Conversion notes - FieldTrip .mat (HDF5) segments were written to SNIRF as processed HbO/HbR (dataType 99999) without further signal processing. - Acquisition dates are not kept (SNIRF MeasurementDate is the placeholder 1900-01-01). ## SNIRF container notes - /nirs/probe/wavelengths holds [0, 0]. The source does not state the wavelengths. The two zeros are a placeholder, not acquisition values; they are present only because some readers (for example mne.io.read_raw_snirf) require the field before they open a file of concentrations. - Optode positions are not given by the source and are stored as NaN in the SNIRF probe. - No dataUnit is stored: the source does not state the unit of the concentration values. A reader that assumes a default unit (MNE-Python assumes mol/l) applies its own assumption. - All 200 files open with mne.io.read_raw_snirf (MNE-Python 1.13.2) and pass the pysnirf2 validator; the data arrays are identical to the previous version. ## Relabelling (version 1.0.3, 2026-11-28) - Subjects were relabelled so that the label states the role (sub-d<dyad>infant, sub-d<dyad>mother). Files were renamed only; signal files are unchanged. The SubjectID tag inside each SNIRF file still holds the old label and should be ignored.

License: CC-BY-4.0

Authors:

  • Trinh Nguyen

  • Stefanie Hoehl

  • Bennett I. Bertenthal

  • Drew Abney

Versions:

Version

DOI

Released

current

10.82901/nemar.nm001041

§ 03Cohort · Participants

Cohort#

Dataset Statistics#

Channel counts: 44 ch (n=200 recordings)

Sampling frequencies (Hz)

7.87.8

Total recording duration: 5 h 7 min

§ 04Signal · Electrodes & trace

Signal · Electrodes & live trace#

Fig. 01 Signal & montage 44 ch · fNIRS · 8 Hz · 116 subjects, 200 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 — NM001041
§ 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

NM001041

Title

Coupling of Prefrontal Brain Activity and Respiratory Sinus Arrhythmia in Infants and Adults

Author (year)

—

Canonical

—

Importable as

NM001041

Year

2022

Authors

Trinh Nguyen, Stefanie Hoehl, Bennett I. Bertenthal, Drew Abney

License

CC-BY-4.0

Citation / DOI

10.82901/nemar.nm001041

Source links

OpenNeuro | NeMAR | Source URL

Copy-paste BibTeX
@dataset{nm001041,
  title = {Coupling of Prefrontal Brain Activity and Respiratory Sinus Arrhythmia in Infants and Adults},
  author = {Trinh Nguyen and Stefanie Hoehl and Bennett I. Bertenthal and Drew Abney},
  doi = {10.82901/nemar.nm001041},
  url = {https://doi.org/10.82901/nemar.nm001041},
}
§ 06API · Programmatic access

API Reference#

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

Coupling of Prefrontal Brain Activity and Respiratory Sinus Arrhythmia in Infants and Adults

Study:

nm001041 (NeMAR)

Author (year):

—

Canonical:

—

Also importable as: NM001041.

Modality: fnirs; Subject type: Unknown. Subjects: 116; recordings: 200; tasks: 2.

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

Examples

>>> from eegdash.dataset import NM001041
>>> dataset = NM001041(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 — NM001041.croissant.json (MLCommons schema, ingestible by PyTorch / TensorFlow / JAX).mlcommons
Examples using EEGDashcurated · start here

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

Citation

Trinh Nguyen, Stefanie Hoehl, Bennett I. Bertenthal, Drew Abney (2022). Coupling of Prefrontal Brain Activity and Respiratory Sinus Arrhythmia in Infants and Adults. 10.82901/nemar.nm001041

Provenance

¹Contributed to nemar in BIDS format.

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

³Persistent identifier: 10.82901/nemar.nm001041.

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

See Also#