braindecode 1.3.0.dev173193230__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of braindecode might be problematic. Click here for more details.

Files changed (152) hide show
  1. braindecode-1.3.0.dev173193230/LICENSE.txt +31 -0
  2. braindecode-1.3.0.dev173193230/MANIFEST.in +8 -0
  3. braindecode-1.3.0.dev173193230/NOTICE.txt +20 -0
  4. braindecode-1.3.0.dev173193230/PKG-INFO +218 -0
  5. braindecode-1.3.0.dev173193230/README.rst +135 -0
  6. braindecode-1.3.0.dev173193230/braindecode/__init__.py +9 -0
  7. braindecode-1.3.0.dev173193230/braindecode/augmentation/__init__.py +54 -0
  8. braindecode-1.3.0.dev173193230/braindecode/augmentation/base.py +222 -0
  9. braindecode-1.3.0.dev173193230/braindecode/augmentation/functional.py +1297 -0
  10. braindecode-1.3.0.dev173193230/braindecode/augmentation/transforms.py +1347 -0
  11. braindecode-1.3.0.dev173193230/braindecode/classifier.py +258 -0
  12. braindecode-1.3.0.dev173193230/braindecode/datasets/__init__.py +62 -0
  13. braindecode-1.3.0.dev173193230/braindecode/datasets/base.py +819 -0
  14. braindecode-1.3.0.dev173193230/braindecode/datasets/bbci.py +694 -0
  15. braindecode-1.3.0.dev173193230/braindecode/datasets/bcicomp.py +194 -0
  16. braindecode-1.3.0.dev173193230/braindecode/datasets/bids.py +245 -0
  17. braindecode-1.3.0.dev173193230/braindecode/datasets/bids_format.py +714 -0
  18. braindecode-1.3.0.dev173193230/braindecode/datasets/chb_mit.py +172 -0
  19. braindecode-1.3.0.dev173193230/braindecode/datasets/experimental.py +218 -0
  20. braindecode-1.3.0.dev173193230/braindecode/datasets/hub.py +1160 -0
  21. braindecode-1.3.0.dev173193230/braindecode/datasets/hub_validation.py +113 -0
  22. braindecode-1.3.0.dev173193230/braindecode/datasets/mne.py +170 -0
  23. braindecode-1.3.0.dev173193230/braindecode/datasets/moabb.py +219 -0
  24. braindecode-1.3.0.dev173193230/braindecode/datasets/nmt.py +306 -0
  25. braindecode-1.3.0.dev173193230/braindecode/datasets/registry.py +120 -0
  26. braindecode-1.3.0.dev173193230/braindecode/datasets/siena.py +164 -0
  27. braindecode-1.3.0.dev173193230/braindecode/datasets/sleep_physio_challe_18.py +413 -0
  28. braindecode-1.3.0.dev173193230/braindecode/datasets/sleep_physionet.py +125 -0
  29. braindecode-1.3.0.dev173193230/braindecode/datasets/tuh.py +588 -0
  30. braindecode-1.3.0.dev173193230/braindecode/datasets/utils.py +67 -0
  31. braindecode-1.3.0.dev173193230/braindecode/datasets/xy.py +95 -0
  32. braindecode-1.3.0.dev173193230/braindecode/datautil/__init__.py +64 -0
  33. braindecode-1.3.0.dev173193230/braindecode/datautil/channel_utils.py +114 -0
  34. braindecode-1.3.0.dev173193230/braindecode/datautil/hub_formats.py +180 -0
  35. braindecode-1.3.0.dev173193230/braindecode/datautil/serialization.py +357 -0
  36. braindecode-1.3.0.dev173193230/braindecode/datautil/util.py +155 -0
  37. braindecode-1.3.0.dev173193230/braindecode/eegneuralnet.py +374 -0
  38. braindecode-1.3.0.dev173193230/braindecode/functional/__init__.py +22 -0
  39. braindecode-1.3.0.dev173193230/braindecode/functional/functions.py +254 -0
  40. braindecode-1.3.0.dev173193230/braindecode/functional/initialization.py +46 -0
  41. braindecode-1.3.0.dev173193230/braindecode/models/__init__.py +117 -0
  42. braindecode-1.3.0.dev173193230/braindecode/models/atcnet.py +826 -0
  43. braindecode-1.3.0.dev173193230/braindecode/models/attentionbasenet.py +731 -0
  44. braindecode-1.3.0.dev173193230/braindecode/models/attn_sleep.py +549 -0
  45. braindecode-1.3.0.dev173193230/braindecode/models/base.py +574 -0
  46. braindecode-1.3.0.dev173193230/braindecode/models/bendr.py +494 -0
  47. braindecode-1.3.0.dev173193230/braindecode/models/biot.py +537 -0
  48. braindecode-1.3.0.dev173193230/braindecode/models/config.py +233 -0
  49. braindecode-1.3.0.dev173193230/braindecode/models/contrawr.py +319 -0
  50. braindecode-1.3.0.dev173193230/braindecode/models/ctnet.py +541 -0
  51. braindecode-1.3.0.dev173193230/braindecode/models/deep4.py +376 -0
  52. braindecode-1.3.0.dev173193230/braindecode/models/deepsleepnet.py +417 -0
  53. braindecode-1.3.0.dev173193230/braindecode/models/eegconformer.py +475 -0
  54. braindecode-1.3.0.dev173193230/braindecode/models/eeginception_erp.py +379 -0
  55. braindecode-1.3.0.dev173193230/braindecode/models/eeginception_mi.py +379 -0
  56. braindecode-1.3.0.dev173193230/braindecode/models/eegitnet.py +302 -0
  57. braindecode-1.3.0.dev173193230/braindecode/models/eegminer.py +256 -0
  58. braindecode-1.3.0.dev173193230/braindecode/models/eegnet.py +359 -0
  59. braindecode-1.3.0.dev173193230/braindecode/models/eegnex.py +354 -0
  60. braindecode-1.3.0.dev173193230/braindecode/models/eegsimpleconv.py +201 -0
  61. braindecode-1.3.0.dev173193230/braindecode/models/eegsym.py +917 -0
  62. braindecode-1.3.0.dev173193230/braindecode/models/eegtcnet.py +337 -0
  63. braindecode-1.3.0.dev173193230/braindecode/models/fbcnet.py +225 -0
  64. braindecode-1.3.0.dev173193230/braindecode/models/fblightconvnet.py +315 -0
  65. braindecode-1.3.0.dev173193230/braindecode/models/fbmsnet.py +338 -0
  66. braindecode-1.3.0.dev173193230/braindecode/models/hybrid.py +126 -0
  67. braindecode-1.3.0.dev173193230/braindecode/models/ifnet.py +443 -0
  68. braindecode-1.3.0.dev173193230/braindecode/models/labram.py +1316 -0
  69. braindecode-1.3.0.dev173193230/braindecode/models/luna.py +891 -0
  70. braindecode-1.3.0.dev173193230/braindecode/models/medformer.py +758 -0
  71. braindecode-1.3.0.dev173193230/braindecode/models/msvtnet.py +377 -0
  72. braindecode-1.3.0.dev173193230/braindecode/models/patchedtransformer.py +640 -0
  73. braindecode-1.3.0.dev173193230/braindecode/models/reve.py +837 -0
  74. braindecode-1.3.0.dev173193230/braindecode/models/sccnet.py +280 -0
  75. braindecode-1.3.0.dev173193230/braindecode/models/shallow_fbcsp.py +212 -0
  76. braindecode-1.3.0.dev173193230/braindecode/models/signal_jepa.py +1122 -0
  77. braindecode-1.3.0.dev173193230/braindecode/models/sinc_shallow.py +339 -0
  78. braindecode-1.3.0.dev173193230/braindecode/models/sleep_stager_blanco_2020.py +169 -0
  79. braindecode-1.3.0.dev173193230/braindecode/models/sleep_stager_chambon_2018.py +159 -0
  80. braindecode-1.3.0.dev173193230/braindecode/models/sparcnet.py +426 -0
  81. braindecode-1.3.0.dev173193230/braindecode/models/sstdpn.py +869 -0
  82. braindecode-1.3.0.dev173193230/braindecode/models/summary.csv +46 -0
  83. braindecode-1.3.0.dev173193230/braindecode/models/syncnet.py +234 -0
  84. braindecode-1.3.0.dev173193230/braindecode/models/tcn.py +275 -0
  85. braindecode-1.3.0.dev173193230/braindecode/models/tidnet.py +397 -0
  86. braindecode-1.3.0.dev173193230/braindecode/models/tsinception.py +295 -0
  87. braindecode-1.3.0.dev173193230/braindecode/models/usleep.py +439 -0
  88. braindecode-1.3.0.dev173193230/braindecode/models/util.py +368 -0
  89. braindecode-1.3.0.dev173193230/braindecode/modules/__init__.py +84 -0
  90. braindecode-1.3.0.dev173193230/braindecode/modules/activation.py +60 -0
  91. braindecode-1.3.0.dev173193230/braindecode/modules/attention.py +760 -0
  92. braindecode-1.3.0.dev173193230/braindecode/modules/blocks.py +110 -0
  93. braindecode-1.3.0.dev173193230/braindecode/modules/convolution.py +277 -0
  94. braindecode-1.3.0.dev173193230/braindecode/modules/filter.py +623 -0
  95. braindecode-1.3.0.dev173193230/braindecode/modules/layers.py +132 -0
  96. braindecode-1.3.0.dev173193230/braindecode/modules/linear.py +49 -0
  97. braindecode-1.3.0.dev173193230/braindecode/modules/parametrization.py +38 -0
  98. braindecode-1.3.0.dev173193230/braindecode/modules/stats.py +77 -0
  99. braindecode-1.3.0.dev173193230/braindecode/modules/util.py +76 -0
  100. braindecode-1.3.0.dev173193230/braindecode/modules/wrapper.py +73 -0
  101. braindecode-1.3.0.dev173193230/braindecode/preprocessing/__init__.py +271 -0
  102. braindecode-1.3.0.dev173193230/braindecode/preprocessing/eegprep_preprocess.py +1317 -0
  103. braindecode-1.3.0.dev173193230/braindecode/preprocessing/mne_preprocess.py +240 -0
  104. braindecode-1.3.0.dev173193230/braindecode/preprocessing/preprocess.py +576 -0
  105. braindecode-1.3.0.dev173193230/braindecode/preprocessing/util.py +177 -0
  106. braindecode-1.3.0.dev173193230/braindecode/preprocessing/windowers.py +1037 -0
  107. braindecode-1.3.0.dev173193230/braindecode/regressor.py +233 -0
  108. braindecode-1.3.0.dev173193230/braindecode/samplers/__init__.py +18 -0
  109. braindecode-1.3.0.dev173193230/braindecode/samplers/base.py +399 -0
  110. braindecode-1.3.0.dev173193230/braindecode/samplers/ssl.py +263 -0
  111. braindecode-1.3.0.dev173193230/braindecode/training/__init__.py +23 -0
  112. braindecode-1.3.0.dev173193230/braindecode/training/callbacks.py +23 -0
  113. braindecode-1.3.0.dev173193230/braindecode/training/losses.py +105 -0
  114. braindecode-1.3.0.dev173193230/braindecode/training/scoring.py +477 -0
  115. braindecode-1.3.0.dev173193230/braindecode/util.py +409 -0
  116. braindecode-1.3.0.dev173193230/braindecode/version.py +1 -0
  117. braindecode-1.3.0.dev173193230/braindecode/visualization/__init__.py +8 -0
  118. braindecode-1.3.0.dev173193230/braindecode/visualization/confusion_matrices.py +289 -0
  119. braindecode-1.3.0.dev173193230/braindecode/visualization/gradients.py +62 -0
  120. braindecode-1.3.0.dev173193230/braindecode.egg-info/PKG-INFO +218 -0
  121. braindecode-1.3.0.dev173193230/braindecode.egg-info/SOURCES.txt +151 -0
  122. braindecode-1.3.0.dev173193230/braindecode.egg-info/dependency_links.txt +1 -0
  123. braindecode-1.3.0.dev173193230/braindecode.egg-info/requires.txt +64 -0
  124. braindecode-1.3.0.dev173193230/braindecode.egg-info/top_level.txt +1 -0
  125. braindecode-1.3.0.dev173193230/docs/Makefile +52 -0
  126. braindecode-1.3.0.dev173193230/docs/_templates/autosummary/class.rst +37 -0
  127. braindecode-1.3.0.dev173193230/docs/_templates/autosummary/function.rst +12 -0
  128. braindecode-1.3.0.dev173193230/docs/api.rst +754 -0
  129. braindecode-1.3.0.dev173193230/docs/cite.rst +72 -0
  130. braindecode-1.3.0.dev173193230/docs/conf.py +562 -0
  131. braindecode-1.3.0.dev173193230/docs/help.rst +62 -0
  132. braindecode-1.3.0.dev173193230/docs/index.rst +50 -0
  133. braindecode-1.3.0.dev173193230/docs/install/install.rst +77 -0
  134. braindecode-1.3.0.dev173193230/docs/install/install_pip.rst +37 -0
  135. braindecode-1.3.0.dev173193230/docs/install/install_source.rst +71 -0
  136. braindecode-1.3.0.dev173193230/docs/models/categorization/attention.rst +31 -0
  137. braindecode-1.3.0.dev173193230/docs/models/categorization/channel.rst +31 -0
  138. braindecode-1.3.0.dev173193230/docs/models/categorization/convolution.rst +33 -0
  139. braindecode-1.3.0.dev173193230/docs/models/categorization/filterbank.rst +31 -0
  140. braindecode-1.3.0.dev173193230/docs/models/categorization/gnn.rst +27 -0
  141. braindecode-1.3.0.dev173193230/docs/models/categorization/interpretable.rst +31 -0
  142. braindecode-1.3.0.dev173193230/docs/models/categorization/lbm.rst +31 -0
  143. braindecode-1.3.0.dev173193230/docs/models/categorization/recurrent.rst +31 -0
  144. braindecode-1.3.0.dev173193230/docs/models/categorization/spd.rst +31 -0
  145. braindecode-1.3.0.dev173193230/docs/models/models.rst +78 -0
  146. braindecode-1.3.0.dev173193230/docs/models/models_categorization.rst +201 -0
  147. braindecode-1.3.0.dev173193230/docs/models/models_table.rst +191 -0
  148. braindecode-1.3.0.dev173193230/docs/models/models_visualization.rst +31 -0
  149. braindecode-1.3.0.dev173193230/docs/sg_execution_times.rst +112 -0
  150. braindecode-1.3.0.dev173193230/docs/whats_new.rst +454 -0
  151. braindecode-1.3.0.dev173193230/pyproject.toml +149 -0
  152. braindecode-1.3.0.dev173193230/setup.cfg +40 -0
