Skip to content

BI2012: two published NEMAR datasets (nm000202 and nm000260) hold the same recordings #1324

Open

Description

@bruAristimunha

Summary

Two published NEMAR datasets hold the same Brain Invaders 2012 recordings (Zenodo 2649006):

  • nm000202 (created 24 Mar 2026, tags v1.0.0 and v1.0.1): "P300 dataset BI2012 from a 'Brain Invaders' experiment"
  • nm000260 (created 26 Mar 2026, tags v1.0.1 to v1.0.5): "Van Veen, Barachant & Andreev 2012 — Building Brain Invaders: EEG data of an experimental validation (BI2012)"

BI2012 in MOABB points at nm000260 (nemar_id = "nm000260" in moabb/datasets/braininvaders.py, since #1085). Nothing in MOABB references nm000202.

What we compared

nm000202 nm000260
BIDS subjects 25 (sub-1 to sub-25) 23 (sub-3 to sub-25)
Recordings (BDF) 25, training only 46, training and online
Original MAT files none 25 (subjects 1–25)
EEG channels 16 17 (adds Fz, marked bad)
Sampling rate 128 Hz 128 Hz
Total recording time 2.51 h 7.12 h

Same signals: we decoded the 23 training recordings present in both and compared the 16 shared channels. 20 of 23 pairs are identical sample for sample. In the other 3 (subjects 5, 15 and 22), the largest difference is 0.1 µV and the lowest correlation is 0.9999999961. Every nm000202 training file has 128 extra samples (1 s) at the end.

Not byte-identical: no file is shared between the two (0 common annex keys or SHA-256 digests), because they come from different conversions.

So these are two exports of one cohort, not two studies.

Why it matters

  • Anything that counts NEMAR datasets (catalogues, cross-dataset benchmarks, subject totals) will count the same 25 people twice unless one deposit is marked as superseded.
  • Neither deposit fully contains the other. nm000202 has BIDS training data for subjects 1 and 2. nm000260 lacks those two in BIDS (only their MAT files), but adds the online sessions and the original MAT files.

Proposed actions

  1. Keep nm000260 as MOABB's source for BI2012. It is the more complete export.
  2. Check subjects 1 and 2. BI2012 lists subjects 1–25, but nm000260's BIDS tree starts at sub-3. Confirm the loader still gets subjects 1 and 2 (from the MAT files), or add them to the BIDS tree.
  3. Check the channel count. BI2012's metadata says 16 EEG channels; nm000260's sidecars have 17, including Fz marked bad. Confirm that the loader drops Fz, or update the metadata.
  4. nm000202: ask NEMAR to mark it as superseded by nm000260 (README note or related-identifier link), so catalogues don't count it twice. Don't delete it: it's published and has a DOI.

The full comparison (per-subject numbers, annex manifests) is available on request.

Activity

  1. added
    dataset
    on Oct 24, 2026
  2. bruAristimunha commented on Oct 24, 2026

    @bruAristimunha
    CollaboratorAuthor

    Read-only check of points 2 and 3 against the loader on develop (moabb/datasets/braininvaders.py, BI2012):

    2. Subjects 1 and 2. Not a gap for MOABB. BI2012 reads the original subject_NN/training.mat (and online.mat with online=True) through _bi_data_path, not the BIDS tree. nm000260's sourcedata/ holds training.mat for all 25 subjects (provenance lists subjects 1-25), so subjects 1 and 2 load from NEMAR like the others. Two follow-ups, neither blocking:

    • the BIDS side of nm000260 starts at sub-3 (no BIDS recordings for subjects 1-2); worth completing in the deposit, since non-MOABB users read BIDS;
    • sourcedata/ has no online.mat for any subject, so BI2012(online=True) still downloads from Zenodo 2649006 (the default online=False is unaffected).

    3. 16 vs 17 channels. Consistent, no change needed. The .mat files carry 17 EEG channels including Fz, which is the ground. The loader builds all 17, marks Fz bad (raw.info["bads"] = ["Fz"]) and then raw.pick_types(eeg=True, stim=True) excludes bad channels, so MOABB returns 16 EEG channels, as METADATA (channel_types={"eeg": 16}, ground="FZ") says. The nm000260 BIDS sidecars list the 17 recorded channels with Fz marked bad, which is the faithful BIDS representation; nm000202 dropped Fz instead (16 channels).

    Decoded-signal comparison of the 23 paired training recordings: identical on the 16 common channels for 20 subjects, sub-µV differences for 3 (5, 15, 22), and nm000202's files are 128 samples (1 s) longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dataset

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions