Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Wiki Meta Information to the documentation (#317)
* Updating the doc to include the metainfo * Updating the poetry hyperlink to install; * Updating the p300 meta information; * Updating the SSVEP meta information; * complete whats new * trigger doc generation for all PR * add benchmark and set_log_level in API * correct typo * update poetry link * add contributing to docs * add global meta-information table for dataset * change bloc name Co-authored-by: Sylvain Chevallier <sylvain.chevallier@universite-paris-saclay.fr> Co-authored-by: Sylvain Chevallier <sylain.chevallier@universite-paris-saclay.fr>
- Loading branch information
1 parent
22cdcbb
commit 6fb4795
Showing
29 changed files
with
466 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
# Contributing | ||
|
||
Contributions are always welcome, no matter how small. | ||
|
||
The following is a small set of guidelines for how to contribute to the project | ||
|
||
## Where to start | ||
|
||
### Code of Conduct | ||
|
||
This project adheres to the Contributor Covenant [Code of Conduct](CODE_OF_CONDUCT.md). By | ||
participating you are expected to adhere to these expectations. Please report unacceptable | ||
behavior to [hi@pushtheworld.us](mailto:hi@pushtheworld.us) | ||
|
||
### Contributing on Github | ||
|
||
If you're new to Git and want to learn how to fork this repo, make your own additions, and | ||
include those additions in the master version of this project, check out this | ||
[great tutorial](http://blog.davidecoppola.com/2016/11/howto-contribute-to-open-source-project-on-github/). | ||
|
||
### Community | ||
|
||
This project is maintained by the [NeuroTechX](www.neurotechx.com) community. Join the | ||
[Gitter](https://gitter.im/moabb_dev/community), where discussions about MOABB takes | ||
place. | ||
|
||
## How can I contribute? | ||
|
||
If there's a feature you'd be interested in building or you find a bug or have a | ||
suggestion on how to improve the project, go ahead! Let us know on the | ||
[Gitter](https://gitter.im/moabb_dev/community) or [open an issue](../../issues) so others | ||
can follow along and we'll support you as much as we can. When you're finished submit a | ||
pull request to the master branch referencing the specific issue you addressed. | ||
|
||
### Steps to Contribute | ||
|
||
1. Look for open issues or open one | ||
1. Discuss the problem and or propose a solution | ||
1. Fork it! (and clone fork locally) | ||
1. Branch from `develop`: `git checkout --track develop` | ||
1. [Setup development environment](#setup-development-environment) | ||
1. Create your feature branch: `git checkout -b my-new-feature` | ||
1. Make changes | ||
1. Commit your changes: `git commit -m 'Add some feature'` | ||
1. Don't forget to fix issues from `pre-commit` pipeline (either add changes made by hooks | ||
or fix them manually in case of `flake8`) | ||
1. Push to the branch: `git push origin my-new-feature` | ||
1. Submit a pull request. Make sure it is based on the `develop` branch when submitting! | ||
:D | ||
1. Don't forget to update the | ||
[what's new](http://moabb.neurotechx.com/docs/whats_new.html) and | ||
[documentation](http://moabb.neurotechx.com/docs/index.html) pages if needed | ||
|
||
## Setup development environment | ||
|
||
1. install `poetry` (only once per machine):\ | ||
`curl -sSL https://install.python-poetry.org | python3 -`\ | ||
or [checkout installation instruction](https://python-poetry.org/docs/#installation) or | ||
use [conda forge version](https://anaconda.org/conda-forge/poetry) | ||
1. (Optional, skip if not sure) Disable automatic environment creation:\ | ||
`poetry config virtualenvs.create false` | ||
1. install all dependencies in one command (have to be run in thibe project directory):\ | ||
`poetry install` | ||
1. install `pre-commit` hooks to git repo:\ | ||
`pre-commit install` | ||
1. you are ready to code! | ||
|
||
_Note 1:_\ | ||
Your first commit will trigger `pre-commit` to download [Code Quality tools](#tools-used). | ||
That's OK and it is intended behavior. This will be done once per machine automatically. | ||
|
||
_Note 2:_\ | ||
By default `poetry` creates separate Python virtual environment for every project ([more details in documentation](https://python-poetry.org/docs/managing-environments/)). | ||
If you use `conda` or any other way to manage different environments by hand - you need to | ||
disable `poetry` environment creation. Also in this case be careful with version of Python | ||
in your environment - it has to satisfy requirements stated in `pyproject.toml`. In case you | ||
disable `poetry` you are in charge of this. | ||
|
||
### Tools used | ||
|
||
MOABB uses [poetry](https://python-poetry.org/) for dependency management. This tool | ||
enables one to have a reproducible environment on all popular OS (Linux, MacOS and | ||
Windows) and provides easy publishing pipeline. | ||
|
||
Another tool that makes development more stable is [pre-commit](https://pre-commit.com/). | ||
It automatically runs variety of Code Quality instruments against the code you produced. | ||
|
||
For Code Quality verification, we use: | ||
|
||
- [black](https://github.com/psf/black) - Python code formatting | ||
- [isort](https://github.com/timothycrosley/isort) - imports sorting and grouping | ||
- [flake8](https://gitlab.com/pycqa/flake8) - code style checking | ||
- [prettier](https://github.com/prettier/prettier) - `.yml` and `.md` files formatting | ||
|
||
### Generate the documentation | ||
|
||
To generate a local version of the documentation: | ||
|
||
``` | ||
cd docs | ||
make html | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
.. include:: paradigms.rst | ||
.. include:: pipelines.rst | ||
.. include:: analysis.rst | ||
.. include:: utils.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
MOABB gather many datasets, here is list summarizing important information. Most of the | ||
datasets are listed here but this list not complete yet, check API for complete | ||
documentation. | ||
|
||
Do not hesitate to help us complete this list. It is also possible to add new datasets, | ||
there is a tutorial explaining how to do so, and we welcome warmly any new contributions! | ||
|
||
See also https://github.com/NeuroTechX/moabb/wiki/Datasets-Support for supplementary | ||
detail on datasets (class name, size, licence, etc.) | ||
|
||
|
||
================= ======= ======= ========== ================= ============ =============== =========== | ||
Motor Imagery #Subj #Chan #Classes #Trials / class Trials len Sampling rate #Sessions | ||
================= ======= ======= ========== ================= ============ =============== =========== | ||
AlexMI 8 16 3 20 3s 512Hz 1 | ||
BNCI2014001 10 22 4 144 4s 250Hz 2 | ||
BNCI2014002 15 15 2 80 5s 512Hz 1 | ||
BNCI2014004 10 3 2 360 4.5s 250Hz 5 | ||
BNCI2015001 13 13 2 200 5s 512Hz 2 | ||
BNCI2015004 10 30 5 80 7s 256Hz 2 | ||
Cho2017 53 64 2 100 3s 512Hz 1 | ||
Lee2019_MI 55 62 2 100 4s 1000Hz 2 | ||
MunichMI 10 128 2 150 7s 500Hz 1 | ||
Schirrmeister2017 14 128 4 120 4s 500Hz 1 | ||
Ofner2017 15 61 7 60 3s 512Hz 1 | ||
PhysionetMI 109 64 4 23 3s 160Hz 1 | ||
Shin2017A 29 30 2 30 10s 200Hz 3 | ||
Shin2017B 29 30 2 30 10s 200Hz 3 | ||
Weibo2014 10 60 7 80 4s 200Hz 1 | ||
Zhou2016 4 14 3 160 5s 250Hz 3 | ||
================= ======= ======= ========== ================= ============ =============== =========== | ||
|
||
|
||
=========== ======= ======= ================= =============== =============== =========== | ||
P300 #Subj #Chan #Trials / class Trials length Sampling rate #Sessions | ||
=========== ======= ======= ================= =============== =============== =========== | ||
BNCI2014008 8 8 3500 NT / 700 T 1s 256Hz 1 | ||
BNCI2014009 10 16 1440 NT / 288 T 0.8s 256Hz 3 | ||
BNCI2015003 10 8 1500 NT / 300 T 0.8s 256Hz 1 | ||
bi2013a 24 16 3200 NT / 640 T 1s 512Hz 8 | ||
EPFLP300 8 32 2753 NT / 551 T 1s 2048Hz 4 | ||
Lee2019_ERP 54 62 6900 NT / 1380 T 1s 1000Hz 2 | ||
=========== ======= ======= ================= =============== =============== =========== | ||
|
||
|
||
============= ======= ======= ========== ================= =============== =============== =========== | ||
SSVEP #Subj #Chan #Classes #Trials / class Trials length Sampling rate #Sessions | ||
============= ======= ======= ========== ================= =============== =============== =========== | ||
Lee2019_SSVEP 24 16 4 25 1s 1000Hz 1 | ||
SSVEPExo 12 8 4 16 2s 256Hz 1 | ||
MAMEM1 10 256 5 12-15 3s 250Hz 1 | ||
MAMEM2 10 256 5 20-30 3s 250Hz 1 | ||
MAMEM3 10 14 4 20-30 3s 128Hz 1 | ||
Nakanishi2015 9 8 12 15 4.15s 256Hz 1 | ||
Wang2016 32 62 40 6 5s 250Hz 1 | ||
============= ======= ======= ========== ================= =============== =============== =========== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.. mdinclude:: README.md | ||
.. mdinclude:: CONTRIBUTING.md | ||
|
||
What's new | ||
========== | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
===== | ||
Utils | ||
===== | ||
|
||
.. automodule:: moabb | ||
|
||
.. currentmodule:: moabb | ||
|
||
--------- | ||
Benchmark | ||
--------- | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
:template: function.rst | ||
|
||
benchmark | ||
|
||
----- | ||
Utils | ||
----- | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
:template: function.rst | ||
|
||
set_log_level |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.