@@ -0,0 +1,31 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2017-currently Braindecode Developers
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without modification,
7
+ are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice,
10
+ this list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its contributors
17
+ may be used to endorse or promote products derived from this software
18
+ without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A P
23
+ ARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER
24
+ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
30
+ WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31
+ POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,8 @@
1
+ include README.rst
2
+ include LICENSE.txt
3
+ include NOTICE.txt
4
+
5
+ include braindecode/models/summary.csv
6
+
7
+ recursive-include docs *.ipynb *.rst conf.py Makefile
8
+ recursive-exclude docs *checkpoint.ipynb
@@ -0,0 +1,20 @@
1
+ # BRAINDECODE Notice
2
+
3
+ ## Licensed Components
4
+
5
+ ### BSD-3-Clause Licensed Files
6
+
7
+ All files within the `src/` directory are licensed under the BSD-3-Clause License.
8
+
9
+ ### CC BY-NC 4.0 Licensed Files
10
+
11
+ The following components are licensed under the Creative Commons Attribution-NonCommercial 4.0 International License:
12
+
13
+ - `braindecode/models/eegminer.py`
14
+
15
+ As well as class later imported into the `braindecode.models.module` named as GeneralizedGaussianFilter.
16
+
17
+ ## License Links
18
+
19
+ - [BSD-3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
20
+ - [CC BY-NC 4.0 License](https://creativecommons.org/licenses/by-nc/4.0/)
@@ -0,0 +1,218 @@
1
+ Metadata-Version: 2.4
2
+ Name: braindecode
3
+ Version: 1.3.0.dev173193230
4
+ Summary: Deep learning software to decode EEG, ECG or MEG signals
5
+ Author-email: Robin Tibor Schirrmeister <robintibor@gmail.com>, Bruno Aristimunha Pinto <b.aristimunha@gmail.com>, Alexandre Gramfort <agramfort@meta.com>
6
+ Maintainer-email: Alexandre Gramfort <agramfort@meta.com>, Bruno Aristimunha Pinto <b.aristimunha@gmail.com>, Robin Tibor Schirrmeister <robintibor@gmail.com>
7
+ License: BSD-3-Clause
8
+ Project-URL: homepage, https://braindecode.org
9
+ Project-URL: repository, https://github.com/braindecode/braindecode
10
+ Project-URL: documentation, https://braindecode.org/stable/index.html
11
+ Keywords: python,deep-learning,neuroscience,pytorch,meg,eeg,neuroimaging,electroencephalography,magnetoencephalography,electrocorticography,ecog,electroencephalogram
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: Topic :: Software Development :: Build Tools
16
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Requires-Python: >=3.11
22
+ Description-Content-Type: text/x-rst
23
+ License-File: LICENSE.txt
24
+ License-File: NOTICE.txt
25
+ Requires-Dist: torch>=2.2
26
+ Requires-Dist: torchaudio>=2.0
27
+ Requires-Dist: mne>=1.11.0
28
+ Requires-Dist: mne_bids>=0.16
29
+ Requires-Dist: h5py
30
+ Requires-Dist: skorch>=1.3.0
31
+ Requires-Dist: joblib
32
+ Requires-Dist: torchinfo
33
+ Requires-Dist: wfdb
34
+ Requires-Dist: linear_attention_transformer
35
+ Requires-Dist: docstring_inheritance
36
+ Requires-Dist: rotary_embedding_torch
37
+ Provides-Extra: moabb
38
+ Requires-Dist: moabb>=1.4.3; extra == "moabb"
39
+ Provides-Extra: eegprep
40
+ Requires-Dist: eegprep[eeglabio]>=0.2.23; extra == "eegprep"
41
+ Provides-Extra: hub
42
+ Requires-Dist: huggingface_hub[torch]>=0.20.0; extra == "hub"
43
+ Requires-Dist: zarr>=3.0; extra == "hub"
44
+ Provides-Extra: tests
45
+ Requires-Dist: pytest; extra == "tests"
46
+ Requires-Dist: pytest-cov; extra == "tests"
47
+ Requires-Dist: codecov; extra == "tests"
48
+ Requires-Dist: pytest_cases; extra == "tests"
49
+ Requires-Dist: mypy; extra == "tests"
50
+ Requires-Dist: transformers>=4.57.0; extra == "tests"
51
+ Provides-Extra: typing
52
+ Requires-Dist: exca==0.4; extra == "typing"
53
+ Requires-Dist: numpydantic>=1.7; extra == "typing"
54
+ Provides-Extra: docs
55
+ Requires-Dist: sphinx_gallery; extra == "docs"
56
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
57
+ Requires-Dist: sphinx-autodoc-typehints; extra == "docs"
58
+ Requires-Dist: sphinx-autobuild; extra == "docs"
59
+ Requires-Dist: sphinxcontrib-bibtex; extra == "docs"
60
+ Requires-Dist: sphinx_sitemap; extra == "docs"
61
+ Requires-Dist: pydata_sphinx_theme; extra == "docs"
62
+ Requires-Dist: numpydoc; extra == "docs"
63
+ Requires-Dist: memory_profiler; extra == "docs"
64
+ Requires-Dist: pillow; extra == "docs"
65
+ Requires-Dist: ipython; extra == "docs"
66
+ Requires-Dist: sphinx_design; extra == "docs"
67
+ Requires-Dist: lightning; extra == "docs"
68
+ Requires-Dist: seaborn; extra == "docs"
69
+ Requires-Dist: pre-commit; extra == "docs"
70
+ Requires-Dist: openneuro-py; extra == "docs"
71
+ Requires-Dist: plotly; extra == "docs"
72
+ Requires-Dist: shap; extra == "docs"
73
+ Requires-Dist: nbformat; extra == "docs"
74
+ Requires-Dist: transformers; extra == "docs"
75
+ Provides-Extra: all
76
+ Requires-Dist: braindecode[moabb]; extra == "all"
77
+ Requires-Dist: braindecode[tests]; extra == "all"
78
+ Requires-Dist: braindecode[docs]; extra == "all"
79
+ Requires-Dist: braindecode[hub]; extra == "all"
80
+ Requires-Dist: braindecode[eegprep]; extra == "all"
81
+ Requires-Dist: braindecode[typing]; extra == "all"
82
+ Dynamic: license-file
83
+
84
+ .. image:: https://zenodo.org/badge/232335424.svg
85
+ :target: https://doi.org/10.5281/zenodo.8214376
86
+ :alt: DOI
87
+
88
+ .. image:: https://badges.gitter.im/braindecodechat/community.svg
89
+ :alt: Join the chat at https://gitter.im/braindecodechat/community
90
+ :target: https://gitter.im/braindecodechat/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
91
+
92
+ .. image:: https://github.com/braindecode/braindecode/workflows/docs/badge.svg
93
+ :target: https://github.com/braindecode/braindecode/actions
94
+
95
+ .. image:: https://circleci.com/gh/braindecode/braindecode.svg?style=svg
96
+ :target: https://circleci.com/gh/braindecode/braindecode
97
+ :alt: Doc build on CircleCI
98
+
99
+ .. image:: https://codecov.io/gh/braindecode/braindecode/branch/master/graph/badge.svg
100
+ :target: https://codecov.io/gh/braindecode/braindecode
101
+ :alt: Code Coverage
102
+
103
+
104
+ .. |Braindecode| image:: https://user-images.githubusercontent.com/42702466/177958779-b00628aa-9155-4c51-96d1-d8c345aff575.svg
105
+ .. _braindecode: braindecode.org/
106
+
107
+ Braindecode
108
+ ===========
109
+
110
+ Braindecode is an open-source Python toolbox for decoding raw electrophysiological brain
111
+ data with deep learning models. It includes dataset fetchers, data preprocessing and
112
+ visualization tools, as well as implementations of several deep learning
113
+ architectures and data augmentations for analysis of EEG, ECoG and MEG.
114
+
115
+ For neuroscientists who want to work with deep learning and
116
+ deep learning researchers who want to work with neurophysiological data.
117
+
118
+
119
+ Installation Braindecode
120
+ ========================
121
+
122
+ 1. Install pytorch from http://pytorch.org/ (you don't need to install torchvision).
123
+
124
+ 2. If you want to download EEG datasets from `MOABB <https://github.com/NeuroTechX/moabb>`_, install it:
125
+
126
+ .. code-block:: bash
127
+
128
+ pip install moabb
129
+
130
+ 3. Install latest release of braindecode via pip:
131
+
132
+ .. code-block:: bash
133
+
134
+ pip install braindecode
135
+
136
+ If you want to install the latest development version of braindecode, please refer to `contributing page <https://github.com/braindecode/braindecode/blob/master/CONTRIBUTING.md>`__
137
+
138
+
139
+ Documentation
140
+ =============
141
+
142
+ Documentation is online under https://braindecode.org, both in the stable and dev versions.
143
+
144
+
145
+ Contributing to Braindecode
146
+ ===========================
147
+
148
+ Guidelines for contributing to the library can be found on the braindecode github:
149
+
150
+ https://github.com/braindecode/braindecode/blob/master/CONTRIBUTING.md
151
+
152
+ Braindecode chat
153
+ ================
154
+
155
+ https://gitter.im/braindecodechat/community
156
+
157
+ Citing
158
+ ======
159
+
160
+ If you use Braindecode in scientific work, please cite the software using the Zenodo DOI shown in the badge below:
161
+
162
+ .. image:: https://zenodo.org/badge/232335424.svg
163
+ :target: https://doi.org/10.5281/zenodo.8214376
164
+ :alt: DOI
165
+
166
+ Additionally, we highly encourage you to cite the article that originally introduced
167
+ the Braindecode library and has served as a foundational reference for many works
168
+ on deep learning with EEG recordings. Please use the following reference:
169
+
170
+ .. code-block:: bibtex
171
+
172
+ @article {HBM:HBM23730,
173
+ author = {Schirrmeister, Robin Tibor and Springenberg, Jost Tobias and Fiederer,
174
+ Lukas Dominique Josef and Glasstetter, Martin and Eggensperger, Katharina and Tangermann, Michael and
175
+ Hutter, Frank and Burgard, Wolfram and Ball, Tonio},
176
+ title = {Deep learning with convolutional neural networks for EEG decoding and visualization},
177
+ journal = {Human Brain Mapping},
178
+ issn = {1097-0193},
179
+ url = {http://dx.doi.org/10.1002/hbm.23730},
180
+ doi = {10.1002/hbm.23730},
181
+ month = {aug},
182
+ year = {2017},
183
+ keywords = {electroencephalography, EEG analysis, machine learning, end-to-end learning, brain–machine interface,
184
+ brain–computer interface, model interpretability, brain mapping},
185
+ }
186
+
187
+ as well as the `MNE-Python <https://mne.tools>`_ software that is used by braindecode:
188
+
189
+ .. code-block:: bibtex
190
+
191
+ @article{10.3389/fnins.2013.00267,
192
+ author={Gramfort, Alexandre and Luessi, Martin and Larson, Eric and Engemann, Denis and Strohmeier, Daniel and Brodbeck, Christian and Goj, Roman and Jas, Mainak and Brooks, Teon and Parkkonen, Lauri and Hämäläinen, Matti},
193
+ title={{MEG and EEG data analysis with MNE-Python}},
194
+ journal={Frontiers in Neuroscience},
195
+ volume={7},
196
+ pages={267},
197
+ year={2013},
198
+ url={https://www.frontiersin.org/article/10.3389/fnins.2013.00267},
199
+ doi={10.3389/fnins.2013.00267},
200
+ issn={1662-453X},
201
+ }
202
+
203
+
204
+
205
+
206
+ Licensing
207
+ ^^^^^^^^^
208
+
209
+ This project is primarily licensed under the BSD-3-Clause License.
210
+
211
+ Additional Components
212
+ ~~~~~~~~~~~~~~~~~~~~~
213
+
214
+ Some components within this repository are licensed under the Creative Commons Attribution-NonCommercial 4.0 International
215
+ License.
216
+
217
+ Please refer to the ``LICENSE`` and ``NOTICE`` files for more detailed
218
+ information.
@@ -0,0 +1,135 @@
1
+ .. image:: https://zenodo.org/badge/232335424.svg
2
+ :target: https://doi.org/10.5281/zenodo.8214376
3
+ :alt: DOI
4
+
5
+ .. image:: https://badges.gitter.im/braindecodechat/community.svg
6
+ :alt: Join the chat at https://gitter.im/braindecodechat/community
7
+ :target: https://gitter.im/braindecodechat/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
8
+
9
+ .. image:: https://github.com/braindecode/braindecode/workflows/docs/badge.svg
10
+ :target: https://github.com/braindecode/braindecode/actions
11
+
12
+ .. image:: https://circleci.com/gh/braindecode/braindecode.svg?style=svg
13
+ :target: https://circleci.com/gh/braindecode/braindecode
14
+ :alt: Doc build on CircleCI
15
+
16
+ .. image:: https://codecov.io/gh/braindecode/braindecode/branch/master/graph/badge.svg
17
+ :target: https://codecov.io/gh/braindecode/braindecode
18
+ :alt: Code Coverage
19
+
20
+
21
+ .. |Braindecode| image:: https://user-images.githubusercontent.com/42702466/177958779-b00628aa-9155-4c51-96d1-d8c345aff575.svg
22
+ .. _braindecode: braindecode.org/
23
+
24
+ Braindecode
25
+ ===========
26
+
27
+ Braindecode is an open-source Python toolbox for decoding raw electrophysiological brain
28
+ data with deep learning models. It includes dataset fetchers, data preprocessing and
29
+ visualization tools, as well as implementations of several deep learning
30
+ architectures and data augmentations for analysis of EEG, ECoG and MEG.
31
+
32
+ For neuroscientists who want to work with deep learning and
33
+ deep learning researchers who want to work with neurophysiological data.
34
+
35
+
36
+ Installation Braindecode
37
+ ========================
38
+
39
+ 1. Install pytorch from http://pytorch.org/ (you don't need to install torchvision).
40
+
41
+ 2. If you want to download EEG datasets from `MOABB <https://github.com/NeuroTechX/moabb>`_, install it:
42
+
43
+ .. code-block:: bash
44
+
45
+ pip install moabb
46
+
47
+ 3. Install latest release of braindecode via pip:
48
+
49
+ .. code-block:: bash
50
+
51
+ pip install braindecode
52
+
53
+ If you want to install the latest development version of braindecode, please refer to `contributing page <https://github.com/braindecode/braindecode/blob/master/CONTRIBUTING.md>`__
54
+
55
+
56
+ Documentation
57
+ =============
58
+
59
+ Documentation is online under https://braindecode.org, both in the stable and dev versions.
60
+
61
+
62
+ Contributing to Braindecode
63
+ ===========================
64
+
65
+ Guidelines for contributing to the library can be found on the braindecode github:
66
+
67
+ https://github.com/braindecode/braindecode/blob/master/CONTRIBUTING.md
68
+
69
+ Braindecode chat
70
+ ================
71
+
72
+ https://gitter.im/braindecodechat/community
73
+
74
+ Citing
75
+ ======
76
+
77
+ If you use Braindecode in scientific work, please cite the software using the Zenodo DOI shown in the badge below:
78
+
79
+ .. image:: https://zenodo.org/badge/232335424.svg
80
+ :target: https://doi.org/10.5281/zenodo.8214376
81
+ :alt: DOI
82
+
83
+ Additionally, we highly encourage you to cite the article that originally introduced
84
+ the Braindecode library and has served as a foundational reference for many works
85
+ on deep learning with EEG recordings. Please use the following reference:
86
+
87
+ .. code-block:: bibtex
88
+
89
+ @article {HBM:HBM23730,
90
+ author = {Schirrmeister, Robin Tibor and Springenberg, Jost Tobias and Fiederer,
91
+ Lukas Dominique Josef and Glasstetter, Martin and Eggensperger, Katharina and Tangermann, Michael and
92
+ Hutter, Frank and Burgard, Wolfram and Ball, Tonio},
93
+ title = {Deep learning with convolutional neural networks for EEG decoding and visualization},
94
+ journal = {Human Brain Mapping},
95
+ issn = {1097-0193},
96
+ url = {http://dx.doi.org/10.1002/hbm.23730},
97
+ doi = {10.1002/hbm.23730},
98
+ month = {aug},
99
+ year = {2017},
100
+ keywords = {electroencephalography, EEG analysis, machine learning, end-to-end learning, brain–machine interface,
101
+ brain–computer interface, model interpretability, brain mapping},
102
+ }
103
+
104
+ as well as the `MNE-Python <https://mne.tools>`_ software that is used by braindecode:
105
+
106
+ .. code-block:: bibtex
107
+
108
+ @article{10.3389/fnins.2013.00267,
109
+ author={Gramfort, Alexandre and Luessi, Martin and Larson, Eric and Engemann, Denis and Strohmeier, Daniel and Brodbeck, Christian and Goj, Roman and Jas, Mainak and Brooks, Teon and Parkkonen, Lauri and Hämäläinen, Matti},
110
+ title={{MEG and EEG data analysis with MNE-Python}},
111
+ journal={Frontiers in Neuroscience},
112
+ volume={7},
113
+ pages={267},
114
+ year={2013},
115
+ url={https://www.frontiersin.org/article/10.3389/fnins.2013.00267},
116
+ doi={10.3389/fnins.2013.00267},
117
+ issn={1662-453X},
118
+ }
119
+
120
+
121
+
122
+
123
+ Licensing
124
+ ^^^^^^^^^
125
+
126
+ This project is primarily licensed under the BSD-3-Clause License.
127
+
128
+ Additional Components
129
+ ~~~~~~~~~~~~~~~~~~~~~
130
+
131
+ Some components within this repository are licensed under the Creative Commons Attribution-NonCommercial 4.0 International
132
+ License.
133
+
134
+ Please refer to the ``LICENSE`` and ``NOTICE`` files for more detailed
135
+ information.
@@ -0,0 +1,9 @@
1
+ from .classifier import EEGClassifier
2
+ from .regressor import EEGRegressor
3
+ from .version import __version__
4
+
5
+ __all__ = [
6
+ "__version__",
7
+ "EEGClassifier",
8
+ "EEGRegressor",
9
+ ]
@@ -0,0 +1,54 @@
1
+ """
2
+ Utilities for data augmentation.
3
+ """
4
+
5
+ from . import functional
6
+ from .base import AugmentedDataLoader, Compose, IdentityTransform, Transform
7
+ from .transforms import (
8
+ AmplitudeScale,
9
+ BandstopFilter,
10
+ ChannelsDropout,
11
+ ChannelsReref,
12
+ ChannelsShuffle,
13
+ ChannelsSymmetry,
14
+ FrequencyShift,
15
+ FTSurrogate,
16
+ GaussianNoise,
17
+ MaskEncoding,
18
+ Mixup,
19
+ SegmentationReconstruction,
20
+ SensorsRotation,
21
+ SensorsXRotation,
22
+ SensorsYRotation,
23
+ SensorsZRotation,
24
+ SignFlip,
25
+ SmoothTimeMask,
26
+ TimeReverse,
27
+ )
28
+
29
+ __all__ = [
30
+ "Transform",
31
+ "IdentityTransform",
32
+ "Compose",
33
+ "AugmentedDataLoader",
34
+ "TimeReverse",
35
+ "SignFlip",
36
+ "FTSurrogate",
37
+ "ChannelsShuffle",
38
+ "ChannelsDropout",
39
+ "GaussianNoise",
40
+ "ChannelsSymmetry",
41
+ "SmoothTimeMask",
42
+ "BandstopFilter",
43
+ "FrequencyShift",
44
+ "SensorsRotation",
45
+ "SensorsZRotation",
46
+ "SensorsYRotation",
47
+ "SensorsXRotation",
48
+ "Mixup",
49
+ "SegmentationReconstruction",
50
+ "MaskEncoding",
51
+ "AmplitudeScale",
52
+ "ChannelsReref",
53
+ "functional",
54
+ ]