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.
- {braindecode-0.8.1 → braindecode-1.1.0}/LICENSE.txt +1 -1
- {braindecode-0.8.1 → braindecode-1.1.0}/MANIFEST.in +3 -0
- braindecode-1.1.0/NOTICE.txt +20 -0
- {braindecode-0.8.1/braindecode.egg-info → braindecode-1.1.0}/PKG-INFO +25 -41
- {braindecode-0.8.1 → braindecode-1.1.0}/README.rst +10 -34
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/__init__.py +1 -2
- braindecode-1.1.0/braindecode/augmentation/__init__.py +50 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/augmentation/base.py +25 -28
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/augmentation/functional.py +237 -100
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/augmentation/transforms.py +325 -158
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/classifier.py +26 -24
- braindecode-1.1.0/braindecode/datasets/__init__.py +34 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/base.py +220 -134
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/bbci.py +43 -52
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/bcicomp.py +47 -32
- braindecode-1.1.0/braindecode/datasets/bids.py +245 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/mne.py +45 -24
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/moabb.py +87 -27
- braindecode-1.1.0/braindecode/datasets/nmt.py +311 -0
- braindecode-1.1.0/braindecode/datasets/sleep_physio_challe_18.py +412 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/sleep_physionet.py +43 -26
- braindecode-1.1.0/braindecode/datasets/tuh.py +588 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datasets/xy.py +27 -12
- braindecode-1.1.0/braindecode/datautil/__init__.py +52 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datautil/serialization.py +110 -72
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/eegneuralnet.py +63 -47
- braindecode-1.1.0/braindecode/functional/__init__.py +22 -0
- braindecode-1.1.0/braindecode/functional/functions.py +250 -0
- braindecode-1.1.0/braindecode/functional/initialization.py +47 -0
- braindecode-1.1.0/braindecode/models/__init__.py +100 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/atcnet.py +193 -164
- braindecode-1.1.0/braindecode/models/attentionbasenet.py +599 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/base.py +86 -102
- braindecode-1.1.0/braindecode/models/biot.py +504 -0
- braindecode-1.1.0/braindecode/models/contrawr.py +317 -0
- braindecode-1.1.0/braindecode/models/ctnet.py +536 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/deep4.py +116 -77
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/deepsleepnet.py +149 -119
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/eegconformer.py +112 -173
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/eeginception_erp.py +109 -118
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/eeginception_mi.py +161 -97
- braindecode-1.1.0/braindecode/models/eegitnet.py +300 -0
- braindecode-1.1.0/braindecode/models/eegminer.py +254 -0
- braindecode-1.1.0/braindecode/models/eegnet.py +472 -0
- braindecode-1.1.0/braindecode/models/eegnex.py +247 -0
- braindecode-1.1.0/braindecode/models/eegresnet.py +362 -0
- braindecode-1.1.0/braindecode/models/eegsimpleconv.py +199 -0
- braindecode-1.1.0/braindecode/models/eegtcnet.py +335 -0
- braindecode-1.1.0/braindecode/models/fbcnet.py +221 -0
- braindecode-1.1.0/braindecode/models/fblightconvnet.py +313 -0
- braindecode-1.1.0/braindecode/models/fbmsnet.py +324 -0
- braindecode-1.1.0/braindecode/models/hybrid.py +126 -0
- braindecode-1.1.0/braindecode/models/ifnet.py +441 -0
- braindecode-1.1.0/braindecode/models/labram.py +1186 -0
- braindecode-1.1.0/braindecode/models/msvtnet.py +375 -0
- braindecode-1.1.0/braindecode/models/sccnet.py +207 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/shallow_fbcsp.py +50 -56
- braindecode-1.1.0/braindecode/models/signal_jepa.py +1011 -0
- braindecode-1.1.0/braindecode/models/sinc_shallow.py +337 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/sleep_stager_blanco_2020.py +55 -46
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/sleep_stager_chambon_2018.py +54 -53
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/sleep_stager_eldele_2021.py +247 -141
- braindecode-1.1.0/braindecode/models/sparcnet.py +424 -0
- braindecode-1.1.0/braindecode/models/summary.csv +41 -0
- braindecode-1.1.0/braindecode/models/syncnet.py +232 -0
- braindecode-1.1.0/braindecode/models/tcn.py +273 -0
- braindecode-1.1.0/braindecode/models/tidnet.py +395 -0
- braindecode-1.1.0/braindecode/models/tsinception.py +283 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/models/usleep.py +190 -177
- braindecode-1.1.0/braindecode/models/util.py +129 -0
- braindecode-1.1.0/braindecode/modules/__init__.py +84 -0
- braindecode-1.1.0/braindecode/modules/activation.py +60 -0
- braindecode-1.1.0/braindecode/modules/attention.py +757 -0
- braindecode-1.1.0/braindecode/modules/blocks.py +108 -0
- braindecode-1.1.0/braindecode/modules/convolution.py +274 -0
- braindecode-1.1.0/braindecode/modules/filter.py +628 -0
- braindecode-1.1.0/braindecode/modules/layers.py +131 -0
- braindecode-1.1.0/braindecode/modules/linear.py +49 -0
- braindecode-1.1.0/braindecode/modules/parametrization.py +38 -0
- braindecode-1.1.0/braindecode/modules/stats.py +77 -0
- braindecode-1.1.0/braindecode/modules/util.py +76 -0
- braindecode-1.1.0/braindecode/modules/wrapper.py +73 -0
- braindecode-1.1.0/braindecode/preprocessing/__init__.py +37 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/preprocessing/mne_preprocess.py +13 -7
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/preprocessing/preprocess.py +139 -75
- braindecode-1.1.0/braindecode/preprocessing/windowers.py +1031 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/regressor.py +23 -12
- braindecode-1.1.0/braindecode/samplers/__init__.py +18 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/samplers/base.py +146 -32
- braindecode-1.1.0/braindecode/samplers/ssl.py +263 -0
- braindecode-1.1.0/braindecode/training/__init__.py +23 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/training/callbacks.py +2 -4
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/training/losses.py +3 -8
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/training/scoring.py +76 -68
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/util.py +55 -59
- braindecode-1.1.0/braindecode/version.py +1 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/visualization/__init__.py +2 -3
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/visualization/confusion_matrices.py +117 -73
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/visualization/gradients.py +14 -10
- {braindecode-0.8.1 → braindecode-1.1.0/braindecode.egg-info}/PKG-INFO +25 -41
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode.egg-info/SOURCES.txt +134 -13
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode.egg-info/requires.txt +12 -5
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/Makefile +6 -1
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/090305d06248840b75133975e5121f41/plot_sleep_staging_chambon2018.ipynb +14 -14
- braindecode-1.1.0/docs/_build/html/_downloads/0f2bf063e08b7d05b80e0004fcbbb6f9/benchmark_lazy_eager_loading.ipynb +183 -0
- {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
- {braindecode-0.8.1/docs/auto_examples/datasets_io → braindecode-1.1.0/docs/_build/html/_downloads/1c6590d134fa0befda654e89aa55b2ac}/plot_benchmark_preprocessing.ipynb +6 -6
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/1d879df548fa18be8c23d9ca0dc008d4/plot_data_augmentation.ipynb +12 -12
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/2466f8ec5c733d0bd65e187b45d875cc/plot_data_augmentation_search.ipynb +14 -14
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/263464a28477cf8decb861ae6e2e9be7/plot_how_train_test_and_tune.ipynb +20 -20
- braindecode-1.1.0/docs/_build/html/_downloads/3862cafd7f0d815e434319ffe525afc8/plot_bcic_iv_2a_moabb_cropped.ipynb +226 -0
- braindecode-1.1.0/docs/_build/html/_downloads/408ca4ffd0ea1f76faa9ef602734ac94/plot_tuh_eeg_corpus.ipynb +187 -0
- braindecode-1.1.0/docs/_build/html/_downloads/5030717acb00990b394b83314b0797d9/plot_bids_dataset_example.ipynb +97 -0
- braindecode-1.1.0/docs/_build/html/_downloads/75a73c7d94f3a671fd3dec28f4031ead/plot_regression.ipynb +212 -0
- {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
- {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
- {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
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/91651c9d4fde110b4a53f5775a91acc5/plot_mne_dataset_example.ipynb +6 -6
- braindecode-1.1.0/docs/_build/html/_downloads/93fdea8cbadaf0e3afa2eb2be3ebc483/bcic_iv_4_ecog_trial.ipynb +376 -0
- {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
- braindecode-1.1.0/docs/_build/html/_downloads/a2f12129facb042643a99d4b9de1886d/bcic_iv_4_ecog_cropped.ipynb +345 -0
- braindecode-1.1.0/docs/_build/html/_downloads/a39e4245738e55e0eb7084c545ed05bc/plot_hyperparameter_tuning_with_scikit-learn.ipynb +257 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/a6249715d3c30cb41c4af85938cca008/plot_moabb_dataset_example.ipynb +5 -5
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/a7ccc5c1d1d2775e08c053bb25c81a91/plot_bcic_iv_4_ecog_trial.ipynb +26 -19
- {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
- {braindecode-0.8.1/docs/auto_examples/advanced_training → braindecode-1.1.0/docs/_build/html/_downloads/aa8426d97090e7b3062c4e4732c3214a}/plot_relative_positioning.ipynb +14 -14
- {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
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/f3c89d39e947a121c7920b4d415413a2/plot_split_dataset.ipynb +4 -4
- {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
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/_build/html/_downloads/fff46913db5173d3ae22c1113acffb45/plot_basic_training_epochs.ipynb +11 -11
- braindecode-1.1.0/docs/api.rst +566 -0
- braindecode-1.1.0/docs/auto_examples/advanced_training/bcic_iv_4_ecog_cropped.ipynb +345 -0
- braindecode-1.1.0/docs/auto_examples/advanced_training/bcic_iv_4_ecog_cropped.rst +626 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/advanced_training/index.rst +10 -7
- {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
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/advanced_training/plot_bcic_iv_4_ecog_cropped.rst +197 -292
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/advanced_training/plot_data_augmentation.ipynb +12 -12
- braindecode-1.1.0/docs/auto_examples/advanced_training/plot_data_augmentation.rst +999 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/advanced_training/plot_data_augmentation_search.ipynb +14 -14
- braindecode-1.1.0/docs/auto_examples/advanced_training/plot_data_augmentation_search.rst +1137 -0
- {braindecode-0.8.1/docs/_build/html/_downloads/aa8426d97090e7b3062c4e4732c3214a → braindecode-1.1.0/docs/auto_examples/advanced_training}/plot_relative_positioning.ipynb +14 -14
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/advanced_training/plot_relative_positioning.rst +244 -208
- braindecode-1.1.0/docs/auto_examples/advanced_training/sg_execution_times.rst +46 -0
- braindecode-1.1.0/docs/auto_examples/applied_examples/bcic_iv_4_ecog_trial.ipynb +376 -0
- braindecode-1.1.0/docs/auto_examples/applied_examples/bcic_iv_4_ecog_trial.rst +581 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/applied_examples/index.rst +11 -8
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/applied_examples/plot_bcic_iv_4_ecog_trial.ipynb +26 -19
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/applied_examples/plot_bcic_iv_4_ecog_trial.rst +197 -270
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/applied_examples/plot_sleep_staging_chambon2018.ipynb +14 -14
- braindecode-1.1.0/docs/auto_examples/applied_examples/plot_sleep_staging_chambon2018.rst +1192 -0
- {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
- braindecode-1.1.0/docs/auto_examples/applied_examples/plot_sleep_staging_eldele2021.rst +1399 -0
- {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
- braindecode-1.1.0/docs/auto_examples/applied_examples/plot_sleep_staging_usleep.rst +1252 -0
- braindecode-1.1.0/docs/auto_examples/applied_examples/plot_tuh_eeg_corpus.ipynb +187 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/applied_examples/plot_tuh_eeg_corpus.rst +161 -131
- braindecode-1.1.0/docs/auto_examples/applied_examples/sg_execution_times.rst +49 -0
- braindecode-1.1.0/docs/auto_examples/datasets_io/benchmark_lazy_eager_loading.ipynb +183 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/benchmark_lazy_eager_loading.rst +177 -108
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/index.rst +26 -5
- {braindecode-0.8.1/docs/_build/html/_downloads/1c6590d134fa0befda654e89aa55b2ac → braindecode-1.1.0/docs/auto_examples/datasets_io}/plot_benchmark_preprocessing.ipynb +6 -6
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_benchmark_preprocessing.rst +178 -193
- braindecode-1.1.0/docs/auto_examples/datasets_io/plot_bids_dataset_example.ipynb +97 -0
- braindecode-1.1.0/docs/auto_examples/datasets_io/plot_bids_dataset_example.rst +818 -0
- {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
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_custom_dataset_example.rst +48 -47
- {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
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_load_save_datasets.rst +130 -129
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_mne_dataset_example.ipynb +6 -6
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_mne_dataset_example.rst +40 -34
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_moabb_dataset_example.ipynb +5 -5
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_moabb_dataset_example.rst +107 -102
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_split_dataset.ipynb +4 -4
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_split_dataset.rst +49 -44
- {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
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/datasets_io/plot_tuh_discrete_multitarget.rst +59 -43
- braindecode-1.1.0/docs/auto_examples/datasets_io/sg_execution_times.rst +61 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/index.rst +56 -24
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/index.rst +9 -6
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_basic_training_epochs.ipynb +11 -11
- braindecode-1.1.0/docs/auto_examples/model_building/plot_basic_training_epochs.rst +1682 -0
- braindecode-1.1.0/docs/auto_examples/model_building/plot_bcic_iv_2a_moabb_cropped.ipynb +226 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_bcic_iv_2a_moabb_cropped.rst +127 -116
- {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
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_bcic_iv_2a_moabb_trial.rst +145 -130
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_how_train_test_and_tune.ipynb +20 -20
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_how_train_test_and_tune.rst +235 -175
- braindecode-1.1.0/docs/auto_examples/model_building/plot_hyperparameter_tuning_with_scikit-learn.ipynb +257 -0
- braindecode-1.1.0/docs/auto_examples/model_building/plot_hyperparameter_tuning_with_scikit-learn.rst +698 -0
- braindecode-1.1.0/docs/auto_examples/model_building/plot_regression.ipynb +212 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_regression.rst +129 -124
- {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
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/auto_examples/model_building/plot_train_in_pure_pytorch_and_pytorch_lightning.rst +152 -143
- braindecode-1.1.0/docs/auto_examples/model_building/sg_execution_times.rst +55 -0
- braindecode-1.1.0/docs/auto_examples/sg_execution_times.rst +37 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/conf.py +161 -125
- braindecode-1.1.0/docs/generated/activation/braindecode.modules.LogActivation.rst +130 -0
- braindecode-1.1.0/docs/generated/activation/braindecode.modules.SafeLog.rst +135 -0
- braindecode-0.8.1/docs/generated/braindecode.models.TCN.rst → braindecode-1.1.0/docs/generated/attention/braindecode.modules.CAT.rst +9 -5
- braindecode-1.1.0/docs/generated/attention/braindecode.modules.CATLite.rst +130 -0
- braindecode-1.1.0/docs/generated/attention/braindecode.modules.CBAM.rst +130 -0
- braindecode-1.1.0/docs/generated/attention/braindecode.modules.ECA.rst +130 -0
- braindecode-1.1.0/docs/generated/attention/braindecode.modules.EncNet.rst +130 -0
- braindecode-1.1.0/docs/generated/attention/braindecode.modules.FCA.rst +137 -0
- braindecode-1.1.0/docs/generated/attention/braindecode.modules.GCT.rst +130 -0
- braindecode-1.1.0/docs/generated/attention/braindecode.modules.GSoP.rst +130 -0
- braindecode-1.1.0/docs/generated/attention/braindecode.modules.GatherExcite.rst +130 -0
- braindecode-1.1.0/docs/generated/attention/braindecode.modules.MultiHeadAttention.rst +130 -0
- braindecode-1.1.0/docs/generated/attention/braindecode.modules.SRM.rst +130 -0
- braindecode-1.1.0/docs/generated/attention/braindecode.modules.SqueezeAndExcitation.rst +130 -0
- braindecode-1.1.0/docs/generated/blocks/braindecode.modules.FeedForwardBlock.rst +127 -0
- braindecode-0.8.1/docs/generated/braindecode.models.TimeDistributed.rst → braindecode-1.1.0/docs/generated/blocks/braindecode.modules.InceptionBlock.rst +14 -4
- braindecode-1.1.0/docs/generated/blocks/braindecode.modules.MLP.rst +127 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.BandstopFilter.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.ChannelsDropout.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.ChannelsShuffle.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.ChannelsSymmetry.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.Compose.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.FTSurrogate.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.FrequencyShift.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.GaussianNoise.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.IdentityTransform.rst +10 -0
- braindecode-1.1.0/docs/generated/braindecode.augmentation.MaskEncoding.rst +139 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.Mixup.rst +10 -0
- braindecode-1.1.0/docs/generated/braindecode.augmentation.SegmentationReconstruction.rst +139 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SensorsRotation.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SensorsXRotation.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SensorsYRotation.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SensorsZRotation.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SignFlip.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.SmoothTimeMask.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.TimeReverse.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.Transform.rst +10 -0
- braindecode-1.1.0/docs/generated/braindecode.augmentation.functional.mask_encoding.rst +12 -0
- braindecode-1.1.0/docs/generated/braindecode.augmentation.functional.segmentation_reconstruction.rst +12 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.classifier.EEGClassifier.rst +16 -0
- braindecode-1.1.0/docs/generated/braindecode.datasets.BIDSDataset.rst +29 -0
- braindecode-1.1.0/docs/generated/braindecode.datasets.BIDSEpochsDataset.rst +29 -0
- braindecode-1.1.0/docs/generated/braindecode.datasets.NMT.rst +29 -0
- braindecode-1.1.0/docs/generated/braindecode.datasets.SleepPhysionetChallenge2018.rst +29 -0
- braindecode-1.1.0/docs/generated/braindecode.functional.drop_path.rst +12 -0
- braindecode-1.1.0/docs/generated/braindecode.functional.glorot_weight_zero_bias.rst +12 -0
- braindecode-1.1.0/docs/generated/braindecode.functional.hilbert_freq.rst +12 -0
- braindecode-1.1.0/docs/generated/braindecode.functional.identity.rst +12 -0
- braindecode-1.1.0/docs/generated/braindecode.functional.plv_time.rst +12 -0
- braindecode-1.1.0/docs/generated/braindecode.functional.rescale_parameter.rst +12 -0
- braindecode-1.1.0/docs/generated/braindecode.functional.safe_log.rst +12 -0
- braindecode-1.1.0/docs/generated/braindecode.functional.square.rst +12 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.ATCNet.rst +10 -0
- braindecode-1.1.0/docs/generated/braindecode.models.AttentionBaseNet.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.BDTCN.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.BIOT.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.CTNet.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.ContraWR.rst +136 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.Deep4Net.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.DeepSleepNet.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGConformer.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGITNet.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGInceptionERP.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGInceptionMI.rst +10 -0
- braindecode-1.1.0/docs/generated/braindecode.models.EEGMiner.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.EEGNeX.rst +136 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGNetv1.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGNetv4.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGResNet.rst +10 -0
- braindecode-1.1.0/docs/generated/braindecode.models.EEGSimpleConv.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.EEGTCNet.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.FBCNet.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.FBLightConvNet.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.FBMSNet.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.IFNet.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.Labram.rst +171 -0
- braindecode-1.1.0/docs/generated/braindecode.models.MSVTNet.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.SCCNet.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.SPARCNet.rst +136 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.ShallowFBCSPNet.rst +10 -0
- braindecode-1.1.0/docs/generated/braindecode.models.SignalJEPA.rst +136 -0
- braindecode-1.1.0/docs/generated/braindecode.models.SignalJEPA_Contextual.rst +143 -0
- braindecode-1.1.0/docs/generated/braindecode.models.SignalJEPA_PostLocal.rst +143 -0
- braindecode-1.1.0/docs/generated/braindecode.models.SignalJEPA_PreLocal.rst +143 -0
- braindecode-1.1.0/docs/generated/braindecode.models.SincShallowNet.rst +136 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.SleepStagerBlanco2020.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.SleepStagerChambon2018.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.SleepStagerEldele2021.rst +10 -0
- braindecode-1.1.0/docs/generated/braindecode.models.SyncNet.rst +136 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.TIDNet.rst +10 -0
- braindecode-1.1.0/docs/generated/braindecode.models.TSceptionV1.rst +136 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.USleep.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.regressor.EEGRegressor.rst +16 -0
- braindecode-1.1.0/docs/generated/braindecode.samplers.DistributedRecordingSampler.rst +41 -0
- braindecode-1.1.0/docs/generated/braindecode.samplers.DistributedRelativePositioningSampler.rst +38 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.CroppedLoss.rst +10 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.TimeSeriesLoss.rst +10 -0
- braindecode-1.1.0/docs/generated/convolution/braindecode.modules.AvgPool2dWithConv.rst +130 -0
- braindecode-1.1.0/docs/generated/convolution/braindecode.modules.CausalConv1d.rst +132 -0
- braindecode-1.1.0/docs/generated/convolution/braindecode.modules.CombinedConv.rst +130 -0
- braindecode-1.1.0/docs/generated/convolution/braindecode.modules.Conv2dWithConstraint.rst +121 -0
- braindecode-0.8.1/docs/generated/braindecode.models.EEGInception.rst → braindecode-1.1.0/docs/generated/convolution/braindecode.modules.DepthwiseConv2d.rst +5 -7
- braindecode-1.1.0/docs/generated/filter/braindecode.modules.FilterBankLayer.rst +130 -0
- braindecode-1.1.0/docs/generated/filter/braindecode.modules.GeneralizedGaussianFilter.rst +144 -0
- braindecode-1.1.0/docs/generated/layers/braindecode.modules.Chomp1d.rst +135 -0
- braindecode-1.1.0/docs/generated/layers/braindecode.modules.DropPath.rst +135 -0
- braindecode-0.8.1/docs/generated/braindecode.models.HybridNet.rst → braindecode-1.1.0/docs/generated/layers/braindecode.modules.Ensure4d.rst +8 -4
- braindecode-1.1.0/docs/generated/layers/braindecode.modules.TimeDistributed.rst +130 -0
- braindecode-1.1.0/docs/generated/linear/braindecode.modules.LinearWithConstraint.rst +121 -0
- braindecode-1.1.0/docs/generated/linear/braindecode.modules.MaxNormLinear.rst +121 -0
- braindecode-1.1.0/docs/generated/stats/braindecode.modules.LogPowerLayer.rst +6 -0
- braindecode-1.1.0/docs/generated/stats/braindecode.modules.LogVarLayer.rst +6 -0
- braindecode-1.1.0/docs/generated/stats/braindecode.modules.MaxLayer.rst +6 -0
- braindecode-1.1.0/docs/generated/stats/braindecode.modules.MeanLayer.rst +6 -0
- braindecode-1.1.0/docs/generated/stats/braindecode.modules.StatLayer.rst +130 -0
- braindecode-1.1.0/docs/generated/stats/braindecode.modules.StdLayer.rst +6 -0
- braindecode-1.1.0/docs/generated/stats/braindecode.modules.VarLayer.rst +6 -0
- braindecode-1.1.0/docs/generated/util/braindecode.modules.aggregate_probas.rst +12 -0
- braindecode-1.1.0/docs/generated/wrapper/braindecode.modules.Expression.rst +130 -0
- braindecode-1.1.0/docs/generated/wrapper/braindecode.modules.IntermediateOutputWrapper.rst +130 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/help.rst +7 -19
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/index.rst +2 -1
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/install/install.rst +5 -3
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/install/install_pip.rst +6 -4
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/install/install_source.rst +6 -4
- braindecode-1.1.0/docs/models_summary.rst +134 -0
- braindecode-1.1.0/docs/sg_execution_times.rst +109 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/whats_new.rst +138 -16
- braindecode-1.1.0/pyproject.toml +123 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/setup.cfg +8 -0
- braindecode-0.8.1/braindecode/augmentation/__init__.py +0 -30
- braindecode-0.8.1/braindecode/datasets/__init__.py +0 -16
- braindecode-0.8.1/braindecode/datasets/tuh.py +0 -404
- braindecode-0.8.1/braindecode/datautil/__init__.py +0 -33
- braindecode-0.8.1/braindecode/datautil/mne.py +0 -9
- braindecode-0.8.1/braindecode/datautil/preprocess.py +0 -12
- braindecode-0.8.1/braindecode/datautil/windowers.py +0 -6
- braindecode-0.8.1/braindecode/datautil/xy.py +0 -9
- braindecode-0.8.1/braindecode/models/__init__.py +0 -30
- braindecode-0.8.1/braindecode/models/eeginception.py +0 -317
- braindecode-0.8.1/braindecode/models/eegitnet.py +0 -237
- braindecode-0.8.1/braindecode/models/eegnet.py +0 -405
- braindecode-0.8.1/braindecode/models/eegresnet.py +0 -280
- braindecode-0.8.1/braindecode/models/functions.py +0 -47
- braindecode-0.8.1/braindecode/models/hybrid.py +0 -145
- braindecode-0.8.1/braindecode/models/modules.py +0 -358
- braindecode-0.8.1/braindecode/models/tcn.py +0 -203
- braindecode-0.8.1/braindecode/models/tidnet.py +0 -282
- braindecode-0.8.1/braindecode/models/util.py +0 -165
- braindecode-0.8.1/braindecode/preprocessing/__init__.py +0 -12
- braindecode-0.8.1/braindecode/preprocessing/windowers.py +0 -642
- braindecode-0.8.1/braindecode/samplers/__init__.py +0 -10
- braindecode-0.8.1/braindecode/samplers/ssl.py +0 -118
- braindecode-0.8.1/braindecode/training/__init__.py +0 -15
- braindecode-0.8.1/braindecode/version.py +0 -1
- braindecode-0.8.1/docs/_build/html/_downloads/0f2bf063e08b7d05b80e0004fcbbb6f9/benchmark_lazy_eager_loading.ipynb +0 -183
- braindecode-0.8.1/docs/_build/html/_downloads/3862cafd7f0d815e434319ffe525afc8/plot_bcic_iv_2a_moabb_cropped.ipynb +0 -226
- braindecode-0.8.1/docs/_build/html/_downloads/408ca4ffd0ea1f76faa9ef602734ac94/plot_tuh_eeg_corpus.ipynb +0 -187
- braindecode-0.8.1/docs/_build/html/_downloads/75a73c7d94f3a671fd3dec28f4031ead/plot_regression.ipynb +0 -212
- braindecode-0.8.1/docs/_build/html/_downloads/a39e4245738e55e0eb7084c545ed05bc/plot_hyperparameter_tuning_with_scikit-learn.ipynb +0 -257
- braindecode-0.8.1/docs/api.rst +0 -256
- braindecode-0.8.1/docs/auto_examples/advanced_training/plot_data_augmentation.rst +0 -587
- braindecode-0.8.1/docs/auto_examples/advanced_training/plot_data_augmentation_search.rst +0 -720
- braindecode-0.8.1/docs/auto_examples/advanced_training/sg_execution_times.rst +0 -19
- braindecode-0.8.1/docs/auto_examples/applied_examples/plot_sleep_staging_chambon2018.rst +0 -697
- braindecode-0.8.1/docs/auto_examples/applied_examples/plot_sleep_staging_eldele2021.rst +0 -793
- braindecode-0.8.1/docs/auto_examples/applied_examples/plot_sleep_staging_usleep.rst +0 -711
- braindecode-0.8.1/docs/auto_examples/applied_examples/plot_tuh_eeg_corpus.ipynb +0 -187
- braindecode-0.8.1/docs/auto_examples/applied_examples/sg_execution_times.rst +0 -21
- braindecode-0.8.1/docs/auto_examples/datasets_io/benchmark_lazy_eager_loading.ipynb +0 -183
- braindecode-0.8.1/docs/auto_examples/datasets_io/sg_execution_times.rst +0 -27
- braindecode-0.8.1/docs/auto_examples/model_building/plot_basic_training_epochs.rst +0 -588
- braindecode-0.8.1/docs/auto_examples/model_building/plot_bcic_iv_2a_moabb_cropped.ipynb +0 -226
- braindecode-0.8.1/docs/auto_examples/model_building/plot_hyperparameter_tuning_with_scikit-learn.ipynb +0 -257
- braindecode-0.8.1/docs/auto_examples/model_building/plot_hyperparameter_tuning_with_scikit-learn.rst +0 -724
- braindecode-0.8.1/docs/auto_examples/model_building/plot_regression.ipynb +0 -212
- braindecode-0.8.1/docs/auto_examples/model_building/sg_execution_times.rst +0 -25
- braindecode-0.8.1/docs/generated/braindecode.models.get_output_shape.rst +0 -12
- braindecode-0.8.1/docs/generated/braindecode.preprocessing.scale.rst +0 -12
- braindecode-0.8.1/pyproject.toml +0 -95
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode/datautil/util.py +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode.egg-info/dependency_links.txt +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/braindecode.egg-info/top_level.txt +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/_templates/autosummary/class.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/_templates/autosummary/function.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/cite.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.AugmentedDataLoader.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.bandstop_filter.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.channels_dropout.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.channels_permute.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.channels_shuffle.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.frequency_shift.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.ft_surrogate.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.gaussian_noise.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.identity.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.mixup.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.sensors_rotation.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.sign_flip.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.smooth_time_mask.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.augmentation.functional.time_reverse.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.BCICompetitionIVDataset4.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.BNCI2014001.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.BaseConcatDataset.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.BaseDataset.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.HGD.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.MOABBDataset.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.SleepPhysionet.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.TUH.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.TUHAbnormal.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.WindowsDataset.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.create_from_X_y.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.create_from_mne_epochs.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datasets.create_from_mne_raw.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datautil.load_concat_dataset.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.datautil.save_concat_dataset.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.models.EEGModuleMixin.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.Crop.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.DropChannels.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.Filter.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.Pick.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.Preprocessor.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.Resample.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.SetEEGReference.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.create_fixed_length_windows.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.create_windows_from_events.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.create_windows_from_target_channels.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.exponential_moving_demean.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.exponential_moving_standardize.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.filterbank.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.preprocessing.preprocess.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.samplers.BalancedSequenceSampler.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.samplers.RecordingSampler.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.samplers.RelativePositioningSampler.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.samplers.SequenceSampler.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.CroppedTimeSeriesEpochScoring.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.CroppedTrialEpochScoring.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.PostEpochTrainScoring.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.mixup_criterion.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.predict_trials.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.training.trial_preds_from_window_preds.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.util.set_random_seeds.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.visualization.compute_amplitude_gradients.rst +0 -0
- {braindecode-0.8.1 → braindecode-1.1.0}/docs/generated/braindecode.visualization.plot_confusion_matrix.rst +0 -0
|
@@ -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
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: braindecode
|
|
3
|
-
Version:
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
184
|
-
|
|
185
|
-
and/or other materials provided with the distribution.
|
|
179
|
+
Additional Components
|
|
180
|
+
~~~~~~~~~~~~~~~~~~~~~
|
|
186
181
|
|
|
187
|
-
|
|
188
|
-
|
|
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
|
-
|
|
192
|
-
|
|
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
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
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.
|
|
@@ -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 =
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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, ...],
|
|
112
|
-
|
|
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
|
-
|
|
131
|
-
|
|
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
|
-
|
|
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
|
-
"""
|
|
171
|
-
|
|
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
|
-
|
|
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)
|