braindecode 0.5.1__tar.gz → 0.6__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.
Files changed (262) hide show
  1. Braindecode-0.6/.circleci/artifact_path +1 -0
  2. Braindecode-0.6/.circleci/config.yml +56 -0
  3. Braindecode-0.6/.github/workflows/flake8.yaml +23 -0
  4. Braindecode-0.6/.github/workflows/link-to-doc.yaml +13 -0
  5. Braindecode-0.6/.github/workflows/push-artifact-to-circleci.yml +47 -0
  6. Braindecode-0.6/.github/workflows/tests-and-docs.yml +98 -0
  7. Braindecode-0.6/.gitignore +63 -0
  8. {Braindecode-0.5.1 → Braindecode-0.6}/Braindecode.egg-info/PKG-INFO +1 -1
  9. {Braindecode-0.5.1 → Braindecode-0.6}/Braindecode.egg-info/SOURCES.txt +83 -15
  10. Braindecode-0.6/CONTRIBUTING.md +265 -0
  11. {Braindecode-0.5.1 → Braindecode-0.6}/PKG-INFO +1 -1
  12. Braindecode-0.6/bandit.yml +1 -0
  13. Braindecode-0.6/braindecode/augmentation/__init__.py +23 -0
  14. Braindecode-0.6/braindecode/augmentation/base.py +188 -0
  15. Braindecode-0.6/braindecode/augmentation/functional.py +997 -0
  16. Braindecode-0.6/braindecode/augmentation/transforms.py +1097 -0
  17. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/classifier.py +130 -67
  18. Braindecode-0.6/braindecode/datasets/__init__.py +11 -0
  19. Braindecode-0.6/braindecode/datasets/base.py +613 -0
  20. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/datasets/bbci.py +56 -32
  21. Braindecode-0.6/braindecode/datasets/bcicomp.py +179 -0
  22. {Braindecode-0.5.1/braindecode/datautil → Braindecode-0.6/braindecode/datasets}/mne.py +20 -5
  23. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/datasets/moabb.py +55 -16
  24. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/datasets/sleep_physionet.py +15 -10
  25. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/datasets/tuh.py +120 -44
  26. {Braindecode-0.5.1/braindecode/datautil → Braindecode-0.6/braindecode/datasets}/xy.py +17 -14
  27. Braindecode-0.6/braindecode/datautil/__init__.py +33 -0
  28. Braindecode-0.6/braindecode/datautil/mne.py +9 -0
  29. Braindecode-0.6/braindecode/datautil/preprocess.py +12 -0
  30. Braindecode-0.6/braindecode/datautil/serialization.py +262 -0
  31. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/datautil/util.py +6 -2
  32. Braindecode-0.6/braindecode/datautil/windowers.py +6 -0
  33. Braindecode-0.6/braindecode/datautil/xy.py +9 -0
  34. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/models/__init__.py +6 -1
  35. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/models/deep4.py +19 -8
  36. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/models/eegnet.py +24 -8
  37. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/models/eegresnet.py +11 -6
  38. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/models/functions.py +4 -0
  39. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/models/hybrid.py +18 -6
  40. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/models/modules.py +48 -7
  41. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/models/shallow_fbcsp.py +14 -6
  42. Braindecode-0.6/braindecode/models/sleep_stager_blanco_2020.py +124 -0
  43. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/models/sleep_stager_chambon_2018.py +29 -20
  44. Braindecode-0.6/braindecode/models/sleep_stager_eldele_2021.py +395 -0
  45. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/models/tcn.py +22 -10
  46. Braindecode-0.6/braindecode/models/tidnet.py +262 -0
  47. Braindecode-0.6/braindecode/models/usleep.py +290 -0
  48. Braindecode-0.6/braindecode/models/util.py +139 -0
  49. Braindecode-0.6/braindecode/preprocessing/__init__.py +5 -0
  50. {Braindecode-0.5.1/braindecode/datautil → Braindecode-0.6/braindecode/preprocessing}/preprocess.py +153 -30
  51. {Braindecode-0.5.1/braindecode/datautil → Braindecode-0.6/braindecode/preprocessing}/windowers.py +237 -44
  52. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/regressor.py +136 -67
  53. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/samplers/__init__.py +1 -1
  54. Braindecode-0.6/braindecode/samplers/base.py +276 -0
  55. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/samplers/ssl.py +3 -3
  56. Braindecode-0.6/braindecode/training/__init__.py +8 -0
  57. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/training/callbacks.py +5 -1
  58. Braindecode-0.6/braindecode/training/losses.py +110 -0
  59. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/training/scoring.py +180 -20
  60. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/util.py +62 -11
  61. Braindecode-0.6/braindecode/version.py +1 -0
  62. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/visualization/__init__.py +1 -0
  63. Braindecode-0.6/braindecode/visualization/confusion_matrices.py +245 -0
  64. Braindecode-0.6/codecov.yml +14 -0
  65. Braindecode-0.6/docs/_build/html/_downloads/0b5ce52c808a6ba6c8e9d78fa3fdb68a/plot_color.ipynb +68 -0
  66. {Braindecode-0.5.1 → Braindecode-0.6}/docs/_build/html/_downloads/1224801107d6c3b138edf8ee33de0561/plot_bcic_iv_2a_moabb_cropped.ipynb +6 -6
  67. {Braindecode-0.5.1 → Braindecode-0.6}/docs/_build/html/_downloads/176a7695926ccfe061692c4af12b673d/plot_dataset_example.ipynb +14 -14
  68. {Braindecode-0.5.1 → Braindecode-0.6}/docs/_build/html/_downloads/25408d8d92a873e370d4750ba414b84a/benchmark_lazy_eager_loading.ipynb +6 -6
  69. {Braindecode-0.5.1/docs/auto_examples → Braindecode-0.6/docs/_build/html/_downloads/3e0455c88adcaa2571230abb981020db}/plot_relative_positioning.ipynb +5 -5
  70. {Braindecode-0.5.1/docs/auto_examples → Braindecode-0.6/docs/_build/html/_downloads/4855a497085ac8dc60a648bf4a72d647}/plot_load_save_datasets.ipynb +14 -14
  71. {Braindecode-0.5.1/docs/auto_examples → Braindecode-0.6/docs/_build/html/_downloads/49b1f19a86467aeaf762a1550583a845}/plot_custom_dataset_example.ipynb +39 -10
  72. {Braindecode-0.5.1/docs/auto_examples → Braindecode-0.6/docs/_build/html/_downloads/5bafba0488197e377d459780399abb29}/plot_sleep_staging.ipynb +4 -4
  73. {Braindecode-0.5.1/docs/auto_examples → Braindecode-0.6/docs/_build/html/_downloads/748680401b0360239d00624375dd9587}/plot_bcic_iv_2a_moabb_trial.ipynb +3 -3
  74. {Braindecode-0.5.1 → Braindecode-0.6}/docs/_build/html/_downloads/8c06a965e21b52d199f98636388aaa21/tuh_eeg_corpus.ipynb +3 -3
  75. Braindecode-0.6/docs/_build/html/_downloads/9c64c2c15907a661b1fe2d7dd209a434/plot_regression.ipynb +54 -0
  76. Braindecode-0.6/docs/_build/html/_downloads/9d9b9ce2b20299db6129837e390cf198/plot_lukas.ipynb +198 -0
  77. {Braindecode-0.5.1 → Braindecode-0.6}/docs/_build/html/_downloads/b38e40c9ee338673865922575e84fd7f/plot_split_dataset.ipynb +31 -9
  78. {Braindecode-0.5.1 → Braindecode-0.6}/docs/_build/html/_downloads/e42b5bd97033be02521040b0d5ee21c3/plot_mne_dataset_example.ipynb +5 -5
  79. Braindecode-0.6/docs/_static/cropped_explanation.png +0 -0
  80. Braindecode-0.6/docs/_static/trialwise_explanation.png +0 -0
  81. Braindecode-0.6/docs/_templates/autosummary/class.rst +37 -0
  82. {Braindecode-0.5.1 → Braindecode-0.6}/docs/api.rst +87 -14
  83. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/benchmark_lazy_eager_loading.ipynb +6 -6
  84. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/benchmark_lazy_eager_loading.rst +24 -20
  85. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/index.rst +54 -12
  86. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/plot_bcic_iv_2a_moabb_cropped.ipynb +6 -6
  87. Braindecode-0.6/docs/auto_examples/plot_bcic_iv_2a_moabb_cropped.rst +549 -0
  88. {Braindecode-0.5.1/docs/_build/html/_downloads/748680401b0360239d00624375dd9587 → Braindecode-0.6/docs/auto_examples}/plot_bcic_iv_2a_moabb_trial.ipynb +3 -3
  89. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/plot_bcic_iv_2a_moabb_trial.rst +23 -23
  90. Braindecode-0.6/docs/auto_examples/plot_color.ipynb +68 -0
  91. Braindecode-0.6/docs/auto_examples/plot_color.rst +141 -0
  92. {Braindecode-0.5.1/docs/_build/html/_downloads/49b1f19a86467aeaf762a1550583a845 → Braindecode-0.6/docs/auto_examples}/plot_custom_dataset_example.ipynb +39 -10
  93. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/plot_custom_dataset_example.rst +127 -13
  94. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/plot_dataset_example.ipynb +14 -14
  95. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/plot_dataset_example.rst +296 -99
  96. {Braindecode-0.5.1/docs/_build/html/_downloads/4855a497085ac8dc60a648bf4a72d647 → Braindecode-0.6/docs/auto_examples}/plot_load_save_datasets.ipynb +14 -14
  97. Braindecode-0.6/docs/auto_examples/plot_load_save_datasets.rst +530 -0
  98. Braindecode-0.6/docs/auto_examples/plot_lukas.ipynb +198 -0
  99. Braindecode-0.6/docs/auto_examples/plot_lukas.rst +487 -0
  100. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/plot_mne_dataset_example.ipynb +5 -5
  101. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/plot_mne_dataset_example.rst +73 -14
  102. Braindecode-0.6/docs/auto_examples/plot_regression.ipynb +54 -0
  103. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/plot_regression.rst +12 -8
  104. {Braindecode-0.5.1/docs/_build/html/_downloads/3e0455c88adcaa2571230abb981020db → Braindecode-0.6/docs/auto_examples}/plot_relative_positioning.ipynb +5 -5
  105. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/plot_relative_positioning.rst +66 -65
  106. {Braindecode-0.5.1/docs/_build/html/_downloads/5bafba0488197e377d459780399abb29 → Braindecode-0.6/docs/auto_examples}/plot_sleep_staging.ipynb +4 -4
  107. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/plot_sleep_staging.rst +26 -24
  108. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/plot_split_dataset.ipynb +31 -9
  109. Braindecode-0.6/docs/auto_examples/plot_split_dataset.rst +664 -0
  110. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/sg_execution_times.rst +16 -12
  111. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/tuh_eeg_corpus.ipynb +3 -3
  112. {Braindecode-0.5.1 → Braindecode-0.6}/docs/auto_examples/tuh_eeg_corpus.rst +28 -25
  113. {Braindecode-0.5.1 → Braindecode-0.6}/docs/conf.py +4 -2
  114. Braindecode-0.6/docs/generated/braindecode.datasets.create_from_X_y.rst +12 -0
  115. Braindecode-0.6/docs/generated/braindecode.datasets.create_from_mne_epochs.rst +12 -0
  116. Braindecode-0.6/docs/generated/braindecode.datasets.create_from_mne_raw.rst +12 -0
  117. Braindecode-0.6/docs/generated/braindecode.models.TIDNet.rst +14 -0
  118. Braindecode-0.6/docs/generated/braindecode.preprocessing.Preprocessor.rst +14 -0
  119. Braindecode-0.6/docs/generated/braindecode.preprocessing.create_fixed_length_windows.rst +12 -0
  120. Braindecode-0.6/docs/generated/braindecode.preprocessing.create_windows_from_events.rst +12 -0
  121. Braindecode-0.6/docs/generated/braindecode.preprocessing.exponential_moving_demean.rst +12 -0
  122. Braindecode-0.6/docs/generated/braindecode.preprocessing.exponential_moving_standardize.rst +12 -0
  123. Braindecode-0.6/docs/generated/braindecode.preprocessing.filterbank.rst +12 -0
  124. Braindecode-0.6/docs/generated/braindecode.preprocessing.preprocess.rst +12 -0
  125. Braindecode-0.6/docs/generated/braindecode.preprocessing.scale.rst +12 -0
  126. Braindecode-0.6/docs/generated/braindecode.preprocessing.zscore.rst +12 -0
  127. Braindecode-0.6/docs/index.rst +129 -0
  128. Braindecode-0.6/docs/requirements.txt +6 -0
  129. Braindecode-0.6/docs/sphinxext/gh_substitutions.py +30 -0
  130. Braindecode-0.6/docs/whats_new.rst +121 -0
  131. Braindecode-0.6/environment.yml +22 -0
  132. Braindecode-0.6/examples/README.rst +2 -0
  133. Braindecode-0.6/examples/benchmark_lazy_eager_loading.py +319 -0
  134. Braindecode-0.6/examples/plot_bcic_iv_2a_moabb_cropped.py +348 -0
  135. Braindecode-0.6/examples/plot_bcic_iv_2a_moabb_trial.py +317 -0
  136. Braindecode-0.6/examples/plot_bcic_iv_4_ecog_cropped.py +435 -0
  137. Braindecode-0.6/examples/plot_bcic_iv_4_ecog_trial.py +394 -0
  138. Braindecode-0.6/examples/plot_benchmark_preprocessing.py +167 -0
  139. Braindecode-0.6/examples/plot_custom_dataset_example.py +64 -0
  140. Braindecode-0.6/examples/plot_data_augmentation.py +275 -0
  141. Braindecode-0.6/examples/plot_dataset_example.py +140 -0
  142. Braindecode-0.6/examples/plot_load_save_datasets.py +97 -0
  143. Braindecode-0.6/examples/plot_mne_dataset_example.py +60 -0
  144. Braindecode-0.6/examples/plot_regression.py +140 -0
  145. Braindecode-0.6/examples/plot_relative_positioning.py +533 -0
  146. Braindecode-0.6/examples/plot_sleep_staging_usleep.py +316 -0
  147. Braindecode-0.6/examples/plot_split_dataset.py +74 -0
  148. Braindecode-0.6/examples/plot_tuh_discrete_multitarget.py +101 -0
  149. Braindecode-0.6/examples/plot_tuh_eeg_corpus.py +243 -0
  150. Braindecode-0.6/requirements.txt +8 -0
  151. {Braindecode-0.5.1 → Braindecode-0.6}/setup.cfg +5 -2
  152. {Braindecode-0.5.1 → Braindecode-0.6}/setup.py +1 -1
  153. {Braindecode-0.5.1 → Braindecode-0.6}/test/acceptance_tests/test_cropped_decoding.py +17 -16
  154. {Braindecode-0.5.1 → Braindecode-0.6}/test/acceptance_tests/test_eeg_classifier.py +70 -65
  155. {Braindecode-0.5.1 → Braindecode-0.6}/test/acceptance_tests/test_trialwise_decoding.py +20 -20
  156. Braindecode-0.6/test/acceptance_tests/test_variable_length_trials_decoding.py +106 -0
  157. Braindecode-0.6/test/unit_tests/augmentation/conftest.py +56 -0
  158. Braindecode-0.6/test/unit_tests/augmentation/test_base.py +175 -0
  159. Braindecode-0.6/test/unit_tests/augmentation/test_transforms.py +666 -0
  160. Braindecode-0.6/test/unit_tests/datasets/test_bcicomp.py +116 -0
  161. {Braindecode-0.5.1 → Braindecode-0.6}/test/unit_tests/datasets/test_dataset.py +183 -7
  162. {Braindecode-0.5.1 → Braindecode-0.6}/test/unit_tests/datasets/test_mne.py +3 -2
  163. {Braindecode-0.5.1 → Braindecode-0.6}/test/unit_tests/datasets/test_sleep_physionet.py +23 -0
  164. {Braindecode-0.5.1 → Braindecode-0.6}/test/unit_tests/datasets/test_tuh.py +87 -7
  165. {Braindecode-0.5.1 → Braindecode-0.6}/test/unit_tests/datasets/test_xy.py +4 -2
  166. Braindecode-0.6/test/unit_tests/datautil/test_serialization.py +337 -0
  167. Braindecode-0.6/test/unit_tests/models/test_models.py +281 -0
  168. Braindecode-0.6/test/unit_tests/models/test_modules.py +30 -0
  169. Braindecode-0.6/test/unit_tests/models/test_util.py +76 -0
  170. Braindecode-0.6/test/unit_tests/preprocessing/__init__.py +0 -0
  171. {Braindecode-0.5.1/test/unit_tests/datautil → Braindecode-0.6/test/unit_tests/preprocessing}/test_preprocess.py +204 -22
  172. {Braindecode-0.5.1/test/unit_tests/datautil → Braindecode-0.6/test/unit_tests/preprocessing}/test_windowers.py +136 -4
  173. Braindecode-0.6/test/unit_tests/samplers/test_samplers.py +203 -0
  174. Braindecode-0.6/test/unit_tests/test_eeg_classifier.py +148 -0
  175. Braindecode-0.6/test/unit_tests/test_eeg_regressor.py +148 -0
  176. {Braindecode-0.5.1 → Braindecode-0.6}/test/unit_tests/test_util.py +17 -1
  177. Braindecode-0.6/test/unit_tests/training/__init__.py +0 -0
  178. Braindecode-0.6/test/unit_tests/training/test_losses.py +73 -0
  179. {Braindecode-0.5.1/test/unit_tests → Braindecode-0.6/test/unit_tests/training}/test_scoring.py +168 -19
  180. Braindecode-0.6/test/unit_tests/visualization/__init__.py +0 -0
  181. {Braindecode-0.5.1 → Braindecode-0.6}/test/unit_tests/visualization/test_gradients.py +7 -8
  182. Braindecode-0.5.1/braindecode/datasets/__init__.py +0 -7
  183. Braindecode-0.5.1/braindecode/datasets/base.py +0 -293
  184. Braindecode-0.5.1/braindecode/datautil/__init__.py +0 -11
  185. Braindecode-0.5.1/braindecode/datautil/serialization.py +0 -111
  186. Braindecode-0.5.1/braindecode/models/util.py +0 -66
  187. Braindecode-0.5.1/braindecode/samplers/base.py +0 -78
  188. Braindecode-0.5.1/braindecode/training/__init__.py +0 -8
  189. Braindecode-0.5.1/braindecode/training/losses.py +0 -17
  190. Braindecode-0.5.1/braindecode/version.py +0 -1
  191. Braindecode-0.5.1/docs/_build/html/_downloads/9c64c2c15907a661b1fe2d7dd209a434/plot_regression.ipynb +0 -54
  192. Braindecode-0.5.1/docs/_templates/autosummary/class.rst +0 -14
  193. Braindecode-0.5.1/docs/auto_examples/plot_bcic_iv_2a_moabb_cropped.rst +0 -845
  194. Braindecode-0.5.1/docs/auto_examples/plot_load_save_datasets.rst +0 -315
  195. Braindecode-0.5.1/docs/auto_examples/plot_regression.ipynb +0 -54
  196. Braindecode-0.5.1/docs/auto_examples/plot_split_dataset.rst +0 -393
  197. Braindecode-0.5.1/docs/generated/braindecode.datautil.Preprocessor.rst +0 -14
  198. Braindecode-0.5.1/docs/generated/braindecode.datautil.create_fixed_length_windows.rst +0 -12
  199. Braindecode-0.5.1/docs/generated/braindecode.datautil.create_from_X_y.rst +0 -12
  200. Braindecode-0.5.1/docs/generated/braindecode.datautil.create_from_mne_epochs.rst +0 -12
  201. Braindecode-0.5.1/docs/generated/braindecode.datautil.create_from_mne_raw.rst +0 -12
  202. Braindecode-0.5.1/docs/generated/braindecode.datautil.create_windows_from_events.rst +0 -12
  203. Braindecode-0.5.1/docs/generated/braindecode.datautil.exponential_moving_demean.rst +0 -12
  204. Braindecode-0.5.1/docs/generated/braindecode.datautil.exponential_moving_standardize.rst +0 -12
  205. Braindecode-0.5.1/docs/generated/braindecode.datautil.filterbank.rst +0 -12
  206. Braindecode-0.5.1/docs/generated/braindecode.datautil.preprocess.rst +0 -12
  207. Braindecode-0.5.1/docs/generated/braindecode.datautil.scale.rst +0 -12
  208. Braindecode-0.5.1/docs/generated/braindecode.datautil.zscore.rst +0 -12
  209. Braindecode-0.5.1/docs/whats_new.rst +0 -70
  210. Braindecode-0.5.1/test/unit_tests/datautil/test_serialization.py +0 -127
  211. Braindecode-0.5.1/test/unit_tests/models/test_models.py +0 -136
  212. Braindecode-0.5.1/test/unit_tests/models/test_util.py +0 -22
  213. Braindecode-0.5.1/test/unit_tests/test_eeg_classifier.py +0 -73
  214. Braindecode-0.5.1/test/unit_tests/test_eeg_regressor.py +0 -72
  215. {Braindecode-0.5.1 → Braindecode-0.6}/Braindecode.egg-info/dependency_links.txt +0 -0
  216. {Braindecode-0.5.1 → Braindecode-0.6}/Braindecode.egg-info/not-zip-safe +0 -0
  217. {Braindecode-0.5.1 → Braindecode-0.6}/Braindecode.egg-info/requires.txt +0 -0
  218. {Braindecode-0.5.1 → Braindecode-0.6}/Braindecode.egg-info/top_level.txt +0 -0
  219. {Braindecode-0.5.1 → Braindecode-0.6}/LICENSE.txt +0 -0
  220. {Braindecode-0.5.1 → Braindecode-0.6}/MANIFEST.in +0 -0
  221. {Braindecode-0.5.1 → Braindecode-0.6}/README.rst +0 -0
  222. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/__init__.py +0 -0
  223. {Braindecode-0.5.1 → Braindecode-0.6}/braindecode/visualization/gradients.py +0 -0
  224. /Braindecode-0.5.1/docs/index.rst → /Braindecode-0.6/docs/.ipynb_checkpoints/index-checkpoint.rst +0 -0
  225. {Braindecode-0.5.1 → Braindecode-0.6}/docs/Makefile +0 -0
  226. {Braindecode-0.5.1 → Braindecode-0.6}/docs/_templates/autosummary/function.rst +0 -0
  227. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.classifier.EEGClassifier.rst +0 -0
  228. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.datasets.BaseConcatDataset.rst +0 -0
  229. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.datasets.BaseDataset.rst +0 -0
  230. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.datasets.MOABBDataset.rst +0 -0
  231. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.datasets.SleepPhysionet.rst +0 -0
  232. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.datasets.TUH.rst +0 -0
  233. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.datasets.TUHAbnormal.rst +0 -0
  234. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.datasets.WindowsDataset.rst +0 -0
  235. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.datautil.load_concat_dataset.rst +0 -0
  236. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.datautil.save_concat_dataset.rst +0 -0
  237. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.models.Deep4Net.rst +0 -0
  238. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.models.EEGNetv1.rst +0 -0
  239. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.models.EEGNetv4.rst +0 -0
  240. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.models.EEGResNet.rst +0 -0
  241. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.models.HybridNet.rst +0 -0
  242. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.models.ShallowFBCSPNet.rst +0 -0
  243. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.models.SleepStagerChambon2018.rst +0 -0
  244. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.models.TCN.rst +0 -0
  245. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.models.get_output_shape.rst +0 -0
  246. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.regressor.EEGRegressor.rst +0 -0
  247. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.samplers.RecordingSampler.rst +0 -0
  248. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.samplers.RelativePositioningSampler.rst +0 -0
  249. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.training.CroppedLoss.rst +0 -0
  250. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.training.CroppedTrialEpochScoring.rst +0 -0
  251. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.training.PostEpochTrainScoring.rst +0 -0
  252. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.training.trial_preds_from_window_preds.rst +0 -0
  253. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.util.set_random_seeds.rst +0 -0
  254. {Braindecode-0.5.1 → Braindecode-0.6}/docs/generated/braindecode.visualization.compute_amplitude_gradients.rst +0 -0
  255. {Braindecode-0.5.1 → Braindecode-0.6}/test/__init__.py +0 -0
  256. {Braindecode-0.5.1 → Braindecode-0.6}/test/acceptance_tests/__init__.py +0 -0
  257. {Braindecode-0.5.1 → Braindecode-0.6}/test/acceptance_tests/test_model_architectures.py +0 -0
  258. {Braindecode-0.5.1 → Braindecode-0.6}/test/unit_tests/__init__.py +0 -0
  259. {Braindecode-0.5.1/test/unit_tests/datasets → Braindecode-0.6/test/unit_tests/augmentation}/__init__.py +0 -0
  260. {Braindecode-0.5.1/test/unit_tests/datautil → Braindecode-0.6/test/unit_tests/datasets}/__init__.py +0 -0
  261. {Braindecode-0.5.1/test/unit_tests/models → Braindecode-0.6/test/unit_tests/datautil}/__init__.py +0 -0
  262. {Braindecode-0.5.1/test/unit_tests/visualization → Braindecode-0.6/test/unit_tests/models}/__init__.py +0 -0
