Skip to content

added Spot Auditory oddball dataset - #266

Merged
sylvchev merged 5 commits into
NeuroTechX:developfrom
jsosulski:auditory_oddball
Feb 17, 2022
Merged

sylvchev merged 5 commits into
NeuroTechX:developfrom
jsosulski:auditory_oddball

Conversation

@jsosulski

Copy link
Copy Markdown
Collaborator

Adds 13 subject dataset who performed an auditory oddball with 3-4 different SOAs. (Actually 5 but SOA 60 is just a sanity check as it was over quickly).
Each SOA had 20 trials recorded with 90 epochs each with 75 non-targets and 15 targets.
As the ERP responses at different SOAs are very different it does not make sense to pool them. For this the use_soas_as_sessions parameter is True by default, such that WithinSessionEvaluation only trains/tests on data from the same SOA.

@jsosulski jsosulski added the dataset Supporting new dataset label Feb 11, 2022
@jsosulski

jsosulski commented Feb 16, 2022 •

Copy link
Copy Markdown
Collaborator Author
  • change data_path to data_dl in this one and Huebner datasets

Comment thread moabb/datasets/sosulski2019.py Outdated
# check if has the .zip
file_number = Sosulski2019._map_subject_to_filenumber(subject)
url = f"{SPOT_PILOT_P300_URL}/FILE{file_number}/content"
path_zip = dl.data_path(url, "spot")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should use data_dl instead of data_path as the later is deprecated.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, is there a functional difference in data_dl? I tried simply replacing the function name, but data_dl does not work if the data is already available. I.e., when the data needs to be downloaded the code works, but when it is already downloaded, the program is stuck.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh nevermind, it only looks stuck because I amnot used to the progress bar yet... :D

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you need to install tqdm. The pyproject file is updated (poetry install should do the trick) but I need to regenerate the requirement file if you use a more ad hoc process.

@jsosulski
jsosulski requested a review from sylvchev February 16, 2022 19:37
@sylvchev
sylvchev merged commit 8a42108 into NeuroTechX:develop Feb 17, 2022
sylvchev pushed a commit that referenced this pull request Feb 22, 2022
* Set download dir test and example (#249)

* Update to dataset_search call in FilterBank Motor Imagery

* Removing completed #fixme

* Removing total_classes argument from dataset_search call in FilterBank MI

This was earlier deprecated in 55f77ae

* set_download_dir test and example

* adding pre-commit modifications

* Update whats_new.rst

* Update examples/changing_download_directory.py

Co-authored-by: Sylvain Chevallier <[email protected]>

* Update examples/changing_download_directory.py

Co-authored-by: Sylvain Chevallier <[email protected]>

* Bump pillow from 8.4.0 to 9.0.0 (#253)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@8.4.0...9.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix Schirrmeister2017 error (#255)

* correct event loading error, renaming session and runs

* add whats new

* Removing dependency of Physionet MI download on mne method (#257)

* Update physionet_mi.py

* consistency of runs numbering

* Update whats_new.rst

* f-string edits

Co-authored-by: Sylvain Chevallier <[email protected]>

* f-string edits

Co-authored-by: Sylvain Chevallier <[email protected]>

Co-authored-by: Sylvain Chevallier <[email protected]>

* Correct MAMEM issues (#256)

* switch mamem session to runs, use predictable names

* update docstring in evaluation, for building documentation

* update Lee2017 docstring for correct documentation.

* update whats new

* switch SSVEP example to within session

* correct typo and rebase

* correct typos on examples

* Progress bars (#258)

* Progress bars for downloads using pooch functionality

* Rectification of f-string in PhysionetMI

* Evaluations subject level progress bar

CV test subject level in the case of CrossSubjectEvaluation

* Update poetry.lock

* Update pyproject.toml

* dependencies

* Apply suggestions from code review (mne.utils to tqdm direct)

Co-authored-by: Sylvain Chevallier <[email protected]>

* Update poetry.lock

* tqdm arg

* Update whats_new.rst

* Update mistune dep

Co-authored-by: Sylvain Chevallier <[email protected]>

* fix doc url in readme (#262)

* fix doc url in readme

* correct links in the docs

* Schirrmeister2017 High-Gamma Dataset from EDF (#265)

* loading Schirrmeister2017 High-Gamma Dataset from EDF

* remove commented import of requests module

* rename to session_0

* added 13 + 12 subjects speller datasets by huebner (#260)

* added 13 + 12 subjects speller datasets by huebner

* clean up legacy run splitting code

* added use_blocks_as_sessions parameter for data

Co-authored-by: Sylvain Chevallier <[email protected]>

* added Spot Auditory oddball dataset (#266)

* added Spot Auditory oddball dataset

* replaced usage of deprecated dl.data_path

Co-authored-by: Sylvain Chevallier <[email protected]>

* Visualize all ERP datasets (#261)

* Visualize all ERP datasets

* * use paradigm.datasets instead of manual list

* more verbose sanity check script

* fix epo data leak + remove title bf

* moved data visualization

added disclaimer regarding data size

Co-authored-by: Sylvain Chevallier <[email protected]>

* update to v0.4.5 (#269)

* update to v0.4.5

* update poetry and requirements

* correct pre-commit error and add code coverage (#271)

Co-authored-by: Divyesh Narayanan <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: robintibor <[email protected]>
Co-authored-by: Jan Sosulski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dataset Supporting new dataset

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants