EEGdash›NeMAR›NM001020
Iss. 1020 · 97 subjects · 97 recordings · CC0-1.0
Dataset Brief · cerebral oxygenation and cerebral hemoglobin concentration in…

NM001020: fnirs dataset, 97 subjects#

cerebral oxygenation and cerebral hemoglobin concentration in children with cerebral malaria, uncomplicated malaria, and healthy children

Access recordings and metadata through EEGDash.

Citation: Ackerman, Hans (2023). cerebral oxygenation and cerebral hemoglobin concentration in children with cerebral malaria, uncomplicated malaria, and healthy children. 10.82901/nemar.nm001020

Modality: fnirs Subjects: 97 Recordings: 97 License: CC0-1.0 Source: nemar

Metadata: Complete (100%)

97-participant fNIRS dataset — cerebral oxygenation and cerebral hemoglobin concentration in children with cerebral malaria, uncomplicated malaria, and healthy children.

fNIRS · 1 ch50 Hz · mixedBIDS 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 NM001020

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

Filter by subject

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

Advanced query

dataset = NM001020(
    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{nm001020,
  title = {cerebral oxygenation and cerebral hemoglobin concentration in children with cerebral malaria, uncomplicated malaria, and healthy children},
  author = {Ackerman, Hans},
  doi = {10.82901/nemar.nm001020},
  url = {https://doi.org/10.82901/nemar.nm001020},
}
§ 02Study · The README

About This Dataset#

NEMAR BIDS-NIRS copy of a public data release (Harvard Dataverse doi:10.7910/DVN/JQDBIM), converted to SNIRF. Please cite the original release and paper.

DOI

cerebral oxygenation and cerebral hemoglobin concentration in children with cerebral malaria, uncomplicated malaria, and healthy children

Dataset type: derivative

  • The release holds device-computed total tissue hemoglobin concentration and hemoglobin oxygen saturation from a frequency-domain tissue oximeter, cut to one segment per child by the depositors; it does not hold light intensities.

  • The release’s folder is named raw_signal_segments; dataset_description.json says DatasetType “derivative” because the values are computed concentrations and selected segments.

Processing applied before release (as described by the source)

View full README

DOI

cerebral oxygenation and cerebral hemoglobin concentration in children with cerebral malaria, uncomplicated malaria, and healthy children

Dataset type: derivative

  • The release holds device-computed total tissue hemoglobin concentration and hemoglobin oxygen saturation from a frequency-domain tissue oximeter, cut to one segment per child by the depositors; it does not hold light intensities.

  • The release’s folder is named raw_signal_segments; dataset_description.json says DatasetType “derivative” because the values are computed concentrations and selected segments.

Processing applied before release (as described by the source)

  • Quoted from the paper (doi:10.1126/scitranslmed.adh4293, Methods): “Measurements were obtained using a NIRS ISS Oxiplex system (ISS, Champaign, Illinois) with one probe placed on the forehead and one probe placed over the gastrocnemius-soleus muscles of the lower leg. Each probe used a single detector and eight light emitters spaced 2.0, 2.5, 3.0, and 3.5 cm from the detector at wavelengths of 690 nm and 830 nm. This instrument used frequency-domain multi-distance spectroscopy to continuously measure light scattering and light absorption at both wavelengths to determine the concentrations of oxyhemoglobin and deoxyhemoglobin in tissue using the modified Beer-Lambert law. Data were acquired at a rate of 50 Hz for 30 minutes. Tissue hemoglobin concentration (Hb tot, uM) was calculated as the sum of oxyhemoglobin and deoxyhemoglobin concentrations; tissue hemoglobin oxygen saturation (Hb oxy, %) was calculated as the oxyhemoglobin concentration divided by total hemoglobin concentration and multiplied by 100%.”

  • “NIRS signals were processed by finding the longest segment of at least 200 seconds with variance less than 10000.”

Contents of this copy

  • 97 recordings from 97 children, one forehead (brain) segment each, 50 Hz in all but two files (25 Hz and 0.5 Hz as given by the Time column of those files), lengths from about 3 to 99 minutes.

  • Subject labels are the release’s own participant codes (for example TM0001CM01). The BIDS task label is the release’s Status value: cm cerebral malaria (42), um uncomplicated malaria (27), hv healthy (28); it is a clinical group, not a task. participants.tsv repeats it as clinical_status.

  • Signal: Hb_tot (total tissue hemoglobin). Where the release has a matching Hb_oxy file, it is stored as an auxiliary series named O2_sat (the paper defines Hb oxy as tissue hemoglobin oxygen saturation in %).

  • Not included: the muscle (leg) probe segments, clinical tables, figures and analysis code of the Dataverse record.

Channels, optodes and units

  • One channel per recording, written as S1_D1 with type MISC (BIDS has no type for total hemoglobin). S1 and D1 are placeholders: the paper describes a probe with one detector and eight emitters, and the release gives one computed value per sample.

  • optodes.tsv coordinates are n/a (probe on the forehead per the paper).

  • Units: the release files do not state a unit; uM is taken from the paper (“Hb tot, uM”).

Source and licence

  • Repository: Harvard Dataverse, https://doi.org/10.7910/DVN/JQDBIM, depositor Hans Ackerman (NIH)

  • Licence stated by Dataverse: CC0 1.0

  • Associated paper: Smith RL, et al. (2023) Increased brain microvascular hemoglobin concentrations in children with cerebral malaria. Sci Transl Med 15:eadh4293. doi:10.1126/scitranslmed.adh4293. Its data statement: “Text files of each NIRS recording, and MatLab and R code for data processing, visualization, and statistical analysis have been deposited in Harvard Dataverse https://doi.org/10.7910/DVN/JQDBIM.”

Ethics

  • “Study participants were enrolled on clinical protocol DMID 07-0055 entitled ‘Clinicopathological, magnetic resonance and electrophysiological correlates of cerebral malaria’ approved by the Ethics Committee of Malawi College of Medicine and the Biomedical and Health Institutional Review Board of Michigan State University.” (paper, Methods)

  • “Written informed consent was conducted by trained Malawian clinical research nurses using the first language of the participant and their family. The principles of the Declaration of Helsinki were upheld throughout this study and the clinical research activities were conducted in accordance with local regulations as well as US federal regulations.” (paper, Methods)

Conversion notes

  • Text tables were written to SNIRF as a processed HbT series (dataType 99999) with the saturation series as aux; values are unchanged.

  • No wavelengths are stored in the SNIRF files because the release holds concentrations, not intensities; readers that require wavelengths (for example mne.io.read_raw_snirf) will not open them, h5py or a SNIRF library will.

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

SNIRF container notes

  • Optode positions are stored as NaN in the SNIRF probe: the conversion kept only positions stored inside the original recording files, and these carried none (earlier versions of these files held zeros, which are not positions). Positions kept elsewhere in the original release (for example probe or layout files) may still be recovered.

  • mne.io.read_raw_snirf (MNE-Python 1.13.2) still does not open these files because of their content (a data type or chromophore set the released reader does not accept; see mne-tools/mne-python pull requests 14562 and 14608). h5py or a SNIRF library reads them; they pass the pysnirf2 validator.

NEMAR Metadata#

[![DOI](https://img.shields.io/badge/DOI-10.82901%2Fnemar.nm001020-blue)](https://doi.org/10.82901/nemar.nm001020) # cerebral oxygenation and cerebral hemoglobin concentration in children with cerebral malaria, uncomplicated malaria, and healthy children NEMAR BIDS-NIRS copy of a public data release (Harvard Dataverse doi:10.7910/DVN/JQDBIM), converted to SNIRF. Please cite the original release and paper. ## Dataset type: derivative - The release holds device-computed total tissue hemoglobin concentration and hemoglobin oxygen saturation from a frequency-domain tissue oximeter, cut to one segment per child by the depositors; it does not hold light intensities. - The release’s folder is named raw_signal_segments; dataset_description.json says DatasetType “derivative” because the values are computed concentrations and selected segments. ## Processing applied before release (as described by the source) - Quoted from the paper (doi:10.1126/scitranslmed.adh4293, Methods): “Measurements were obtained using a NIRS ISS Oxiplex system (ISS, Champaign, Illinois) with one probe placed on the forehead and one probe placed over the gastrocnemius-soleus muscles of the lower leg. Each probe used a single detector and eight light emitters spaced 2.0, 2.5, 3.0, and 3.5 cm from the detector at wavelengths of 690 nm and 830 nm. This instrument used frequency-domain multi-distance spectroscopy to continuously measure light scattering and light absorption at both wavelengths to determine the concentrations of oxyhemoglobin and deoxyhemoglobin in tissue using the modified Beer-Lambert law. Data were acquired at a rate of 50 Hz for 30 minutes. Tissue hemoglobin concentration (Hb tot, uM) was calculated as the sum of oxyhemoglobin and deoxyhemoglobin concentrations; tissue hemoglobin oxygen saturation (Hb oxy, %) was calculated as the oxyhemoglobin concentration divided by total hemoglobin concentration and multiplied by 100%.” - “NIRS signals were processed by finding the longest segment of at least 200 seconds with variance less than 10000.” ## Contents of this copy - 97 recordings from 97 children, one forehead (brain) segment each, 50 Hz in all but two files (25 Hz and 0.5 Hz as given by the Time column of those files), lengths from about 3 to 99 minutes. - Subject labels are the release’s own participant codes (for example TM0001CM01). The BIDS task label is the release’s Status value: cm cerebral malaria (42), um uncomplicated malaria (27), hv healthy (28); it is a clinical group, not a task. participants.tsv repeats it as clinical_status. - Signal: Hb_tot (total tissue hemoglobin). Where the release has a matching Hb_oxy file, it is stored as an auxiliary series named O2_sat (the paper defines Hb oxy as tissue hemoglobin oxygen saturation in %). - Not included: the muscle (leg) probe segments, clinical tables, figures and analysis code of the Dataverse record. ## Channels, optodes and units - One channel per recording, written as S1_D1 with type MISC (BIDS has no type for total hemoglobin). S1 and D1 are placeholders: the paper describes a probe with one detector and eight emitters, and the release gives one computed value per sample. - optodes.tsv coordinates are n/a (probe on the forehead per the paper). - Units: the release files do not state a unit; uM is taken from the paper (“Hb tot, uM”). ## Source and licence - Repository: Harvard Dataverse, https://doi.org/10.7910/DVN/JQDBIM, depositor Hans Ackerman (NIH) - Licence stated by Dataverse: CC0 1.0 - Associated paper: Smith RL, et al. (2023) Increased brain microvascular hemoglobin concentrations in children with cerebral malaria. Sci Transl Med 15:eadh4293. doi:10.1126/scitranslmed.adh4293. Its data statement: “Text files of each NIRS recording, and MatLab and R code for data processing, visualization, and statistical analysis have been deposited in Harvard Dataverse https://doi.org/10.7910/DVN/JQDBIM.” ## Ethics - “Study participants were enrolled on clinical protocol DMID 07-0055 entitled ‘Clinicopathological, magnetic resonance and electrophysiological correlates of cerebral malaria’ approved by the Ethics Committee of Malawi College of Medicine and the Biomedical and Health Institutional Review Board of Michigan State University.” (paper, Methods) - “Written informed consent was conducted by trained Malawian clinical research nurses using the first language of the participant and their family. The principles of the Declaration of Helsinki were upheld throughout this study and the clinical research activities were conducted in accordance with local regulations as well as US federal regulations.” (paper, Methods) ## Conversion notes - Text tables were written to SNIRF as a processed HbT series (dataType 99999) with the saturation series as aux; values are unchanged. - No wavelengths are stored in the SNIRF files because the release holds concentrations, not intensities; readers that require wavelengths (for example mne.io.read_raw_snirf) will not open them, h5py or a SNIRF library will. - Acquisition dates are not kept (SNIRF MeasurementDate is the placeholder 1900-01-01). ## SNIRF container notes - Optode positions are stored as NaN in the SNIRF probe: the conversion kept only positions stored inside the original recording files, and these carried none (earlier versions of these files held zeros, which are not positions). Positions kept elsewhere in the original release (for example probe or layout files) may still be recovered. - mne.io.read_raw_snirf (MNE-Python 1.13.2) still does not open these files because of their content (a data type or chromophore set the released reader does not accept; see mne-tools/mne-python pull requests 14562 and 14608). h5py or a SNIRF library reads them; they pass the pysnirf2 validator.

License: CC0-1.0

Authors:

  • Ackerman, Hans

Versions:

Version

DOI

Released

current

10.82901/nemar.nm001020

§ 03Cohort · Participants

Cohort#

Dataset Statistics#

Channel counts: 1 ch (n=97 recordings)

Sampling frequencies (Hz)

0.52550.050

Total recording duration: 42 h

§ 04Signal · Electrodes & trace

Signal · Electrodes & live trace#

Fig. 01 Signal & montage 1 ch · fNIRS · 50 Hz · mixed · 97 subjects, 97 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 — NM001020
§ 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

NM001020

Title

cerebral oxygenation and cerebral hemoglobin concentration in children with cerebral malaria, uncomplicated malaria, and healthy children

Author (year)

—

Canonical

—

Importable as

NM001020

Year

2023

Authors

Ackerman, Hans

License

CC0-1.0

Citation / DOI

10.82901/nemar.nm001020

Source links

OpenNeuro | NeMAR | Source URL

Copy-paste BibTeX
@dataset{nm001020,
  title = {cerebral oxygenation and cerebral hemoglobin concentration in children with cerebral malaria, uncomplicated malaria, and healthy children},
  author = {Ackerman, Hans},
  doi = {10.82901/nemar.nm001020},
  url = {https://doi.org/10.82901/nemar.nm001020},
}
§ 06API · Programmatic access

API Reference#

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

cerebral oxygenation and cerebral hemoglobin concentration in children with cerebral malaria, uncomplicated malaria, and healthy children

Study:

nm001020 (NeMAR)

Author (year):

—

Canonical:

—

Also importable as: NM001020.

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

Examples

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

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

Citation

Ackerman, Hans (2023). cerebral oxygenation and cerebral hemoglobin concentration in children with cerebral malaria, uncomplicated malaria, and healthy children. 10.82901/nemar.nm001020

Provenance

¹Contributed to nemar in BIDS format.

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

³Persistent identifier: 10.82901/nemar.nm001020.

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

See Also#