Repository navigation
Description
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
- Keep nm000260 as MOABB's source for
BI2012. It is the more complete export. - Check subjects 1 and 2.
BI2012lists 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. - 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. - 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
bruAristimunha commentedon Oct 24, 2026
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.
BI2012reads the originalsubject_NN/training.mat(andonline.matwithonline=True) through_bi_data_path, not the BIDS tree. nm000260'ssourcedata/holdstraining.matfor all 25 subjects (provenance lists subjects 1-25), so subjects 1 and 2 load from NEMAR like the others. Two follow-ups, neither blocking:sub-3(no BIDS recordings for subjects 1-2); worth completing in the deposit, since non-MOABB users read BIDS;sourcedata/has noonline.matfor any subject, soBI2012(online=True)still downloads from Zenodo 2649006 (the defaultonline=Falseis unaffected).3. 16 vs 17 channels. Consistent, no change needed. The
.matfiles carry 17 EEG channels includingFz, which is the ground. The loader builds all 17, marksFzbad (raw.info["bads"] = ["Fz"]) and thenraw.pick_types(eeg=True, stim=True)excludes bad channels, so MOABB returns 16 EEG channels, asMETADATA(channel_types={"eeg": 16},ground="FZ") says. The nm000260 BIDS sidecars list the 17 recorded channels withFzmarkedbad, which is the faithful BIDS representation; nm000202 droppedFzinstead (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.