Repository navigation
Add Luciw2014, the WAY-EEG-GAL grasp-and-lift dataset - #1396
Conversation
|
Maintainer review (code-review pass): conventions and CI look complete, and the synthetic tests are strong. Two items block merge:
Minor (non-blocking): Happy to merge once (1) and (2) are resolved — thank you for the dataset contribution. |
bruAristimunha
left a comment
There was a problem hiding this comment.
Maintainer decision: classify Luciw2014 under the general cognitive paradigm (CognitiveTask), applied in e3cd199 (paradigm="cognitive", summary/API moved to the cognitive lists, tests updated to CognitiveTask — 2 passed, metadata tests 2 passed). Verified all 12 figshare file IDs resolve to P1.zip…P12.zip. Approving; auto-merge will land it when CI passes.
|
Review fixes pushed (maintainer, per request): empty-series now raises a clear |
Adds
Luciw2014, the WAY-EEG-GAL grasp-and-lift dataset (Luciw, Jarocka and Edin, 2014), requested in #942 (also listed in #913). I asked the class-design question in #942 (comment) and did not get an answer, so this PR uses the default design below and names the alternatives.Data. figshare, https://doi.org/10.6084/m9.figshare.988376, license CC-BY-4.0 (one
P<n>.zipof about 840 MB per participant). Paper: https://doi.org/10.1038/sdata.2014.47. 12 participants, 32 EEG channels at 500 Hz, executed right-hand grasp-and-lift. Not on NEMAR, so the class is added toNEMAR_ID_EXEMPTintest_datasets.py.Design chosen: movement vs rest,
"imagery"paradigm (the same choiceSchirrmeister2017makes for executed movement).right_handevent at hand-movement onset (tHandStart), 1 s window (interval=[0, 1]). It covers reach, grasp and the load phase.restevent 1 s before the LED cue, kept only when the hand was not moving in that second.0weight...8weight(suffix is the series type) of one session. The tenth series (HS_P<n>_ST) has no event table in the deposit and is skipped.extras.Alternatives (each is a small change in
_series_to_raw; tell me if you prefer one):AllLiftstimes (touch, load phase, lift-off, replace, release; the Kaggle grasp-and-lift events), possibly with a continuous-decoding paradigm rather than epochs.restanchor.Timing note.
P.AllLiftstimes are relative to a window that startsLEDOn(2 s) before the cue, so events sit atStartTime - LEDOn + t. This matches the recorded LED channel and the grip-force rise to within a few ms. The authors'WEEG_GetEventsInHS.musesStartTime + t, which is 2 s late against both signals.Tested.
pytest moabb/tests/test_luciw2014.py(synthetic HS/AllLifts files, no download): runs, event times, unit scaling, object extras, epochs throughMotorImagery.test_metadata.py(catalogue count 207 to 208),test_doi_validation.py(two DOIs added todoi_cache.json),test_datasets.py(NEMAR and summary-CSV tests): pass.MotorImagery(fmin=8, fmax=32).get_data(Luciw2014(), [1])gives X of shape (570, 32, 501), 294right_handand 276resttrials, 9 runs. I did not download participants 2 to 12.summary_imagery.csvtotals (6,809 trials, 283.71 per participant) come from the full prototype run on the event tables, not from this check.pre-commithooks pass on the diff.AI disclosure: this PR was prepared with AI assistance (Claude, Anthropic).