braindecode 0.8.1__tar.gz → 1.1.0__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 (439) hide show
  1. {braindecode-0.8.1 → braindecode-1.1.0}/LICENSE.txt +1 -1
  2. {braindecode-0.8.1 → braindecode-1.1.0}/MANIFEST.in +3 -0
  3. braindecode-1.1.0/NOTICE.txt +20 -0
  4. {braindecode-0.8.1/braindecode.egg-info → braindecode-1.1.0}/PKG-INFO +25 -41
  5. {braindecode-0.8.1 → braindecode-1.1.0}/README.rst +10 -34
  6. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/__init__.py +1 -2
  7. braindecode-1.1.0/braindecode/augmentation/__init__.py +50 -0
  8. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/augmentation/base.py +25 -28
  9. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/augmentation/functional.py +237 -100
  10. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/augmentation/transforms.py +325 -158
  11. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/classifier.py +26 -24
  12. braindecode-1.1.0/braindecode/datasets/__init__.py +34 -0
  13. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/base.py +220 -134
  14. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/bbci.py +43 -52
  15. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/bcicomp.py +47 -32
  16. braindecode-1.1.0/braindecode/datasets/bids.py +245 -0
  17. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/mne.py +45 -24
  18. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/moabb.py +87 -27
  19. braindecode-1.1.0/braindecode/datasets/nmt.py +311 -0
  20. braindecode-1.1.0/braindecode/datasets/sleep_physio_challe_18.py +412 -0
  21. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/sleep_physionet.py +43 -26
  22. braindecode-1.1.0/braindecode/datasets/tuh.py +588 -0
  23. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/xy.py +27 -12
  24. braindecode-1.1.0/braindecode/datautil/__init__.py +52 -0
  25. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datautil/serialization.py +110 -72
  26. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/eegneuralnet.py +63 -47
  27. braindecode-1.1.0/braindecode/functional/__init__.py +22 -0
  28. braindecode-1.1.0/braindecode/functional/functions.py +250 -0
  29. braindecode-1.1.0/braindecode/functional/initialization.py +47 -0
  30. braindecode-1.1.0/braindecode/models/__init__.py +100 -0
  31. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/atcnet.py +193 -164
  32. braindecode-1.1.0/braindecode/models/attentionbasenet.py +599 -0
  33. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/base.py +86 -102
  34. braindecode-1.1.0/braindecode/models/biot.py +504 -0
  35. braindecode-1.1.0/braindecode/models/contrawr.py +317 -0
  36. braindecode-1.1.0/braindecode/models/ctnet.py +536 -0
  37. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/deep4.py +116 -77
  38. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/deepsleepnet.py +149 -119
  39. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/eegconformer.py +112 -173
  40. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/eeginception_erp.py +109 -118
  41. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/eeginception_mi.py +161 -97
  42. braindecode-1.1.0/braindecode/models/eegitnet.py +300 -0
  43. braindecode-1.1.0/braindecode/models/eegminer.py +254 -0
  44. braindecode-1.1.0/braindecode/models/eegnet.py +472 -0
  45. braindecode-1.1.0/braindecode/models/eegnex.py +247 -0
  46. braindecode-1.1.0/braindecode/models/eegresnet.py +362 -0
  47. braindecode-1.1.0/braindecode/models/eegsimpleconv.py +199 -0
  48. braindecode-1.1.0/braindecode/models/eegtcnet.py +335 -0
  49. braindecode-1.1.0/braindecode/models/fbcnet.py +221 -0
  50. braindecode-1.1.0/braindecode/models/fblightconvnet.py +313 -0
  51. braindecode-1.1.0/braindecode/models/fbmsnet.py +324 -0
  52. braindecode-1.1.0/braindecode/models/hybrid.py +126 -0
  53. braindecode-1.1.0/braindecode/models/ifnet.py +441 -0
  54. braindecode-1.1.0/braindecode/models/labram.py +1186 -0
  55. braindecode-1.1.0/braindecode/models/msvtnet.py +375 -0
  56. braindecode-1.1.0/braindecode/models/sccnet.py +207 -0
  57. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/shallow_fbcsp.py +50 -56
  58. braindecode-1.1.0/braindecode/models/signal_jepa.py +1011 -0
  59. braindecode-1.1.0/braindecode/models/sinc_shallow.py +337 -0
  60. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/sleep_stager_blanco_2020.py +55 -46
  61. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/sleep_stager_chambon_2018.py +54 -53
  62. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/sleep_stager_eldele_2021.py +247 -141
  63. braindecode-1.1.0/braindecode/models/sparcnet.py +424 -0
  64. braindecode-1.1.0/braindecode/models/summary.csv +41 -0
  65. braindecode-1.1.0/braindecode/models/syncnet.py +232 -0
  66. braindecode-1.1.0/braindecode/models/tcn.py +273 -0
  67. braindecode-1.1.0/braindecode/models/tidnet.py +395 -0
  68. braindecode-1.1.0/braindecode/models/tsinception.py +283 -0
  69. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/usleep.py +190 -177
  70. braindecode-1.1.0/braindecode/models/util.py +129 -0
  71. braindecode-1.1.0/braindecode/modules/__init__.py +84 -0
  72. braindecode-1.1.0/braindecode/modules/activation.py +60 -0
  73. braindecode-1.1.0/braindecode/modules/attention.py +757 -0
  74. braindecode-1.1.0/braindecode/modules/blocks.py +108 -0
  75. braindecode-1.1.0/braindecode/modules/convolution.py +274 -0
  76. braindecode-1.1.0/braindecode/modules/filter.py +628 -0
  77. braindecode-1.1.0/braindecode/modules/layers.py +131 -0
  78. braindecode-1.1.0/braindecode/modules/linear.py +49 -0
  79. braindecode-1.1.0/braindecode/modules/parametrization.py +38 -0
  80. braindecode-1.1.0/braindecode/modules/stats.py +77 -0
  81. braindecode-1.1.0/braindecode/modules/util.py +76 -0
  82. braindecode-1.1.0/braindecode/modules/wrapper.py +73 -0
  83. braindecode-1.1.0/braindecode/preprocessing/__init__.py +37 -0
  84. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/preprocessing/mne_preprocess.py +13 -7
  85. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/preprocessing/preprocess.py +139 -75
  86. braindecode-1.1.0/braindecode/preprocessing/windowers.py +1031 -0
  87. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/regressor.py +23 -12
  88. braindecode-1.1.0/braindecode/samplers/__init__.py +18 -0
  89. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/samplers/base.py +146 -32
  90. braindecode-1.1.0/braindecode/samplers/ssl.py +263 -0
  91. braindecode-1.1.0/braindecode/training/__init__.py +23 -0
  92. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/training/callbacks.py +2 -4
  93. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/training/losses.py +3 -8
  94. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/training/scoring.py +76 -68
  95. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/util.py +55 -59
  96. braindecode-1.1.0/braindecode/version.py +1 -0
  97. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/visualization/__init__.py +2 -3
  98. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/visualization/confusion_matrices.py +117 -73
  99. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/visualization/gradients.py +14 -10
  100. {braindecode-0.8.1 → braindecode-1.1.0/braindecode.egg-info}/PKG-INFO +25 -41
  101. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode.egg-info/SOURCES.txt +134 -13
  102. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode.egg-info/requires.txt +12 -5
  103. {braindecode-0.8.1 → braindecode-1.1.0}/docs/Makefile +6 -1
  104. {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/090305d06248840b75133975e5121f41/plot_sleep_staging_chambon2018.ipynb +14 -14
  105. braindecode-1.1.0/docs/_build/html/_downloads/0f2bf063e08b7d05b80e0004fcbbb6f9/benchmark_lazy_eager_loading.ipynb +183 -0
  106. {braindecode-0.8.1/docs/auto_examples/advanced_training → braindecode-1.1.0/docs/_build/html/_downloads/10fc813a8f78253f4bf301264950f5c1}/plot_bcic_iv_4_ecog_cropped.ipynb +27 -20
  107. {braindecode-0.8.1/docs/auto_examples/datasets_io → braindecode-1.1.0/docs/_build/html/_downloads/1c6590d134fa0befda654e89aa55b2ac}/plot_benchmark_preprocessing.ipynb +6 -6
  108. {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/1d879df548fa18be8c23d9ca0dc008d4/plot_data_augmentation.ipynb +12 -12
  109. {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/2466f8ec5c733d0bd65e187b45d875cc/plot_data_augmentation_search.ipynb +14 -14
  110. {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/263464a28477cf8decb861ae6e2e9be7/plot_how_train_test_and_tune.ipynb +20 -20
  111. braindecode-1.1.0/docs/_build/html/_downloads/3862cafd7f0d815e434319ffe525afc8/plot_bcic_iv_2a_moabb_cropped.ipynb +226 -0
  112. braindecode-1.1.0/docs/_build/html/_downloads/408ca4ffd0ea1f76faa9ef602734ac94/plot_tuh_eeg_corpus.ipynb +187 -0
  113. braindecode-1.1.0/docs/_build/html/_downloads/5030717acb00990b394b83314b0797d9/plot_bids_dataset_example.ipynb +97 -0
  114. braindecode-1.1.0/docs/_build/html/_downloads/75a73c7d94f3a671fd3dec28f4031ead/plot_regression.ipynb +212 -0
  115. {braindecode-0.8.1/docs/auto_examples/applied_examples → braindecode-1.1.0/docs/_build/html/_downloads/84fbcd59a346e5e56758285122dc69e2}/plot_sleep_staging_eldele2021.ipynb +14 -14
  116. {braindecode-0.8.1/docs/auto_examples/datasets_io → braindecode-1.1.0/docs/_build/html/_downloads/8616a7f968141825e56ab3e3d59be449}/plot_tuh_discrete_multitarget.ipynb +12 -12
  117. {braindecode-0.8.1/docs/auto_examples/applied_examples → braindecode-1.1.0/docs/_build/html/_downloads/8b5ba06718764b959e8dea1dd0bb97df}/plot_sleep_staging_usleep.ipynb +14 -14
  118. {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/91651c9d4fde110b4a53f5775a91acc5/plot_mne_dataset_example.ipynb +6 -6
  119. braindecode-1.1.0/docs/_build/html/_downloads/93fdea8cbadaf0e3afa2eb2be3ebc483/bcic_iv_4_ecog_trial.ipynb +376 -0
  120. {braindecode-0.8.1/docs/auto_examples/model_building → braindecode-1.1.0/docs/_build/html/_downloads/9a4447462c3b255ba7e5ca212bbadd52}/plot_bcic_iv_2a_moabb_trial.ipynb +15 -15
  121. braindecode-1.1.0/docs/_build/html/_downloads/a2f12129facb042643a99d4b9de1886d/bcic_iv_4_ecog_cropped.ipynb +345 -0
  122. braindecode-1.1.0/docs/_build/html/_downloads/a39e4245738e55e0eb7084c545ed05bc/plot_hyperparameter_tuning_with_scikit-learn.ipynb +257 -0
  123. {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/a6249715d3c30cb41c4af85938cca008/plot_moabb_dataset_example.ipynb +5 -5
  124. {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/a7ccc5c1d1d2775e08c053bb25c81a91/plot_bcic_iv_4_ecog_trial.ipynb +26 -19
  125. {braindecode-0.8.1/docs/auto_examples/model_building → braindecode-1.1.0/docs/_build/html/_downloads/a86d0c5f3a882a069df1683a708d3e25}/plot_train_in_pure_pytorch_and_pytorch_lightning.ipynb +18 -11
  126. {braindecode-0.8.1/docs/auto_examples/advanced_training → braindecode-1.1.0/docs/_build/html/_downloads/aa8426d97090e7b3062c4e4732c3214a}/plot_relative_positioning.ipynb +14 -14
  127. {braindecode-0.8.1/docs/auto_examples/datasets_io → braindecode-1.1.0/docs/_build/html/_downloads/b9d19304ecd233ea7a79d4365316ea49}/plot_load_save_datasets.ipynb +11 -4
  128. {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/f3c89d39e947a121c7920b4d415413a2/plot_split_dataset.ipynb +4 -4
  129. {braindecode-0.8.1/docs/auto_examples/datasets_io → braindecode-1.1.0/docs/_build/html/_downloads/f7b38cac92c078838442753121efc297}/plot_custom_dataset_example.ipynb +11 -4
  130. {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/fff46913db5173d3ae22c1113acffb45/plot_basic_training_epochs.ipynb +11 -11
  131. braindecode-1.1.0/docs/api.rst +566 -0
  132. braindecode-1.1.0/docs/auto_examples/advanced_training/bcic_iv_4_ecog_cropped.ipynb +345 -0
  133. braindecode-1.1.0/docs/auto_examples/advanced_training/bcic_iv_4_ecog_cropped.rst +626 -0
  134. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/advanced_training/index.rst +10 -7
  135. {braindecode-0.8.1/docs/_build/html/_downloads/10fc813a8f78253f4bf301264950f5c1 → braindecode-1.1.0/docs/auto_examples/advanced_training}/plot_bcic_iv_4_ecog_cropped.ipynb +27 -20
  136. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/advanced_training/plot_bcic_iv_4_ecog_cropped.rst +197 -292
  137. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/advanced_training/plot_data_augmentation.ipynb +12 -12
  138. braindecode-1.1.0/docs/auto_examples/advanced_training/plot_data_augmentation.rst +999 -0
  139. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/advanced_training/plot_data_augmentation_search.ipynb +14 -14
  140. braindecode-1.1.0/docs/auto_examples/advanced_training/plot_data_augmentation_search.rst +1137 -0
  141. {braindecode-0.8.1/docs/_build/html/_downloads/aa8426d97090e7b3062c4e4732c3214a → braindecode-1.1.0/docs/auto_examples/advanced_training}/plot_relative_positioning.ipynb +14 -14
  142. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/advanced_training/plot_relative_positioning.rst +244 -208
  143. braindecode-1.1.0/docs/auto_examples/advanced_training/sg_execution_times.rst +46 -0
  144. braindecode-1.1.0/docs/auto_examples/applied_examples/bcic_iv_4_ecog_trial.ipynb +376 -0
  145. braindecode-1.1.0/docs/auto_examples/applied_examples/bcic_iv_4_ecog_trial.rst +581 -0
  146. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/applied_examples/index.rst +11 -8
  147. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/applied_examples/plot_bcic_iv_4_ecog_trial.ipynb +26 -19
  148. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/applied_examples/plot_bcic_iv_4_ecog_trial.rst +197 -270
  149. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/applied_examples/plot_sleep_staging_chambon2018.ipynb +14 -14
  150. braindecode-1.1.0/docs/auto_examples/applied_examples/plot_sleep_staging_chambon2018.rst +1192 -0
  151. {braindecode-0.8.1/docs/_build/html/_downloads/84fbcd59a346e5e56758285122dc69e2 → braindecode-1.1.0/docs/auto_examples/applied_examples}/plot_sleep_staging_eldele2021.ipynb +14 -14
  152. braindecode-1.1.0/docs/auto_examples/applied_examples/plot_sleep_staging_eldele2021.rst +1399 -0
  153. {braindecode-0.8.1/docs/_build/html/_downloads/8b5ba06718764b959e8dea1dd0bb97df → braindecode-1.1.0/docs/auto_examples/applied_examples}/plot_sleep_staging_usleep.ipynb +14 -14
  154. braindecode-1.1.0/docs/auto_examples/applied_examples/plot_sleep_staging_usleep.rst +1252 -0
  155. braindecode-1.1.0/docs/auto_examples/applied_examples/plot_tuh_eeg_corpus.ipynb +187 -0
  156. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/applied_examples/plot_tuh_eeg_corpus.rst +161 -131
  157. braindecode-1.1.0/docs/auto_examples/applied_examples/sg_execution_times.rst +49 -0
  158. braindecode-1.1.0/docs/auto_examples/datasets_io/benchmark_lazy_eager_loading.ipynb +183 -0
  159. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/benchmark_lazy_eager_loading.rst +177 -108
  160. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/index.rst +26 -5
  161. {braindecode-0.8.1/docs/_build/html/_downloads/1c6590d134fa0befda654e89aa55b2ac → braindecode-1.1.0/docs/auto_examples/datasets_io}/plot_benchmark_preprocessing.ipynb +6 -6
  162. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_benchmark_preprocessing.rst +178 -193
  163. braindecode-1.1.0/docs/auto_examples/datasets_io/plot_bids_dataset_example.ipynb +97 -0
  164. braindecode-1.1.0/docs/auto_examples/datasets_io/plot_bids_dataset_example.rst +818 -0
  165. {braindecode-0.8.1/docs/_build/html/_downloads/f7b38cac92c078838442753121efc297 → braindecode-1.1.0/docs/auto_examples/datasets_io}/plot_custom_dataset_example.ipynb +11 -4
  166. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_custom_dataset_example.rst +48 -47
  167. {braindecode-0.8.1/docs/_build/html/_downloads/b9d19304ecd233ea7a79d4365316ea49 → braindecode-1.1.0/docs/auto_examples/datasets_io}/plot_load_save_datasets.ipynb +11 -4
  168. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_load_save_datasets.rst +130 -129
  169. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_mne_dataset_example.ipynb +6 -6
  170. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_mne_dataset_example.rst +40 -34
  171. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_moabb_dataset_example.ipynb +5 -5
  172. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_moabb_dataset_example.rst +107 -102
  173. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_split_dataset.ipynb +4 -4
  174. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_split_dataset.rst +49 -44
  175. {braindecode-0.8.1/docs/_build/html/_downloads/8616a7f968141825e56ab3e3d59be449 → braindecode-1.1.0/docs/auto_examples/datasets_io}/plot_tuh_discrete_multitarget.ipynb +12 -12
  176. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_tuh_discrete_multitarget.rst +59 -43
  177. braindecode-1.1.0/docs/auto_examples/datasets_io/sg_execution_times.rst +61 -0
  178. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/index.rst +56 -24
  179. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/index.rst +9 -6
  180. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_basic_training_epochs.ipynb +11 -11
  181. braindecode-1.1.0/docs/auto_examples/model_building/plot_basic_training_epochs.rst +1682 -0
  182. braindecode-1.1.0/docs/auto_examples/model_building/plot_bcic_iv_2a_moabb_cropped.ipynb +226 -0
  183. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_bcic_iv_2a_moabb_cropped.rst +127 -116
  184. {braindecode-0.8.1/docs/_build/html/_downloads/9a4447462c3b255ba7e5ca212bbadd52 → braindecode-1.1.0/docs/auto_examples/model_building}/plot_bcic_iv_2a_moabb_trial.ipynb +15 -15
  185. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_bcic_iv_2a_moabb_trial.rst +145 -130
  186. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_how_train_test_and_tune.ipynb +20 -20
  187. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_how_train_test_and_tune.rst +235 -175
  188. braindecode-1.1.0/docs/auto_examples/model_building/plot_hyperparameter_tuning_with_scikit-learn.ipynb +257 -0
  189. braindecode-1.1.0/docs/auto_examples/model_building/plot_hyperparameter_tuning_with_scikit-learn.rst +698 -0
  190. braindecode-1.1.0/docs/auto_examples/model_building/plot_regression.ipynb +212 -0
  191. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_regression.rst +129 -124
  192. {braindecode-0.8.1/docs/_build/html/_downloads/a86d0c5f3a882a069df1683a708d3e25 → braindecode-1.1.0/docs/auto_examples/model_building}/plot_train_in_pure_pytorch_and_pytorch_lightning.ipynb +18 -11
  193. {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_train_in_pure_pytorch_and_pytorch_lightning.rst +152 -143
  194. braindecode-1.1.0/docs/auto_examples/model_building/sg_execution_times.rst +55 -0
  195. braindecode-1.1.0/docs/auto_examples/sg_execution_times.rst +37 -0
  196. {braindecode-0.8.1 → braindecode-1.1.0}/docs/conf.py +161 -125
  197. braindecode-1.1.0/docs/generated/activation/braindecode.modules.LogActivation.rst +130 -0
  198. braindecode-1.1.0/docs/generated/activation/braindecode.modules.SafeLog.rst +135 -0
  199. braindecode-0.8.1/docs/generated/braindecode.models.TCN.rst → braindecode-1.1.0/docs/generated/attention/braindecode.modules.CAT.rst +9 -5
  200. braindecode-1.1.0/docs/generated/attention/braindecode.modules.CATLite.rst +130 -0
  201. braindecode-1.1.0/docs/generated/attention/braindecode.modules.CBAM.rst +130 -0
  202. braindecode-1.1.0/docs/generated/attention/braindecode.modules.ECA.rst +130 -0
  203. braindecode-1.1.0/docs/generated/attention/braindecode.modules.EncNet.rst +130 -0
  204. braindecode-1.1.0/docs/generated/attention/braindecode.modules.FCA.rst +137 -0
  205. braindecode-1.1.0/docs/generated/attention/braindecode.modules.GCT.rst +130 -0
  206. braindecode-1.1.0/docs/generated/attention/braindecode.modules.GSoP.rst +130 -0
  207. braindecode-1.1.0/docs/generated/attention/braindecode.modules.GatherExcite.rst +130 -0
  208. braindecode-1.1.0/docs/generated/attention/braindecode.modules.MultiHeadAttention.rst +130 -0
  209. braindecode-1.1.0/docs/generated/attention/braindecode.modules.SRM.rst +130 -0
  210. braindecode-1.1.0/docs/generated/attention/braindecode.modules.SqueezeAndExcitation.rst +130 -0
  211. braindecode-1.1.0/docs/generated/blocks/braindecode.modules.FeedForwardBlock.rst +127 -0
  212. braindecode-0.8.1/docs/generated/braindecode.models.TimeDistributed.rst → braindecode-1.1.0/docs/generated/blocks/braindecode.modules.InceptionBlock.rst +14 -4
  213. braindecode-1.1.0/docs/generated/blocks/braindecode.modules.MLP.rst +127 -0
  214. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.BandstopFilter.rst +10 -0
  215. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.ChannelsDropout.rst +10 -0
  216. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.ChannelsShuffle.rst +10 -0
  217. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.ChannelsSymmetry.rst +10 -0
  218. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.Compose.rst +10 -0
  219. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.FTSurrogate.rst +10 -0
  220. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.FrequencyShift.rst +10 -0
  221. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.GaussianNoise.rst +10 -0
  222. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.IdentityTransform.rst +10 -0
  223. braindecode-1.1.0/docs/generated/braindecode.augmentation.MaskEncoding.rst +139 -0
  224. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.Mixup.rst +10 -0
  225. braindecode-1.1.0/docs/generated/braindecode.augmentation.SegmentationReconstruction.rst +139 -0
  226. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SensorsRotation.rst +10 -0
  227. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SensorsXRotation.rst +10 -0
  228. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SensorsYRotation.rst +10 -0
  229. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SensorsZRotation.rst +10 -0
  230. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SignFlip.rst +10 -0
  231. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SmoothTimeMask.rst +10 -0
  232. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.TimeReverse.rst +10 -0
  233. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.Transform.rst +10 -0
  234. braindecode-1.1.0/docs/generated/braindecode.augmentation.functional.mask_encoding.rst +12 -0
  235. braindecode-1.1.0/docs/generated/braindecode.augmentation.functional.segmentation_reconstruction.rst +12 -0
  236. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.classifier.EEGClassifier.rst +16 -0
  237. braindecode-1.1.0/docs/generated/braindecode.datasets.BIDSDataset.rst +29 -0
  238. braindecode-1.1.0/docs/generated/braindecode.datasets.BIDSEpochsDataset.rst +29 -0
  239. braindecode-1.1.0/docs/generated/braindecode.datasets.NMT.rst +29 -0
  240. braindecode-1.1.0/docs/generated/braindecode.datasets.SleepPhysionetChallenge2018.rst +29 -0
  241. braindecode-1.1.0/docs/generated/braindecode.functional.drop_path.rst +12 -0
  242. braindecode-1.1.0/docs/generated/braindecode.functional.glorot_weight_zero_bias.rst +12 -0
  243. braindecode-1.1.0/docs/generated/braindecode.functional.hilbert_freq.rst +12 -0
  244. braindecode-1.1.0/docs/generated/braindecode.functional.identity.rst +12 -0
  245. braindecode-1.1.0/docs/generated/braindecode.functional.plv_time.rst +12 -0
  246. braindecode-1.1.0/docs/generated/braindecode.functional.rescale_parameter.rst +12 -0
  247. braindecode-1.1.0/docs/generated/braindecode.functional.safe_log.rst +12 -0
  248. braindecode-1.1.0/docs/generated/braindecode.functional.square.rst +12 -0
  249. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.ATCNet.rst +10 -0
  250. braindecode-1.1.0/docs/generated/braindecode.models.AttentionBaseNet.rst +136 -0
  251. braindecode-1.1.0/docs/generated/braindecode.models.BDTCN.rst +136 -0
  252. braindecode-1.1.0/docs/generated/braindecode.models.BIOT.rst +136 -0
  253. braindecode-1.1.0/docs/generated/braindecode.models.CTNet.rst +136 -0
  254. braindecode-1.1.0/docs/generated/braindecode.models.ContraWR.rst +136 -0
  255. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.Deep4Net.rst +10 -0
  256. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.DeepSleepNet.rst +10 -0
  257. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGConformer.rst +10 -0
  258. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGITNet.rst +10 -0
  259. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGInceptionERP.rst +10 -0
  260. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGInceptionMI.rst +10 -0
  261. braindecode-1.1.0/docs/generated/braindecode.models.EEGMiner.rst +136 -0
  262. braindecode-1.1.0/docs/generated/braindecode.models.EEGNeX.rst +136 -0
  263. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGNetv1.rst +10 -0
  264. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGNetv4.rst +10 -0
  265. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGResNet.rst +10 -0
  266. braindecode-1.1.0/docs/generated/braindecode.models.EEGSimpleConv.rst +136 -0
  267. braindecode-1.1.0/docs/generated/braindecode.models.EEGTCNet.rst +136 -0
  268. braindecode-1.1.0/docs/generated/braindecode.models.FBCNet.rst +136 -0
  269. braindecode-1.1.0/docs/generated/braindecode.models.FBLightConvNet.rst +136 -0
  270. braindecode-1.1.0/docs/generated/braindecode.models.FBMSNet.rst +136 -0
  271. braindecode-1.1.0/docs/generated/braindecode.models.IFNet.rst +136 -0
  272. braindecode-1.1.0/docs/generated/braindecode.models.Labram.rst +171 -0
  273. braindecode-1.1.0/docs/generated/braindecode.models.MSVTNet.rst +136 -0
  274. braindecode-1.1.0/docs/generated/braindecode.models.SCCNet.rst +136 -0
  275. braindecode-1.1.0/docs/generated/braindecode.models.SPARCNet.rst +136 -0
  276. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.ShallowFBCSPNet.rst +10 -0
  277. braindecode-1.1.0/docs/generated/braindecode.models.SignalJEPA.rst +136 -0
  278. braindecode-1.1.0/docs/generated/braindecode.models.SignalJEPA_Contextual.rst +143 -0
  279. braindecode-1.1.0/docs/generated/braindecode.models.SignalJEPA_PostLocal.rst +143 -0
  280. braindecode-1.1.0/docs/generated/braindecode.models.SignalJEPA_PreLocal.rst +143 -0
  281. braindecode-1.1.0/docs/generated/braindecode.models.SincShallowNet.rst +136 -0
  282. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.SleepStagerBlanco2020.rst +10 -0
  283. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.SleepStagerChambon2018.rst +10 -0
  284. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.SleepStagerEldele2021.rst +10 -0
  285. braindecode-1.1.0/docs/generated/braindecode.models.SyncNet.rst +136 -0
  286. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.TIDNet.rst +10 -0
  287. braindecode-1.1.0/docs/generated/braindecode.models.TSceptionV1.rst +136 -0
  288. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.USleep.rst +10 -0
  289. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.regressor.EEGRegressor.rst +16 -0
  290. braindecode-1.1.0/docs/generated/braindecode.samplers.DistributedRecordingSampler.rst +41 -0
  291. braindecode-1.1.0/docs/generated/braindecode.samplers.DistributedRelativePositioningSampler.rst +38 -0
  292. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.CroppedLoss.rst +10 -0
  293. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.TimeSeriesLoss.rst +10 -0
  294. braindecode-1.1.0/docs/generated/convolution/braindecode.modules.AvgPool2dWithConv.rst +130 -0
  295. braindecode-1.1.0/docs/generated/convolution/braindecode.modules.CausalConv1d.rst +132 -0
  296. braindecode-1.1.0/docs/generated/convolution/braindecode.modules.CombinedConv.rst +130 -0
  297. braindecode-1.1.0/docs/generated/convolution/braindecode.modules.Conv2dWithConstraint.rst +121 -0
  298. braindecode-0.8.1/docs/generated/braindecode.models.EEGInception.rst → braindecode-1.1.0/docs/generated/convolution/braindecode.modules.DepthwiseConv2d.rst +5 -7
  299. braindecode-1.1.0/docs/generated/filter/braindecode.modules.FilterBankLayer.rst +130 -0
  300. braindecode-1.1.0/docs/generated/filter/braindecode.modules.GeneralizedGaussianFilter.rst +144 -0
  301. braindecode-1.1.0/docs/generated/layers/braindecode.modules.Chomp1d.rst +135 -0
  302. braindecode-1.1.0/docs/generated/layers/braindecode.modules.DropPath.rst +135 -0
  303. braindecode-0.8.1/docs/generated/braindecode.models.HybridNet.rst → braindecode-1.1.0/docs/generated/layers/braindecode.modules.Ensure4d.rst +8 -4
  304. braindecode-1.1.0/docs/generated/layers/braindecode.modules.TimeDistributed.rst +130 -0
  305. braindecode-1.1.0/docs/generated/linear/braindecode.modules.LinearWithConstraint.rst +121 -0
  306. braindecode-1.1.0/docs/generated/linear/braindecode.modules.MaxNormLinear.rst +121 -0
  307. braindecode-1.1.0/docs/generated/stats/braindecode.modules.LogPowerLayer.rst +6 -0
  308. braindecode-1.1.0/docs/generated/stats/braindecode.modules.LogVarLayer.rst +6 -0
  309. braindecode-1.1.0/docs/generated/stats/braindecode.modules.MaxLayer.rst +6 -0
  310. braindecode-1.1.0/docs/generated/stats/braindecode.modules.MeanLayer.rst +6 -0
  311. braindecode-1.1.0/docs/generated/stats/braindecode.modules.StatLayer.rst +130 -0
  312. braindecode-1.1.0/docs/generated/stats/braindecode.modules.StdLayer.rst +6 -0
  313. braindecode-1.1.0/docs/generated/stats/braindecode.modules.VarLayer.rst +6 -0
  314. braindecode-1.1.0/docs/generated/util/braindecode.modules.aggregate_probas.rst +12 -0
  315. braindecode-1.1.0/docs/generated/wrapper/braindecode.modules.Expression.rst +130 -0
  316. braindecode-1.1.0/docs/generated/wrapper/braindecode.modules.IntermediateOutputWrapper.rst +130 -0
  317. {braindecode-0.8.1 → braindecode-1.1.0}/docs/help.rst +7 -19
  318. {braindecode-0.8.1 → braindecode-1.1.0}/docs/index.rst +2 -1
  319. {braindecode-0.8.1 → braindecode-1.1.0}/docs/install/install.rst +5 -3
  320. {braindecode-0.8.1 → braindecode-1.1.0}/docs/install/install_pip.rst +6 -4
  321. {braindecode-0.8.1 → braindecode-1.1.0}/docs/install/install_source.rst +6 -4
  322. braindecode-1.1.0/docs/models_summary.rst +134 -0
  323. braindecode-1.1.0/docs/sg_execution_times.rst +109 -0
  324. {braindecode-0.8.1 → braindecode-1.1.0}/docs/whats_new.rst +138 -16
  325. braindecode-1.1.0/pyproject.toml +123 -0
  326. {braindecode-0.8.1 → braindecode-1.1.0}/setup.cfg +8 -0
  327. braindecode-0.8.1/braindecode/augmentation/__init__.py +0 -30
  328. braindecode-0.8.1/braindecode/datasets/__init__.py +0 -16
  329. braindecode-0.8.1/braindecode/datasets/tuh.py +0 -404
  330. braindecode-0.8.1/braindecode/datautil/__init__.py +0 -33
  331. braindecode-0.8.1/braindecode/datautil/mne.py +0 -9
  332. braindecode-0.8.1/braindecode/datautil/preprocess.py +0 -12
  333. braindecode-0.8.1/braindecode/datautil/windowers.py +0 -6
  334. braindecode-0.8.1/braindecode/datautil/xy.py +0 -9
  335. braindecode-0.8.1/braindecode/models/__init__.py +0 -30
  336. braindecode-0.8.1/braindecode/models/eeginception.py +0 -317
  337. braindecode-0.8.1/braindecode/models/eegitnet.py +0 -237
  338. braindecode-0.8.1/braindecode/models/eegnet.py +0 -405
  339. braindecode-0.8.1/braindecode/models/eegresnet.py +0 -280
  340. braindecode-0.8.1/braindecode/models/functions.py +0 -47
  341. braindecode-0.8.1/braindecode/models/hybrid.py +0 -145
  342. braindecode-0.8.1/braindecode/models/modules.py +0 -358
  343. braindecode-0.8.1/braindecode/models/tcn.py +0 -203
  344. braindecode-0.8.1/braindecode/models/tidnet.py +0 -282
  345. braindecode-0.8.1/braindecode/models/util.py +0 -165
  346. braindecode-0.8.1/braindecode/preprocessing/__init__.py +0 -12
  347. braindecode-0.8.1/braindecode/preprocessing/windowers.py +0 -642
  348. braindecode-0.8.1/braindecode/samplers/__init__.py +0 -10
  349. braindecode-0.8.1/braindecode/samplers/ssl.py +0 -118
  350. braindecode-0.8.1/braindecode/training/__init__.py +0 -15
  351. braindecode-0.8.1/braindecode/version.py +0 -1
  352. braindecode-0.8.1/docs/_build/html/_downloads/0f2bf063e08b7d05b80e0004fcbbb6f9/benchmark_lazy_eager_loading.ipynb +0 -183
  353. braindecode-0.8.1/docs/_build/html/_downloads/3862cafd7f0d815e434319ffe525afc8/plot_bcic_iv_2a_moabb_cropped.ipynb +0 -226
  354. braindecode-0.8.1/docs/_build/html/_downloads/408ca4ffd0ea1f76faa9ef602734ac94/plot_tuh_eeg_corpus.ipynb +0 -187
  355. braindecode-0.8.1/docs/_build/html/_downloads/75a73c7d94f3a671fd3dec28f4031ead/plot_regression.ipynb +0 -212
  356. braindecode-0.8.1/docs/_build/html/_downloads/a39e4245738e55e0eb7084c545ed05bc/plot_hyperparameter_tuning_with_scikit-learn.ipynb +0 -257
  357. braindecode-0.8.1/docs/api.rst +0 -256
  358. braindecode-0.8.1/docs/auto_examples/advanced_training/plot_data_augmentation.rst +0 -587
  359. braindecode-0.8.1/docs/auto_examples/advanced_training/plot_data_augmentation_search.rst +0 -720
  360. braindecode-0.8.1/docs/auto_examples/advanced_training/sg_execution_times.rst +0 -19
  361. braindecode-0.8.1/docs/auto_examples/applied_examples/plot_sleep_staging_chambon2018.rst +0 -697
  362. braindecode-0.8.1/docs/auto_examples/applied_examples/plot_sleep_staging_eldele2021.rst +0 -793
  363. braindecode-0.8.1/docs/auto_examples/applied_examples/plot_sleep_staging_usleep.rst +0 -711
  364. braindecode-0.8.1/docs/auto_examples/applied_examples/plot_tuh_eeg_corpus.ipynb +0 -187
  365. braindecode-0.8.1/docs/auto_examples/applied_examples/sg_execution_times.rst +0 -21
  366. braindecode-0.8.1/docs/auto_examples/datasets_io/benchmark_lazy_eager_loading.ipynb +0 -183
  367. braindecode-0.8.1/docs/auto_examples/datasets_io/sg_execution_times.rst +0 -27
  368. braindecode-0.8.1/docs/auto_examples/model_building/plot_basic_training_epochs.rst +0 -588
  369. braindecode-0.8.1/docs/auto_examples/model_building/plot_bcic_iv_2a_moabb_cropped.ipynb +0 -226
  370. braindecode-0.8.1/docs/auto_examples/model_building/plot_hyperparameter_tuning_with_scikit-learn.ipynb +0 -257
  371. braindecode-0.8.1/docs/auto_examples/model_building/plot_hyperparameter_tuning_with_scikit-learn.rst +0 -724
  372. braindecode-0.8.1/docs/auto_examples/model_building/plot_regression.ipynb +0 -212
  373. braindecode-0.8.1/docs/auto_examples/model_building/sg_execution_times.rst +0 -25
  374. braindecode-0.8.1/docs/generated/braindecode.models.get_output_shape.rst +0 -12
  375. braindecode-0.8.1/docs/generated/braindecode.preprocessing.scale.rst +0 -12
  376. braindecode-0.8.1/pyproject.toml +0 -95
  377. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datautil/util.py +0 -0
  378. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode.egg-info/dependency_links.txt +0 -0
  379. {braindecode-0.8.1 → braindecode-1.1.0}/braindecode.egg-info/top_level.txt +0 -0
  380. {braindecode-0.8.1 → braindecode-1.1.0}/docs/_templates/autosummary/class.rst +0 -0
  381. {braindecode-0.8.1 → braindecode-1.1.0}/docs/_templates/autosummary/function.rst +0 -0
  382. {braindecode-0.8.1 → braindecode-1.1.0}/docs/cite.rst +0 -0
  383. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.AugmentedDataLoader.rst +0 -0
  384. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.bandstop_filter.rst +0 -0
  385. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.channels_dropout.rst +0 -0
  386. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.channels_permute.rst +0 -0
  387. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.channels_shuffle.rst +0 -0
  388. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.frequency_shift.rst +0 -0
  389. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.ft_surrogate.rst +0 -0
  390. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.gaussian_noise.rst +0 -0
  391. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.identity.rst +0 -0
  392. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.mixup.rst +0 -0
  393. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.sensors_rotation.rst +0 -0
  394. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.sign_flip.rst +0 -0
  395. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.smooth_time_mask.rst +0 -0
  396. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.time_reverse.rst +0 -0
  397. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.BCICompetitionIVDataset4.rst +0 -0
  398. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.BNCI2014001.rst +0 -0
  399. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.BaseConcatDataset.rst +0 -0
  400. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.BaseDataset.rst +0 -0
  401. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.HGD.rst +0 -0
  402. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.MOABBDataset.rst +0 -0
  403. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.SleepPhysionet.rst +0 -0
  404. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.TUH.rst +0 -0
  405. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.TUHAbnormal.rst +0 -0
  406. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.WindowsDataset.rst +0 -0
  407. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.create_from_X_y.rst +0 -0
  408. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.create_from_mne_epochs.rst +0 -0
  409. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.create_from_mne_raw.rst +0 -0
  410. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datautil.load_concat_dataset.rst +0 -0
  411. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datautil.save_concat_dataset.rst +0 -0
  412. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGModuleMixin.rst +0 -0
  413. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.Crop.rst +0 -0
  414. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.DropChannels.rst +0 -0
  415. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.Filter.rst +0 -0
  416. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.Pick.rst +0 -0
  417. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.Preprocessor.rst +0 -0
  418. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.Resample.rst +0 -0
  419. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.SetEEGReference.rst +0 -0
  420. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.create_fixed_length_windows.rst +0 -0
  421. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.create_windows_from_events.rst +0 -0
  422. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.create_windows_from_target_channels.rst +0 -0
  423. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.exponential_moving_demean.rst +0 -0
  424. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.exponential_moving_standardize.rst +0 -0
  425. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.filterbank.rst +0 -0
  426. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.preprocess.rst +0 -0
  427. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.samplers.BalancedSequenceSampler.rst +0 -0
  428. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.samplers.RecordingSampler.rst +0 -0
  429. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.samplers.RelativePositioningSampler.rst +0 -0
  430. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.samplers.SequenceSampler.rst +0 -0
  431. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.CroppedTimeSeriesEpochScoring.rst +0 -0
  432. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.CroppedTrialEpochScoring.rst +0 -0
  433. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.PostEpochTrainScoring.rst +0 -0
  434. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.mixup_criterion.rst +0 -0
  435. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.predict_trials.rst +0 -0
  436. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.trial_preds_from_window_preds.rst +0 -0
  437. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.util.set_random_seeds.rst +0 -0
  438. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.visualization.compute_amplitude_gradients.rst +0 -0
  439. {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.visualization.plot_confusion_matrix.rst +0 -0
@@ -1,6 +1,6 @@
1
1
  BSD 3-Clause License
2
2
 
3
- Copyright (c) 2017-2020 Braindecode Developers
3
+ Copyright (c) 2017-currently Braindecode Developers
4
4
  All rights reserved.
5
5
 
6
6
  Redistribution and use in source and binary forms, with or without modification,
@@ -1,5 +1,8 @@
1
1
  include README.rst
2
2
  include LICENSE.txt
3
+ include NOTICE.txt
4
+
5
+ include braindecode/models/summary.csv
3
6
 
4
7
  recursive-include docs *.ipynb *.rst conf.py Makefile
5
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/)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: braindecode
3
- Version: 0.8.1
3
+ Version: 1.1.0
4
4
  Summary: Deep learning software to decode EEG, ECG or MEG signals
5
5
  Author-email: Robin Tibor Schirrmeister <robintibor@gmail.com>
6
6
  Maintainer-email: Alexandre Gramfort <agramfort@meta.com>, Bruno Aristimunha Pinto <b.aristimunha@gmail.com>, Robin Tibor Schirrmeister <robintibor@gmail.com>
@@ -15,32 +15,38 @@ Classifier: Intended Audience :: Science/Research
15
15
  Classifier: Topic :: Software Development :: Build Tools
16
16
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
17
17
  Classifier: License :: OSI Approved :: BSD License
18
- Classifier: Programming Language :: Python :: 3.8
19
- Classifier: Programming Language :: Python :: 3.9
20
18
  Classifier: Programming Language :: Python :: 3.10
21
19
  Classifier: Programming Language :: Python :: 3.11
22
- Requires-Python: >=3.8
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Requires-Python: >3.9
23
22
  Description-Content-Type: text/x-rst
24
23
  License-File: LICENSE.txt
25
- Requires-Dist: mne
24
+ License-File: NOTICE.txt
25
+ Requires-Dist: mne>=1.10.0
26
+ Requires-Dist: mne_bids>=0.16
26
27
  Requires-Dist: numpy
27
28
  Requires-Dist: pandas
28
29
  Requires-Dist: scipy
29
30
  Requires-Dist: matplotlib
30
31
  Requires-Dist: h5py
31
- Requires-Dist: skorch
32
- Requires-Dist: torch
32
+ Requires-Dist: skorch~=0.14.0
33
+ Requires-Dist: torch~=2.0
34
+ Requires-Dist: torchaudio~=2.0
33
35
  Requires-Dist: einops
34
36
  Requires-Dist: joblib
35
- Requires-Dist: torchinfo
37
+ Requires-Dist: torchinfo~=1.8
38
+ Requires-Dist: wfdb
39
+ Requires-Dist: h5py
40
+ Requires-Dist: linear_attention_transformer
36
41
  Requires-Dist: docstring_inheritance
37
42
  Provides-Extra: moabb
38
- Requires-Dist: moabb>=1.0.0; extra == "moabb"
43
+ Requires-Dist: moabb>=1.2.0; extra == "moabb"
39
44
  Provides-Extra: tests
40
45
  Requires-Dist: pytest; extra == "tests"
41
46
  Requires-Dist: pytest-cov; extra == "tests"
42
47
  Requires-Dist: codecov; extra == "tests"
43
48
  Requires-Dist: pytest_cases; extra == "tests"
49
+ Requires-Dist: mypy; extra == "tests"
44
50
  Provides-Extra: docs
45
51
  Requires-Dist: sphinx_gallery; extra == "docs"
46
52
  Requires-Dist: sphinx_rtd_theme; extra == "docs"
@@ -53,6 +59,8 @@ Requires-Dist: sphinx_design; extra == "docs"
53
59
  Requires-Dist: lightning; extra == "docs"
54
60
  Requires-Dist: seaborn; extra == "docs"
55
61
  Requires-Dist: pre-commit; extra == "docs"
62
+ Requires-Dist: openneuro-py; extra == "docs"
63
+ Dynamic: license-file
56
64
 
57
65
  .. image:: https://badges.gitter.im/braindecodechat/community.svg
58
66
  :alt: Join the chat at https://gitter.im/braindecodechat/community
@@ -166,37 +174,13 @@ as well as the `MNE-Python <https://mne.tools>`_ software that is used by braind
166
174
  Licensing
167
175
  ^^^^^^^^^
168
176
 
169
- Braindecode is **BSD-licenced** (BSD-3-Clause):
170
-
171
- This software is OSI Certified Open Source Software.
172
- OSI Certified is a certification mark of the Open Source Initiative.
173
-
174
- Copyright (c) 2011-2022, authors of Braindecode.
175
- All rights reserved.
176
-
177
- Redistribution and use in source and binary forms, with or without
178
- modification, are permitted provided that the following conditions are met:
179
-
180
- * Redistributions of source code must retain the above copyright notice,
181
- this list of conditions and the following disclaimer.
177
+ This project is primarily licensed under the BSD-3-Clause License.
182
178
 
183
- * Redistributions in binary form must reproduce the above copyright notice,
184
- this list of conditions and the following disclaimer in the documentation
185
- and/or other materials provided with the distribution.
179
+ Additional Components
180
+ ~~~~~~~~~~~~~~~~~~~~~
186
181
 
187
- * Neither the names of braindecode authors nor the names of any
188
- contributors may be used to endorse or promote products derived from
189
- this software without specific prior written permission.
182
+ Some components within this repository are licensed under the Creative Commons Attribution-NonCommercial 4.0 International
183
+ License.
190
184
 
191
- **This software is provided by the copyright holders and contributors
192
- "as is" and any express or implied warranties, including, but not
193
- limited to, the implied warranties of merchantability and fitness for
194
- a particular purpose are disclaimed. In no event shall the copyright
195
- owner or contributors be liable for any direct, indirect, incidental,
196
- special, exemplary, or consequential damages (including, but not
197
- limited to, procurement of substitute goods or services; loss of use,
198
- data, or profits; or business interruption) however caused and on any
199
- theory of liability, whether in contract, strict liability, or tort
200
- (including negligence or otherwise) arising in any way out of the use
201
- of this software, even if advised of the possibility of such
202
- damage.**
185
+ Please refer to the ``LICENSE`` and ``NOTICE`` files for more detailed
186
+ information.
@@ -110,37 +110,13 @@ as well as the `MNE-Python <https://mne.tools>`_ software that is used by braind
110
110
  Licensing
111
111
  ^^^^^^^^^
112
112
 
113
- Braindecode is **BSD-licenced** (BSD-3-Clause):
114
-
115
- This software is OSI Certified Open Source Software.
116
- OSI Certified is a certification mark of the Open Source Initiative.
117
-
118
- Copyright (c) 2011-2022, authors of Braindecode.
119
- All rights reserved.
120
-
121
- Redistribution and use in source and binary forms, with or without
122
- modification, are permitted provided that the following conditions are met:
123
-
124
- * Redistributions of source code must retain the above copyright notice,
125
- this list of conditions and the following disclaimer.
126
-
127
- * Redistributions in binary form must reproduce the above copyright notice,
128
- this list of conditions and the following disclaimer in the documentation
129
- and/or other materials provided with the distribution.
130
-
131
- * Neither the names of braindecode authors nor the names of any
132
- contributors may be used to endorse or promote products derived from
133
- this software without specific prior written permission.
134
-
135
- **This software is provided by the copyright holders and contributors
136
- "as is" and any express or implied warranties, including, but not
137
- limited to, the implied warranties of merchantability and fitness for
138
- a particular purpose are disclaimed. In no event shall the copyright
139
- owner or contributors be liable for any direct, indirect, incidental,
140
- special, exemplary, or consequential damages (including, but not
141
- limited to, procurement of substitute goods or services; loss of use,
142
- data, or profits; or business interruption) however caused and on any
143
- theory of liability, whether in contract, strict liability, or tort
144
- (including negligence or otherwise) arising in any way out of the use
145
- of this software, even if advised of the possibility of such
146
- damage.**
113
+ This project is primarily licensed under the BSD-3-Clause License.
114
+
115
+ Additional Components
116
+ ~~~~~~~~~~~~~~~~~~~~~
117
+
118
+ Some components within this repository are licensed under the Creative Commons Attribution-NonCommercial 4.0 International
119
+ License.
120
+
121
+ Please refer to the ``LICENSE`` and ``NOTICE`` files for more detailed
122
+ information.
@@ -1,7 +1,6 @@
1
- from .version import __version__
2
-
3
1
  from .classifier import EEGClassifier
4
2
  from .regressor import EEGRegressor
3
+ from .version import __version__
5
4
 
6
5
  __all__ = [
7
6
  "__version__",
@@ -0,0 +1,50 @@
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
+ BandstopFilter,
9
+ ChannelsDropout,
10
+ ChannelsShuffle,
11
+ ChannelsSymmetry,
12
+ FrequencyShift,
13
+ FTSurrogate,
14
+ GaussianNoise,
15
+ MaskEncoding,
16
+ Mixup,
17
+ SegmentationReconstruction,
18
+ SensorsRotation,
19
+ SensorsXRotation,
20
+ SensorsYRotation,
21
+ SensorsZRotation,
22
+ SignFlip,
23
+ SmoothTimeMask,
24
+ TimeReverse,
25
+ )
26
+
27
+ __all__ = [
28
+ "Transform",
29
+ "IdentityTransform",
30
+ "Compose",
31
+ "AugmentedDataLoader",
32
+ "TimeReverse",
33
+ "SignFlip",
34
+ "FTSurrogate",
35
+ "ChannelsShuffle",
36
+ "ChannelsDropout",
37
+ "GaussianNoise",
38
+ "ChannelsSymmetry",
39
+ "SmoothTimeMask",
40
+ "BandstopFilter",
41
+ "FrequencyShift",
42
+ "SensorsRotation",
43
+ "SensorsZRotation",
44
+ "SensorsYRotation",
45
+ "SensorsXRotation",
46
+ "Mixup",
47
+ "SegmentationReconstruction",
48
+ "MaskEncoding",
49
+ "functional",
50
+ ]
@@ -5,31 +5,28 @@
5
5
  # Valentin Iovene <val@too.gy>
6
6
  # License: BSD (3-clause)
7
7
 
8
- from typing import List, Tuple, Any, Optional, Union, Callable
9
8
  from numbers import Real
9
+ from typing import Any, Callable, Optional, Union
10
10
 
11
- from sklearn.utils import check_random_state
12
11
  import torch
12
+ from sklearn.utils import check_random_state
13
13
  from torch import Tensor, nn
14
14
  from torch.utils.data import DataLoader
15
15
  from torch.utils.data._utils.collate import default_collate
16
16
 
17
17
  from .functional import identity
18
18
 
19
- Batch = List[Tuple[torch.Tensor, int, Any]]
19
+ Batch = list[tuple[torch.Tensor, int, Any]]
20
20
  Output = Union[
21
21
  # just outputting X
22
22
  torch.Tensor,
23
23
  # outputting (X, y) where y can be a tensor or tuple of tensors
24
- Tuple[torch.Tensor, Union[torch.Tensor, Tuple[torch.Tensor, ...]]]
24
+ tuple[torch.Tensor, Union[torch.Tensor, tuple[torch.Tensor, ...]]],
25
25
  ]
26
26
  # (X, y) -> (X', y') where y' can be a tensor or a tuple of tensors
27
27
  Operation = Callable[
28
28
  [torch.Tensor, torch.Tensor],
29
- Tuple[
30
- torch.Tensor,
31
- Union[torch.Tensor, Tuple[torch.Tensor, ...]]
32
- ]
29
+ tuple[torch.Tensor, Union[torch.Tensor, tuple[torch.Tensor, ...]]],
33
30
  ]
34
31
 
35
32
 
@@ -50,18 +47,20 @@ class Transform(torch.nn.Module):
50
47
  Used to decide whether or not to transform given the probability
51
48
  argument. Defaults to None.
52
49
  """
50
+
53
51
  operation: Operation
54
52
 
55
53
  def __init__(self, probability=1.0, random_state=None):
56
54
  super().__init__()
57
55
  if self.forward.__func__ is Transform.forward:
58
- assert callable(self.operation), "operation should be a " \
59
- "``callable``. "
56
+ assert callable(self.operation), "operation should be a ``callable``. "
60
57
 
61
58
  assert isinstance(probability, Real), (
62
- f"probability should be a ``real``. Got {type(probability)}.")
63
- assert probability <= 1. and probability >= 0., \
59
+ f"probability should be a ``real``. Got {type(probability)}."
60
+ )
61
+ assert probability <= 1.0 and probability >= 0.0, (
64
62
  "probability should be between 0 and 1."
63
+ )
65
64
  self._probability = probability
66
65
  self.rng = check_random_state(random_state)
67
66
 
@@ -108,8 +107,9 @@ class Transform(torch.nn.Module):
108
107
  if num_valid > 0:
109
108
  # Uses the mask to define the output
110
109
  out_X[mask, ...], tr_y = self.operation(
111
- out_X[mask, ...], out_y[mask],
112
- **self.get_augmentation_params(out_X[mask, ...], out_y[mask])
110
+ out_X[mask, ...],
111
+ out_y[mask],
112
+ **self.get_augmentation_params(out_X[mask, ...], out_y[mask]),
113
113
  )
114
114
  # Apply the operation defining the Transform to the whole batch
115
115
  if isinstance(tr_y, tuple):
@@ -125,11 +125,10 @@ class Transform(torch.nn.Module):
125
125
  return out_X
126
126
 
127
127
  def _get_mask(self, batch_size, device) -> torch.Tensor:
128
- """Samples whether to apply operation or not over the whole batch
129
- """
130
- return torch.as_tensor(
131
- self.probability > self.rng.uniform(size=batch_size)
132
- ).to(device)
128
+ """Samples whether to apply operation or not over the whole batch"""
129
+ return torch.as_tensor(self.probability > self.rng.uniform(size=batch_size)).to(
130
+ device
131
+ )
133
132
 
134
133
  @property
135
134
  def probability(self):
@@ -141,7 +140,9 @@ class IdentityTransform(Transform):
141
140
 
142
141
  Transform that does not change the input.
143
142
  """
144
- operation = staticmethod(identity)
143
+
144
+ operation = staticmethod(identity) # type: ignore[assignment]
145
+ # https://github.com/python/mypy/issues/4574
145
146
 
146
147
 
147
148
  class Compose(Transform):
@@ -167,8 +168,8 @@ class Compose(Transform):
167
168
 
168
169
 
169
170
  def _make_collateable(transform, device=None):
170
- """ Wraps a transform to make it collateable.
171
- with device control. """
171
+ """Wraps a transform to make it collateable.
172
+ with device control."""
172
173
 
173
174
  def _collate_fn(batch):
174
175
  collated_batch = default_collate(batch)
@@ -205,7 +206,7 @@ class AugmentedDataLoader(DataLoader):
205
206
  "to pass transform"
206
207
  )
207
208
  if transforms is None or (
208
- isinstance(transforms, list) and len(transforms) == 0
209
+ isinstance(transforms, list) and len(transforms) == 0
209
210
  ):
210
211
  self.collated_tr = _make_collateable(IdentityTransform(), device=device)
211
212
  elif isinstance(transforms, (Transform, nn.Module)):
@@ -218,8 +219,4 @@ class AugmentedDataLoader(DataLoader):
218
219
  "or a list of Transform objects."
219
220
  )
220
221
 
221
- super().__init__(
222
- dataset,
223
- collate_fn=self.collated_tr,
224
- **kwargs
225
- )
222
+ super().__init__(dataset, collate_fn=self.collated_tr, **kwargs)