@@ -0,0 +1 @@
1
+ 0/docs/_build/html/index.html
@@ -0,0 +1,56 @@
1
+ # Tagging a commit with [circle front] will build the front page and perform test-doc.
2
+ # Tagging a commit with [circle full] will build everything.
3
+ version: 2.1
4
+ parameters:
5
+ github-artifact-url:
6
+ type: string
7
+ default: "none"
8
+ jobs:
9
+ fetch_docs_from_github:
10
+ docker:
11
+ - image: circleci/python:3.7
12
+ environment:
13
+ GITHUB_ARTIFACT_URL: << pipeline.parameters.github-artifact-url >>
14
+ steps:
15
+ - run:
16
+ name: Download some docs
17
+ command: |
18
+ echo "Show Github artifact url"
19
+ echo $GITHUB_ARTIFACT_URL
20
+ wget -O HTML-docs.zip $GITHUB_ARTIFACT_URL
21
+ ls -ahl .
22
+ unzip HTML-docs.zip -d downloaded_docs
23
+ ls -ahl .
24
+ # Save the outputs
25
+ - store_artifacts:
26
+ path: downloaded_docs/html/
27
+ destination: dev
28
+ - persist_to_workspace:
29
+ root: downloaded_docs
30
+ paths:
31
+ - html
32
+ dummy_job:
33
+ docker:
34
+ - image: circleci/python:3.7
35
+ steps:
36
+ - run:
37
+ name: Dummy echo
38
+ command: |
39
+ echo "Do nothing..."
40
+
41
+
42
+ workflows:
43
+ version: 2.1
44
+
45
+ default:
46
+ when:
47
+ not:
48
+ equal: [ "none", << pipeline.parameters.github-artifact-url >> ]
49
+ jobs:
50
+ - fetch_docs_from_github
51
+
52
+ dummy_workflow:
53
+ when:
54
+ equal: [ "none", << pipeline.parameters.github-artifact-url >> ]
55
+ jobs:
56
+ - dummy_job
@@ -0,0 +1,23 @@
1
+ name: flake8-codestyle
2
+ on: [pull_request]
3
+
4
+ jobs:
5
+ Flake8-Codestyle-Check:
6
+ runs-on: ubuntu-latest
7
+ defaults:
8
+ run:
9
+ shell: bash -l {0}
10
+ steps:
11
+ - name: Checking Out Repository
12
+ uses: actions/checkout@v2
13
+ - name: Install Python
14
+ uses: actions/setup-python@v2
15
+ with:
16
+ python-version: "3.8"
17
+ - name: Install Flake8
18
+ run: pip install flake8
19
+ - name: Run Flake8
20
+ uses: liskin/gh-problem-matcher-wrap@v1
21
+ with:
22
+ linters: flake8
23
+ run: flake8 .
@@ -0,0 +1,13 @@
1
+ on: [status]
2
+ jobs:
3
+ circleci_artifacts_redirector:
4
+ runs-on: ubuntu-latest
5
+ name: Run CircleCI artifacts redirector
6
+ steps:
7
+ - name: GitHub Action step
8
+ uses: larsoner/circleci-artifacts-redirector-action@master
9
+ with:
10
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
11
+ artifact-path: 0/dev/index.html
12
+ circleci-jobs: fetch_docs_from_github
13
+ job-title: Check rendered doc here!
@@ -0,0 +1,47 @@
1
+ name: push-artifact-to-circle-ci
2
+
3
+ # will be changed to on workflow_run
4
+ on:
5
+ workflow_run:
6
+ workflows: ["tests-and-docs"]
7
+ branches-ignore: ["master"]
8
+ types:
9
+ - completed
10
+
11
+ jobs:
12
+ Push-Artifact-to-CircleCI:
13
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
14
+ runs-on: ubuntu-latest
15
+ defaults:
16
+ run:
17
+ shell: bash -l {0}
18
+ steps:
19
+ - name: Trigger CircleCI download and publication of HTML Doc Artifact
20
+ env:
21
+ EVENT_OBJ: ${{ toJson(github.event) }}
22
+ COMMIT_SHA: ${{ github.event.workflow_run.head_sha }}
23
+ REPO_NAME: ${{ github.event.workflow_run.head_repository.full_name }}
24
+ CIRCLECI_TOKEN: ${{ secrets.CIRCLECI_TOKEN }}
25
+ RUN_ID: ${{github.event.workflow_run.id}}
26
+ run: |
27
+ echo "github.event.workflow_run.head_sha"
28
+ echo ${{ github.event.workflow_run.head_sha }}
29
+ echo "github.event.workflow_run.head_repository.html_url"
30
+ echo ${{ github.event.workflow_run.head_repository.html_url }}
31
+ # Acquire the Pull Request Number from Github API
32
+ echo "automated curl"
33
+ PR_NUMBER=$(curl -H "Accept: application/vnd.github.groot-preview+json" https://api.github.com/repos/$REPO_NAME/commits/$COMMIT_SHA/pulls 2>/dev/null | jq '.[0].number')
34
+ echo $PR_NUMBER
35
+
36
+ # Use Pull Request Number to trigger pipeline on CircleCI which will just download artifact,
37
+ # unzip it and make it available for browsing
38
+ curl --request POST \
39
+ --url https://circleci.com/api/v2/project/gh/braindecode/braindecode/pipeline \
40
+ --header "Circle-Token: $CIRCLECI_TOKEN" \
41
+ --header 'content-type: application/json' \
42
+ --header 'x-attribution-actor-id: github_actions' \
43
+ --header 'x-attribution-login: github_actions' \
44
+ --data \{\"branch\":\"pull/$PR_NUMBER/head\",\"parameters\":\{\"github-artifact-url\":\"https://nightly.link/braindecode/braindecode/actions/runs/$RUN_ID/HTML-Docs.zip\"\}\}
45
+ # Just for debugging
46
+ echo "EVENT_OBJ"
47
+ echo $EVENT_OBJ
@@ -0,0 +1,98 @@
1
+ name: tests-and-docs
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches: master
7
+
8
+ jobs:
9
+ Install-Test-Doc-Braindecode:
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ skorch_version: ['main', 'stable']
15
+ defaults:
16
+ run:
17
+ shell: bash -l {0}
18
+ steps:
19
+
20
+ ## Install Braindecode
21
+ - name: Checking Out Repository
22
+ uses: actions/checkout@v2
23
+ # Cache MNE Data
24
+ # The cache key here is fixed except for os
25
+ # so if you download a new mne dataset in the code, best to manually increment the key below
26
+ - name: Create/Restore MNE Data Cache
27
+ id: cache-mne_data
28
+ uses: actions/cache@v2
29
+ with:
30
+ path: ~/mne_data
31
+ key: ${{ runner.os }}-v3
32
+ - name: Setting Up Conda Braindecode Environment
33
+ uses: conda-incubator/setup-miniconda@v2
34
+ with:
35
+ environment-file: environment.yml
36
+ python-version: 3.7
37
+ activate-environment: braindecode
38
+ auto-activate-base: false
39
+ # Show Conda and Python Versions
40
+ - run: conda --version
41
+ - run: conda info --envs
42
+ - run: which python
43
+ # Install MOABB as well
44
+ - name: Install MOABB
45
+ run: pip install moabb
46
+ # Use skorch github master if requested, otherwise has been installed via conda in environment.yaml
47
+ - name: Install Skorch development version from git repo
48
+ if: ${{ matrix.skorch_version == 'main' }}
49
+ run: pip install git+https://github.com/skorch-dev/skorch.git
50
+ - name: Install Braindecode from Current Checkout
51
+ run: pip install -e .
52
+ # Show Braindecode Version
53
+ - run: python -c "import braindecode; print(braindecode.__version__)"
54
+
55
+ ## Run Tests
56
+ - name: Install Codecov etc.
57
+ run: pip install --upgrade pytest pytest-cov codecov
58
+ - name: Run Tests # See https://stackoverflow.com/a/59959080/1469195 for the cov-report logic
59
+ run: pytest --cov=braindecode test/ --cov-report term --cov-report xml:coverage.xml
60
+ - name: Upload Coverage to Codecov
61
+ uses: codecov/codecov-action@v1
62
+ with:
63
+ fail_ci_if_error: true
64
+ file: ./coverage.xml
65
+ path_to_write_report: ./codecov_report.txt
66
+ - name: Upload Codecov Coverage report for checking
67
+ uses: actions/upload-artifact@v2
68
+ with:
69
+ name: codecov-report
70
+ path: ./codecov_report.txt
71
+
72
+ ## Create Sphinx Documentation
73
+ - name: Install Docs Requirements
74
+ run: python -m pip install --upgrade -r docs/requirements.txt
75
+ - name: Install newer versions scikit learn scipy to prevent error # should be removed once moabb reason is clearer
76
+ run: pip install --upgrade scipy scikit-learn
77
+ - name: Install newer version of sphinx-gallery # should be removed sphinx-gallery with v0.10
78
+ run: pip install -U https://api.github.com/repos/sphinx-gallery/sphinx-gallery/zipball/master
79
+ - name: Create Docs
80
+ run: |
81
+ cd docs
82
+ make html
83
+ - name: Upload HTML Docs as Artifacts
84
+ uses: actions/upload-artifact@v2
85
+ with:
86
+ name: HTML-Docs
87
+ path: ./docs/_build/
88
+
89
+ - name: Deploy to Github Pages if on Master
90
+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.skorch_version == 'stable'}}
91
+ uses: peaceiris/actions-gh-pages@v3
92
+ with:
93
+ deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
94
+ external_repository: braindecode/braindecode.github.io
95
+ destination_dir: master
96
+ publish_branch: master
97
+ publish_dir: ./docs/_build/html
98
+ cname: braindecode.org
@@ -0,0 +1,63 @@
1
+ junit-results.xml
2
+ *.pyc
3
+ *.pyo
4
+ *.sh
5
+ *.so
6
+ *.tar.gz
7
+ *.log
8
+ *~
9
+ .#*
10
+ *.swp
11
+ *.lprof
12
+ *.npy
13
+ *.zip
14
+ *.tar.*
15
+ *.egg*
16
+ *.tmproj
17
+ *.png
18
+ *.dat
19
+ .DS_Store
20
+ auto_examples
21
+ build
22
+ coverage
23
+ .cache/
24
+ .pytest_cache/
25
+ __pycache__/
26
+ prof/
27
+ .ipynb_checkpoints
28
+
29
+ dist/
30
+ docs/_build/
31
+ docs/generated/
32
+ docs/auto_examples/
33
+ docs/auto_tutorials/
34
+ docs/modules/generated/
35
+ docs/sphinxext/cachedir
36
+ docs/source
37
+ pip-log.txt
38
+ .coverage*
39
+ tags
40
+ doc/coverages
41
+ doc/samples
42
+ cover
43
+ *.html
44
+
45
+ *.orig
46
+
47
+ # PyCharm
48
+ .idea/**
49
+
50
+ # sublime
51
+ *-e
52
+
53
+ # Visual Studio Code
54
+ .vscode
55
+ *.code-workspace
56
+
57
+ # Emacs
58
+ *.py#
59
+ *.rst#
60
+
61
+ .venv/
62
+ venv/
63
+ *.json
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: Braindecode
3
- Version: 0.5.1
3
+ Version: 0.6
4
4
  Summary: A deep learning toolbox to decode raw time-domain EEG.
5
5
  Home-page: https://github.com/braindecode/braindecode
6
6
  Author: Robin Tibor Schirrmeister
@@ -1,8 +1,20 @@
1
+ .gitignore
2
+ CONTRIBUTING.md
1
3
  LICENSE.txt
2
4
  MANIFEST.in
3
5
  README.rst
6
+ bandit.yml
7
+ codecov.yml
8
+ environment.yml
9
+ requirements.txt
4
10
  setup.cfg
5
11
  setup.py
12
+ .circleci/artifact_path
13
+ .circleci/config.yml
14
+ .github/workflows/flake8.yaml
15
+ .github/workflows/link-to-doc.yaml
16
+ .github/workflows/push-artifact-to-circleci.yml
17
+ .github/workflows/tests-and-docs.yml
6
18
  Braindecode.egg-info/PKG-INFO
7
19
  Braindecode.egg-info/SOURCES.txt
8
20
  Braindecode.egg-info/dependency_links.txt
@@ -14,12 +26,19 @@ braindecode/classifier.py
14
26
  braindecode/regressor.py
15
27
  braindecode/util.py
16
28
  braindecode/version.py
29
+ braindecode/augmentation/__init__.py
30
+ braindecode/augmentation/base.py
31
+ braindecode/augmentation/functional.py
32
+ braindecode/augmentation/transforms.py
17
33
  braindecode/datasets/__init__.py
18
34
  braindecode/datasets/base.py
19
35
  braindecode/datasets/bbci.py
36
+ braindecode/datasets/bcicomp.py
37
+ braindecode/datasets/mne.py
20
38
  braindecode/datasets/moabb.py
21
39
  braindecode/datasets/sleep_physionet.py
22
40
  braindecode/datasets/tuh.py
41
+ braindecode/datasets/xy.py
23
42
  braindecode/datautil/__init__.py
24
43
  braindecode/datautil/mne.py
25
44
  braindecode/datautil/preprocess.py
@@ -35,9 +54,16 @@ braindecode/models/functions.py
35
54
  braindecode/models/hybrid.py
36
55
  braindecode/models/modules.py
37
56
  braindecode/models/shallow_fbcsp.py
57
+ braindecode/models/sleep_stager_blanco_2020.py
38
58
  braindecode/models/sleep_stager_chambon_2018.py
59
+ braindecode/models/sleep_stager_eldele_2021.py
39
60
  braindecode/models/tcn.py
61
+ braindecode/models/tidnet.py
62
+ braindecode/models/usleep.py
40
63
  braindecode/models/util.py
64
+ braindecode/preprocessing/__init__.py
65
+ braindecode/preprocessing/preprocess.py
66
+ braindecode/preprocessing/windowers.py
41
67
  braindecode/samplers/__init__.py
42
68
  braindecode/samplers/base.py
43
69
  braindecode/samplers/ssl.py
@@ -46,12 +72,16 @@ braindecode/training/callbacks.py
46
72
  braindecode/training/losses.py
47
73
  braindecode/training/scoring.py
48
74
  braindecode/visualization/__init__.py
75
+ braindecode/visualization/confusion_matrices.py
49
76
  braindecode/visualization/gradients.py
50
77
  docs/Makefile
51
78
  docs/api.rst
52
79
  docs/conf.py
53
80
  docs/index.rst
81
+ docs/requirements.txt
54
82
  docs/whats_new.rst
83
+ docs/.ipynb_checkpoints/index-checkpoint.rst
84
+ docs/_build/html/_downloads/0b5ce52c808a6ba6c8e9d78fa3fdb68a/plot_color.ipynb
55
85
  docs/_build/html/_downloads/1224801107d6c3b138edf8ee33de0561/plot_bcic_iv_2a_moabb_cropped.ipynb
56
86
  docs/_build/html/_downloads/176a7695926ccfe061692c4af12b673d/plot_dataset_example.ipynb
57
87
  docs/_build/html/_downloads/25408d8d92a873e370d4750ba414b84a/benchmark_lazy_eager_loading.ipynb
@@ -62,8 +92,11 @@ docs/_build/html/_downloads/5bafba0488197e377d459780399abb29/plot_sleep_staging.
62
92
  docs/_build/html/_downloads/748680401b0360239d00624375dd9587/plot_bcic_iv_2a_moabb_trial.ipynb
63
93
  docs/_build/html/_downloads/8c06a965e21b52d199f98636388aaa21/tuh_eeg_corpus.ipynb
64
94
  docs/_build/html/_downloads/9c64c2c15907a661b1fe2d7dd209a434/plot_regression.ipynb
95
+ docs/_build/html/_downloads/9d9b9ce2b20299db6129837e390cf198/plot_lukas.ipynb
65
96
  docs/_build/html/_downloads/b38e40c9ee338673865922575e84fd7f/plot_split_dataset.ipynb
66
97
  docs/_build/html/_downloads/e42b5bd97033be02521040b0d5ee21c3/plot_mne_dataset_example.ipynb
98
+ docs/_static/cropped_explanation.png
99
+ docs/_static/trialwise_explanation.png
67
100
  docs/_templates/autosummary/class.rst
68
101
  docs/_templates/autosummary/function.rst
69
102
  docs/auto_examples/benchmark_lazy_eager_loading.ipynb
@@ -73,12 +106,16 @@ docs/auto_examples/plot_bcic_iv_2a_moabb_cropped.ipynb
73
106
  docs/auto_examples/plot_bcic_iv_2a_moabb_cropped.rst
74
107
  docs/auto_examples/plot_bcic_iv_2a_moabb_trial.ipynb
75
108
  docs/auto_examples/plot_bcic_iv_2a_moabb_trial.rst
109
+ docs/auto_examples/plot_color.ipynb
110
+ docs/auto_examples/plot_color.rst
76
111
  docs/auto_examples/plot_custom_dataset_example.ipynb
77
112
  docs/auto_examples/plot_custom_dataset_example.rst
78
113
  docs/auto_examples/plot_dataset_example.ipynb
79
114
  docs/auto_examples/plot_dataset_example.rst
80
115
  docs/auto_examples/plot_load_save_datasets.ipynb
81
116
  docs/auto_examples/plot_load_save_datasets.rst
117
+ docs/auto_examples/plot_lukas.ipynb
118
+ docs/auto_examples/plot_lukas.rst
82
119
  docs/auto_examples/plot_mne_dataset_example.ipynb
83
120
  docs/auto_examples/plot_mne_dataset_example.rst
84
121
  docs/auto_examples/plot_regression.ipynb
@@ -100,20 +137,11 @@ docs/generated/braindecode.datasets.SleepPhysionet.rst
100
137
  docs/generated/braindecode.datasets.TUH.rst
101
138
  docs/generated/braindecode.datasets.TUHAbnormal.rst
102
139
  docs/generated/braindecode.datasets.WindowsDataset.rst
103
- docs/generated/braindecode.datautil.Preprocessor.rst
104
- docs/generated/braindecode.datautil.create_fixed_length_windows.rst
105
- docs/generated/braindecode.datautil.create_from_X_y.rst
106
- docs/generated/braindecode.datautil.create_from_mne_epochs.rst
107
- docs/generated/braindecode.datautil.create_from_mne_raw.rst
108
- docs/generated/braindecode.datautil.create_windows_from_events.rst
109
- docs/generated/braindecode.datautil.exponential_moving_demean.rst
110
- docs/generated/braindecode.datautil.exponential_moving_standardize.rst
111
- docs/generated/braindecode.datautil.filterbank.rst
140
+ docs/generated/braindecode.datasets.create_from_X_y.rst
141
+ docs/generated/braindecode.datasets.create_from_mne_epochs.rst
142
+ docs/generated/braindecode.datasets.create_from_mne_raw.rst
112
143
  docs/generated/braindecode.datautil.load_concat_dataset.rst
113
- docs/generated/braindecode.datautil.preprocess.rst
114
144
  docs/generated/braindecode.datautil.save_concat_dataset.rst
115
- docs/generated/braindecode.datautil.scale.rst
116
- docs/generated/braindecode.datautil.zscore.rst
117
145
  docs/generated/braindecode.models.Deep4Net.rst
118
146
  docs/generated/braindecode.models.EEGNetv1.rst
119
147
  docs/generated/braindecode.models.EEGNetv4.rst
@@ -122,7 +150,17 @@ docs/generated/braindecode.models.HybridNet.rst
122
150
  docs/generated/braindecode.models.ShallowFBCSPNet.rst
123
151
  docs/generated/braindecode.models.SleepStagerChambon2018.rst
124
152
  docs/generated/braindecode.models.TCN.rst
153
+ docs/generated/braindecode.models.TIDNet.rst
125
154
  docs/generated/braindecode.models.get_output_shape.rst
155
+ docs/generated/braindecode.preprocessing.Preprocessor.rst
156
+ docs/generated/braindecode.preprocessing.create_fixed_length_windows.rst
157
+ docs/generated/braindecode.preprocessing.create_windows_from_events.rst
158
+ docs/generated/braindecode.preprocessing.exponential_moving_demean.rst
159
+ docs/generated/braindecode.preprocessing.exponential_moving_standardize.rst
160
+ docs/generated/braindecode.preprocessing.filterbank.rst
161
+ docs/generated/braindecode.preprocessing.preprocess.rst
162
+ docs/generated/braindecode.preprocessing.scale.rst
163
+ docs/generated/braindecode.preprocessing.zscore.rst
126
164
  docs/generated/braindecode.regressor.EEGRegressor.rst
127
165
  docs/generated/braindecode.samplers.RecordingSampler.rst
128
166
  docs/generated/braindecode.samplers.RelativePositioningSampler.rst
@@ -132,29 +170,59 @@ docs/generated/braindecode.training.PostEpochTrainScoring.rst
132
170
  docs/generated/braindecode.training.trial_preds_from_window_preds.rst
133
171
  docs/generated/braindecode.util.set_random_seeds.rst
134
172
  docs/generated/braindecode.visualization.compute_amplitude_gradients.rst
173
+ docs/sphinxext/gh_substitutions.py
174
+ examples/README.rst
175
+ examples/benchmark_lazy_eager_loading.py
176
+ examples/plot_bcic_iv_2a_moabb_cropped.py
177
+ examples/plot_bcic_iv_2a_moabb_trial.py
178
+ examples/plot_bcic_iv_4_ecog_cropped.py
179
+ examples/plot_bcic_iv_4_ecog_trial.py
180
+ examples/plot_benchmark_preprocessing.py
181
+ examples/plot_custom_dataset_example.py
182
+ examples/plot_data_augmentation.py
183
+ examples/plot_dataset_example.py
184
+ examples/plot_load_save_datasets.py
185
+ examples/plot_mne_dataset_example.py
186
+ examples/plot_regression.py
187
+ examples/plot_relative_positioning.py
188
+ examples/plot_sleep_staging_usleep.py
189
+ examples/plot_split_dataset.py
190
+ examples/plot_tuh_discrete_multitarget.py
191
+ examples/plot_tuh_eeg_corpus.py
135
192
  test/__init__.py
136
193
  test/acceptance_tests/__init__.py
137
194
  test/acceptance_tests/test_cropped_decoding.py
138
195
  test/acceptance_tests/test_eeg_classifier.py
139
196
  test/acceptance_tests/test_model_architectures.py
140
197
  test/acceptance_tests/test_trialwise_decoding.py
198
+ test/acceptance_tests/test_variable_length_trials_decoding.py
141
199
  test/unit_tests/__init__.py
142
200
  test/unit_tests/test_eeg_classifier.py
143
201
  test/unit_tests/test_eeg_regressor.py
144
- test/unit_tests/test_scoring.py
145
202
  test/unit_tests/test_util.py
203
+ test/unit_tests/augmentation/__init__.py
204
+ test/unit_tests/augmentation/conftest.py
205
+ test/unit_tests/augmentation/test_base.py
206
+ test/unit_tests/augmentation/test_transforms.py
146
207
  test/unit_tests/datasets/__init__.py
208
+ test/unit_tests/datasets/test_bcicomp.py
147
209
  test/unit_tests/datasets/test_dataset.py
148
210
  test/unit_tests/datasets/test_mne.py
149
211
  test/unit_tests/datasets/test_sleep_physionet.py
150
212
  test/unit_tests/datasets/test_tuh.py
151
213
  test/unit_tests/datasets/test_xy.py
152
214
  test/unit_tests/datautil/__init__.py
153
- test/unit_tests/datautil/test_preprocess.py
154
215
  test/unit_tests/datautil/test_serialization.py
155
- test/unit_tests/datautil/test_windowers.py
156
216
  test/unit_tests/models/__init__.py
157
217
  test/unit_tests/models/test_models.py
218
+ test/unit_tests/models/test_modules.py
158
219
  test/unit_tests/models/test_util.py
220
+ test/unit_tests/preprocessing/__init__.py
221
+ test/unit_tests/preprocessing/test_preprocess.py
222
+ test/unit_tests/preprocessing/test_windowers.py
223
+ test/unit_tests/samplers/test_samplers.py
224
+ test/unit_tests/training/__init__.py
225
+ test/unit_tests/training/test_losses.py
226
+ test/unit_tests/training/test_scoring.py
159
227
  test/unit_tests/visualization/__init__.py
160
228
  test/unit_tests/visualization/test_gradients.py