Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ERPCore datasets #627

Open
wants to merge 72 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
3c8920a
adding ERPCore dataset
tahatt13 Jun 14, 2024
af8b89f
adding fcts read_annotations_core, handle_events_reading_core and ada…
tahatt13 Jun 17, 2024
3da3ace
adding datasets imports to the init file
tahatt13 Jun 17, 2024
3d7ea3b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 17, 2024
eaff4d0
adding fct download_and_extract
tahatt13 Jun 18, 2024
201dc0c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 18, 2024
8b9e95c
Finishing ERPCore N170
tahatt13 Jun 19, 2024
62f5f4c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 19, 2024
525cb84
adding ERPCore2021_MMN
tahatt13 Jun 19, 2024
aabef3a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 19, 2024
e46aa09
adding 'encode_events' and 'encoding' fcts to N2pc class
tahatt13 Jun 20, 2024
9ee3812
adding classes MMN and N2pc to dataset summary
tahatt13 Jun 20, 2024
d9c95cc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 20, 2024
6cf807b
adding fct "get_meta_data" and attribute "original_mapping"
tahatt13 Jun 20, 2024
2406e10
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 20, 2024
2253cfe
adjusting "encode_event" and "encoding" fcts for all datasets
tahatt13 Jun 21, 2024
088a3b9
adding classes P3, N400 and LRP
tahatt13 Jun 21, 2024
d6d02e5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 21, 2024
ff80699
ehn: updating pre-commit file
bruAristimunha Jun 21, 2024
a3f1730
fixing camelcase
bruAristimunha Jun 21, 2024
047533e
ehn: replacing the download function
bruAristimunha Jun 21, 2024
59a99d0
ehn: changing the signature
bruAristimunha Jun 21, 2024
f97935e
ehn: black and etc
bruAristimunha Jun 21, 2024
d2b1cb2
ehn: renaming file, pylint
bruAristimunha Jun 21, 2024
7d64178
ehn: pylint part 2
bruAristimunha Jun 21, 2024
b32bbb8
ehn: renaming
bruAristimunha Jun 21, 2024
96621ff
adding fct load_meta_data
tahatt13 Jun 24, 2024
3094196
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 24, 2024
a418f3b
adding pre-commit
tahatt13 Jun 24, 2024
fbdbaa2
readjusting the download data path
tahatt13 Jun 24, 2024
5820f35
global dataset description and n170 dataset description
tahatt13 Jun 24, 2024
477df1b
data description for all datasets
tahatt13 Jun 24, 2024
d79639a
pylint nd re-adjusting events code
tahatt13 Jun 25, 2024
30552f2
fixing datasets description
tahatt13 Jun 25, 2024
61198b1
fixing datasets description in data summary
tahatt13 Jun 25, 2024
333929e
modifying fct get_meta_data
tahatt13 Jun 25, 2024
d10a6a8
adding description line to enhancements
tahatt13 Jun 25, 2024
a0aa285
adjusting datasets descriptions
tahatt13 Jun 25, 2024
71ec8a0
adding git link to what's new
tahatt13 Jun 25, 2024
7f97088
removing response lines from events and formatting the events to targ…
tahatt13 Jun 26, 2024
4ca3d1d
correct mapping for N170
tahatt13 Jun 27, 2024
2a0d82d
mapping all encodings to target-nontarget and adding preload data
tahatt13 Jun 27, 2024
7a8820b
Correction of encoding v2 and trials/class of datasets
tahatt13 Jun 27, 2024
732a2db
correction datasets trial/class
tahatt13 Jun 27, 2024
4511f21
formatting the datasets description tables to rst format
tahatt13 Jun 28, 2024
69d1c81
Making the mapping more clear for N170
tahatt13 Jul 5, 2024
5d573df
Making the mapping more clear for MMN
tahatt13 Jul 5, 2024
ca7491f
Making the mapping more clear for N2pc
tahatt13 Jul 5, 2024
b8b06b1
making the mapping more clear for P3
tahatt13 Jul 5, 2024
9cef245
Making the mapping more clear for N400
tahatt13 Jul 5, 2024
acfcf2f
Making the mapping more clear for both ERN and LRP
tahatt13 Jul 5, 2024
353a1b7
Correcting mapping for LRP
tahatt13 Jul 8, 2024
9a46ffa
cleaning code
tahatt13 Jul 8, 2024
35141f1
adjusting dataset link
tahatt13 Jul 10, 2024
808dde6
Fix workflow cache (#632)
PierreGtch Jul 4, 2024
8bfb6bd
Remove duplicate restore cache (#634)
PierreGtch Jul 5, 2024
468fbb0
Fix example Hinss2021 (#636)
PierreGtch Jul 6, 2024
7ef7099
Dataset summary in CSV and leaderboard links (#635)
PierreGtch Jul 8, 2024
284f138
Add CSV rows
PierreGtch Jul 8, 2024
de231dc
Add Liu2024 Dataset (#619)
tahatt13 Jul 8, 2024
2b0af28
Remove tables from docstrings
PierreGtch Jul 8, 2024
3bdf2b1
Add description to all docstrings
PierreGtch Jul 8, 2024
b33fe2a
Fix capitalisation of dataset names
PierreGtch Jul 8, 2024
36e2c7a
Fix N2pc
PierreGtch Jul 8, 2024
22d3bee
Fix N2pc in CSV
PierreGtch Jul 9, 2024
cf0c542
Fix Force Push
PierreGtch Jul 10, 2024
3fc3836
Merge branch 'develop' into Adding-ERPCore
PierreGtch Jul 10, 2024
fa04ec5
fixing dataset links
tahatt13 Jul 10, 2024
b44e27b
Merge branch 'develop' into Adding-ERPCore
bruAristimunha Aug 22, 2024
dd79a26
Drop rows with trial_type = STATUS in all ERPCore datasets
tahatt13 Aug 29, 2024
07492af
Merge branch 'Adding-ERPCore' of https://github.com/tahatt13/moabb in…
tahatt13 Aug 29, 2024
cc9ceed
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repos:
rev: 24.3.0
hooks:
- id: black
language_version: python3.8
language_version: python3
args: [ --line-length=90, --target-version=py38 ]

- repo: https://github.com/asottile/blacken-docs
Expand Down Expand Up @@ -82,7 +82,7 @@ repos:
- --ignore-words-list=additionals,alle,alot,bund,currenty,datas,farenheit,falsy,fo,haa,hass,iif,incomfort,ines,ist,nam,nd,pres,pullrequests,resset,rime,ser,serie,te,technik,ue,unsecure,withing,zar,crate
- --skip="./.*,*.csv,*.json,*.ambr"
- --quiet-level=2
exclude_types: [ csv, json, svg ]
exclude_types: [ csv, json, svg, pdf ]
exclude: ^tests/|generated/

- repo: https://github.com/adrienverge/yamllint.git
Expand Down
8 changes: 8 additions & 0 deletions docs/source/dataset_summary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ P300/ERP
:class:`Sosulski2019`, 13, 31, 7500 NT / 1500 T, 1.2s, 1000Hz, 1
:class:`EPFLP300`, 8, 32, 2753 NT / 551 T, 1s, 2048Hz, 4
:class:`Lee2019_ERP`, 54, 62, 6900 NT / 1380 T, 1s, 1000Hz, 2
:class:`ERPCore2021_N170`, 40, 30, 80 , 1s, 1024Hz, 1
:class:`ERPCore2021_MMN`, 40, 30, 800 Deviant / 200 Standard, 1s, 1024Hz, 1
:class:`ERPCore2021_N2pc`, 40, 30, 160, 1s, 1024Hz, 1
:class:`ERPCore2021_P3`, 40, 30, 160 NT / 40 T, 1s, 1024Hz, 1
:class:`ERPCore2021_N400`, 40, 30, 60, 1s, 1024Hz, 1
:class:`ERPCore2021_ERN`, 40, 30, Depends, 1s, 1024Hz, 1
:class:`ERPCore2021_LRP`, 40, 30, Depends, 1s, 1024Hz, 1



SSVEP
Expand Down
3 changes: 2 additions & 1 deletion docs/source/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Develop branch

Enhancements
~~~~~~~~~~~~
- None
- Add ERP CORE datasets :class:`moabb.datasets.ErpCore2021` dataset (:gh:`627` by `Taha Habib`_)

Bugs
~~~~
Expand Down Expand Up @@ -473,3 +473,4 @@ API changes
.. _Brian Irvine: https://github.com/brianjohannes
.. _Bruna Lopes: https://github.com/brunaafl
.. _Yash Chauhan: https://github.com/jiggychauhi
.. _Taha Habib: https://github.com/tahatt13
9 changes: 9 additions & 0 deletions moabb/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@
CastillosCVEP100,
)
from .epfl import EPFLP300
from .erpcore2021 import (
Erpcore2021_ERN,
Erpcore2021_LRP,
Erpcore2021_MMN,
Erpcore2021_N2pc,
Erpcore2021_N170,
Erpcore2021_N400,
Erpcore2021_P3,
)
from .fake import FakeDataset, FakeVirtualRealityDataset
from .gigadb import Cho2017
from .hinss2021 import Hinss2021
Expand Down
Loading
Loading