Braindecode 1.6.1.dev1045__tar.gz → 1.6.1.dev1047__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.
- {braindecode-1.6.1.dev1045/braindecode.egg-info → braindecode-1.6.1.dev1047}/PKG-INFO +1 -1
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/moabb.py +10 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/__init__.py +2 -1
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/attn_sleep.py +10 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eegnet.py +10 -1
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/tsinception.py +11 -1
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/util.py +2 -0
- braindecode-1.6.1.dev1047/braindecode/version.py +1 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047/braindecode.egg-info}/PKG-INFO +1 -1
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/index.rst +4 -4
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/whats_new.rst +1 -14
- braindecode-1.6.1.dev1045/braindecode/version.py +0 -1
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/LICENSE.txt +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/MANIFEST.in +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/NOTICE.txt +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/README.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/__init__.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/augmentation/__init__.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/augmentation/base.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/augmentation/functional.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/augmentation/transforms.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/classifier.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/__init__.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/base.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bbci.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bcicomp.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/__init__.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/datasets.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/format.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/hub.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/hub_format.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/hub_io.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/hub_validation.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/iterable.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/chb_mit.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/mne.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/nmt.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/registry.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/siena.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/sleep_physio_challe_18.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/sleep_physionet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/tuh.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/utils.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/xy.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datautil/__init__.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datautil/channel_utils.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datautil/hub_formats.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datautil/serialization.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datautil/util.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/eegneuralnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/functional/__init__.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/functional/functions.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/functional/initialization.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/atcnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/attentionbasenet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/base.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/bendr.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/biot.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/brainmodule.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/cbramod.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/codebrain.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/config.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/contrawr.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/ctnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/deep4.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/deepsleepnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/dgcnn.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eegconformer.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eeginception_erp.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eeginception_mi.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eegitnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eegminer.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eegnex.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eegpt.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eegsimpleconv.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eegsym.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eegtcnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/emg2qwerty.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/fbcnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/fblightconvnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/fbmsnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/hybrid.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/ifnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/interpolated.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/labram.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/luna.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/medformer.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/meta_neuromotor.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/msvtnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/patchedtransformer.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/reve.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/sccnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/shallow_fbcsp.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/signal_jepa.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/sinc_shallow.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/sleep_stager_blanco_2020.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/sleep_stager_chambon_2018.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/sparcnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/sstdpn.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/summary.csv +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/syncnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/tcn.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/tidnet.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/usleep.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/__init__.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/activation.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/attention.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/blocks.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/convolution.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/filter.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/interpolation.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/layers.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/linear.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/parametrization.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/stats.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/util.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/wrapper.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/preprocessing/__init__.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/preprocessing/eegprep_preprocess.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/preprocessing/mne_preprocess.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/preprocessing/preprocess.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/preprocessing/util.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/preprocessing/windowers.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/regressor.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/samplers/__init__.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/samplers/base.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/samplers/ssl.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/training/__init__.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/training/callbacks.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/training/losses.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/training/scoring.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/util.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/__init__.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/attribution.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/confusion_matrices.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/frequency.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/metrics.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/sanity.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/topology.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode.egg-info/SOURCES.txt +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode.egg-info/dependency_links.txt +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode.egg-info/requires.txt +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode.egg-info/top_level.txt +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/Makefile +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/_templates/autosummary/class.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/_templates/autosummary/class_in_subdir.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/_templates/autosummary/function.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/_templates/autosummary/function_in_subdir.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/api.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/cite.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/conf.py +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/help.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/install/install.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/install/install_pip.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/install/install_source.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/attention.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/channel.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/convolution.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/filterbank.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/gnn.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/interpretable.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/lbm.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/recurrent.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/spd.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/models.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/models_categorization.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/models_table.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/models_visualization.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/sg_execution_times.rst +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/pyproject.toml +0 -0
- {braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: braindecode
|
|
3
|
-
Version: 1.6.1.
|
|
3
|
+
Version: 1.6.1.dev1047
|
|
4
4
|
Summary: Deep learning software to decode EEG, ECG or MEG signals
|
|
5
5
|
Author-email: Robin Tibor Schirrmeister <robintibor@gmail.com>, Bruno Aristimunha Pinto <b.aristimunha@gmail.com>, Alexandre Gramfort <agramfort@meta.com>
|
|
6
6
|
Maintainer-email: Alexandre Gramfort <agramfort@meta.com>, Bruno Aristimunha Pinto <b.aristimunha@gmail.com>, Robin Tibor Schirrmeister <robintibor@gmail.com>
|
|
@@ -15,6 +15,7 @@ from typing import Any
|
|
|
15
15
|
|
|
16
16
|
import mne
|
|
17
17
|
import pandas as pd
|
|
18
|
+
from mne.utils import deprecated
|
|
18
19
|
|
|
19
20
|
from braindecode.util import _update_moabb_docstring
|
|
20
21
|
|
|
@@ -207,3 +208,12 @@ class HGD(MOABBDataset):
|
|
|
207
208
|
|
|
208
209
|
def __init__(self, subject_ids):
|
|
209
210
|
super().__init__("Schirrmeister2017", subject_ids=subject_ids)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
@deprecated(
|
|
214
|
+
"`BNCI2014001` was renamed to `BNCI2014_001` in v1.13; this alias will be removed in v1.14."
|
|
215
|
+
)
|
|
216
|
+
class BNCI2014001(BNCI2014_001):
|
|
217
|
+
"""Deprecated alias for BNCI2014001."""
|
|
218
|
+
|
|
219
|
+
pass
|
|
@@ -19,7 +19,7 @@ from .eeginception_erp import EEGInceptionERP
|
|
|
19
19
|
from .eeginception_mi import EEGInceptionMI
|
|
20
20
|
from .eegitnet import EEGITNet
|
|
21
21
|
from .eegminer import EEGMiner
|
|
22
|
-
from .eegnet import EEGNet
|
|
22
|
+
from .eegnet import EEGNet, EEGNetv4
|
|
23
23
|
from .eegnex import EEGNeX
|
|
24
24
|
from .eegpt import EEGPT, InterpolatedEEGPT
|
|
25
25
|
from .eegsimpleconv import EEGSimpleConv
|
|
@@ -91,6 +91,7 @@ __all__ = [
|
|
|
91
91
|
"EEGITNet",
|
|
92
92
|
"EEGMiner",
|
|
93
93
|
"EEGNet",
|
|
94
|
+
"EEGNetv4",
|
|
94
95
|
"EEGNeX",
|
|
95
96
|
"EEGSym",
|
|
96
97
|
"EEGSimpleConv",
|
|
@@ -8,6 +8,7 @@ from copy import deepcopy
|
|
|
8
8
|
|
|
9
9
|
import torch
|
|
10
10
|
import torch.nn.functional as F
|
|
11
|
+
from mne.utils import deprecated
|
|
11
12
|
from torch import nn
|
|
12
13
|
|
|
13
14
|
from braindecode.models.base import EEGModuleMixin
|
|
@@ -537,3 +538,12 @@ class _PositionwiseFeedForward(nn.Module):
|
|
|
537
538
|
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
|
538
539
|
"""Implements FFN equation."""
|
|
539
540
|
return self.w_2(self.dropout(self.activate(self.w_1(x))))
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
@deprecated(
|
|
544
|
+
"`SleepStagerEldele2021` was renamed to `AttnSleep` in v1.12 to follow original author's name; this alias will be removed in v1.14."
|
|
545
|
+
)
|
|
546
|
+
class SleepStagerEldele2021(AttnSleep):
|
|
547
|
+
r"""Deprecated alias for SleepStagerEldele2021."""
|
|
548
|
+
|
|
549
|
+
pass
|
|
@@ -6,7 +6,7 @@ from __future__ import annotations
|
|
|
6
6
|
from typing import Dict, Optional
|
|
7
7
|
|
|
8
8
|
from einops.layers.torch import Rearrange
|
|
9
|
-
from mne.utils import warn
|
|
9
|
+
from mne.utils import deprecated, warn
|
|
10
10
|
from torch import nn
|
|
11
11
|
|
|
12
12
|
from braindecode.functional import glorot_weight_zero_bias
|
|
@@ -348,3 +348,12 @@ class EEGNet(EEGModuleMixin, nn.Sequential):
|
|
|
348
348
|
self.add_module("final_layer", module)
|
|
349
349
|
|
|
350
350
|
glorot_weight_zero_bias(self)
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
@deprecated(
|
|
354
|
+
"`EEGNetv4` was renamed to `EEGNet` in v1.12; this alias will be removed in v1.14."
|
|
355
|
+
)
|
|
356
|
+
class EEGNetv4(EEGNet):
|
|
357
|
+
r"""Deprecated alias for EEGNet."""
|
|
358
|
+
|
|
359
|
+
pass
|
|
@@ -7,7 +7,7 @@ from __future__ import annotations
|
|
|
7
7
|
import torch
|
|
8
8
|
import torch.nn as nn
|
|
9
9
|
from einops.layers.torch import Rearrange
|
|
10
|
-
from mne.utils import warn
|
|
10
|
+
from mne.utils import deprecated, warn
|
|
11
11
|
|
|
12
12
|
from braindecode.models.base import EEGModuleMixin
|
|
13
13
|
|
|
@@ -283,3 +283,13 @@ class TSception(EEGModuleMixin, nn.Module):
|
|
|
283
283
|
activation(),
|
|
284
284
|
nn.AvgPool2d(kernel_size=(1, pool_size), stride=(1, pool_size)),
|
|
285
285
|
)
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
@deprecated(
|
|
289
|
+
"`TSceptionV1` was renamed to `TSception` in v1.12; "
|
|
290
|
+
"this alias will be removed in v1.14."
|
|
291
|
+
)
|
|
292
|
+
class TSceptionV1(TSception):
|
|
293
|
+
r"""Deprecated alias for TSception."""
|
|
294
|
+
|
|
295
|
+
pass
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.6.1.dev1047"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: braindecode
|
|
3
|
-
Version: 1.6.1.
|
|
3
|
+
Version: 1.6.1.dev1047
|
|
4
4
|
Summary: Deep learning software to decode EEG, ECG or MEG signals
|
|
5
5
|
Author-email: Robin Tibor Schirrmeister <robintibor@gmail.com>, Bruno Aristimunha Pinto <b.aristimunha@gmail.com>, Alexandre Gramfort <agramfort@meta.com>
|
|
6
6
|
Maintainer-email: Alexandre Gramfort <agramfort@meta.com>, Bruno Aristimunha Pinto <b.aristimunha@gmail.com>, Robin Tibor Schirrmeister <robintibor@gmail.com>
|
|
@@ -293,14 +293,14 @@
|
|
|
293
293
|
<span class="code-step-num">02</span>
|
|
294
294
|
<span class="code-step-text">
|
|
295
295
|
<span class="code-step-title">Preprocess & window</span>
|
|
296
|
-
<span class="code-step-desc">
|
|
296
|
+
<span class="code-step-desc">Bandpass-filter, then cut motor-imagery trials.</span>
|
|
297
297
|
</span>
|
|
298
298
|
</li>
|
|
299
299
|
<li class="code-step">
|
|
300
300
|
<span class="code-step-num">03</span>
|
|
301
301
|
<span class="code-step-text">
|
|
302
302
|
<span class="code-step-title">Pick a model</span>
|
|
303
|
-
<span class="code-step-desc">EEGNeX
|
|
303
|
+
<span class="code-step-desc">EEGNeX with 22 channels, 4 classes, 4.5 s @ 250 Hz.</span>
|
|
304
304
|
</span>
|
|
305
305
|
</li>
|
|
306
306
|
<li class="code-step">
|
|
@@ -321,8 +321,8 @@
|
|
|
321
321
|
<div class="code-window-meta">PyTorch · CUDA</div>
|
|
322
322
|
</div>
|
|
323
323
|
<div class="code-window-body">
|
|
324
|
-
<div class="code-gutter"><div>1</div><div>2</div><div>3</div><div>4</div><div>5</div><div>6</div><div>7</div><div>8</div><div>9</div><div>10</div><div>11</div><div>12</div><div>13</div><div>14</div><div>15</div><div>16</div><div>17</div><div>18</div><div>19</div
|
|
325
|
-
<div class="code-content"><div data-step="0"><span class="tok-com"># 1. Load BCI Competition IV-2a (subject 3) via MOABB</span></div><div data-step="0"><span class="tok-kw">from</span> <span class="tok-var">braindecode.datasets</span> <span class="tok-kw">import</span> <span class="tok-cls">MOABBDataset</span></div><div data-step="0"></div><div data-step="0"><span class="tok-var">dataset</span> = <span class="tok-fn">MOABBDataset</span>(<span class="tok-str">"BNCI2014_001"</span>, <span class="tok-attr">subject_ids</span>=[<span class="tok-num">3</span>])</div><div data-step="1"><span class="tok-com"># 2.
|
|
324
|
+
<div class="code-gutter"><div>1</div><div>2</div><div>3</div><div>4</div><div>5</div><div>6</div><div>7</div><div>8</div><div>9</div><div>10</div><div>11</div><div>12</div><div>13</div><div>14</div><div>15</div><div>16</div><div>17</div><div>18</div><div>19</div></div>
|
|
325
|
+
<div class="code-content"><div data-step="0"><span class="tok-com"># 1. Load BCI Competition IV-2a (subject 3) via MOABB</span></div><div data-step="0"><span class="tok-kw">from</span> <span class="tok-var">braindecode.datasets</span> <span class="tok-kw">import</span> <span class="tok-cls">MOABBDataset</span></div><div data-step="0"></div><div data-step="0"><span class="tok-var">dataset</span> = <span class="tok-fn">MOABBDataset</span>(<span class="tok-str">"BNCI2014_001"</span>, <span class="tok-attr">subject_ids</span>=[<span class="tok-num">3</span>])</div><div data-step="1"><span class="tok-com"># 2. Bandpass-filter and create event-aligned windows</span></div><div data-step="1"><span class="tok-kw">from</span> <span class="tok-var">braindecode.preprocessing</span> <span class="tok-kw">import</span> (</div><div data-step="1"> <span class="tok-cls">Preprocessor</span>, <span class="tok-fn">preprocess</span>, <span class="tok-fn">create_windows_from_events</span>,</div><div data-step="1">)</div><div data-step="1"></div><div data-step="1"><span class="tok-fn">preprocess</span>(<span class="tok-var">dataset</span>, [<span class="tok-fn">Preprocessor</span>(<span class="tok-str">"filter"</span>, <span class="tok-attr">l_freq</span>=<span class="tok-num">4.</span>, <span class="tok-attr">h_freq</span>=<span class="tok-num">38.</span>)])</div><div data-step="1"><span class="tok-var">windows</span> = <span class="tok-fn">create_windows_from_events</span>(<span class="tok-var">dataset</span>)</div><div data-step="2"><span class="tok-com"># 3. Instantiate a published architecture</span></div><div data-step="2"><span class="tok-kw">from</span> <span class="tok-var">braindecode.models</span> <span class="tok-kw">import</span> <span class="tok-cls">EEGNeX</span></div><div data-step="2"></div><div data-step="2"><span class="tok-var">model</span> = <span class="tok-fn">EEGNeX</span>(<span class="tok-attr">n_chans</span>=<span class="tok-num">22</span>, <span class="tok-attr">n_outputs</span>=<span class="tok-num">4</span>, <span class="tok-attr">n_times</span>=<span class="tok-num">1125</span>)</div><div data-step="3"><span class="tok-com"># 4. Train with the skorch-based EEGClassifier</span></div><div data-step="3"><span class="tok-kw">from</span> <span class="tok-var">braindecode</span> <span class="tok-kw">import</span> <span class="tok-cls">EEGClassifier</span></div><div data-step="3"></div><div data-step="3"><span class="tok-var">clf</span> = <span class="tok-fn">EEGClassifier</span>(<span class="tok-attr">module</span>=<span class="tok-var">model</span>, <span class="tok-attr">max_epochs</span>=<span class="tok-num">10</span>)</div><div data-step="3"><span class="tok-var">clf</span>.<span class="tok-fn">fit</span>(<span class="tok-var">windows</span>, <span class="tok-attr">y</span>=<span class="tok-kw">None</span>)</div></div>
|
|
326
326
|
</div>
|
|
327
327
|
<div class="code-output">
|
|
328
328
|
<span class="ok"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg> Trains on CPU or GPU</span>
|
|
@@ -40,12 +40,7 @@ Enhancements
|
|
|
40
40
|
API and behavior changes
|
|
41
41
|
========================
|
|
42
42
|
|
|
43
|
-
-
|
|
44
|
-
deprecation in v1.2/v1.3: ``EEGNetv4`` (use
|
|
45
|
-
:class:`braindecode.models.EEGNet`), ``SleepStagerEldele2021`` (use
|
|
46
|
-
:class:`braindecode.models.AttnSleep`), ``TSceptionV1`` (use
|
|
47
|
-
:class:`braindecode.models.TSception`), and ``BNCI2014001`` (use
|
|
48
|
-
:class:`braindecode.datasets.BNCI2014_001`). (:gh:`1045` by `Bhargav Kowshik`_)
|
|
43
|
+
- None yet
|
|
49
44
|
|
|
50
45
|
Requirements
|
|
51
46
|
============
|
|
@@ -70,13 +65,6 @@ Bug fixes
|
|
|
70
65
|
|
|
71
66
|
- Fix incorrect import path in CONTRIBUTING.md by `Yiheng Li`_
|
|
72
67
|
|
|
73
|
-
- Fix the broken EEGNeX quickstart snippet on the documentation landing page,
|
|
74
|
-
which kept non-EEG channels (including the STIM trigger), hardcoded a
|
|
75
|
-
mismatched ``n_times``, and failed at the default stratified validation split
|
|
76
|
-
with ``y=None``; it now restricts to EEG channels and lets
|
|
77
|
-
:class:`~braindecode.EEGClassifier` infer the signal dimensions from the data.
|
|
78
|
-
By `Bhargav Kowshik`_
|
|
79
|
-
|
|
80
68
|
Code health
|
|
81
69
|
============
|
|
82
70
|
|
|
@@ -1259,4 +1247,3 @@ Authors
|
|
|
1259
1247
|
.. _Léo Burgund: https://github.com/leob000
|
|
1260
1248
|
.. _Adam Mounir: https://github.com/adammounir
|
|
1261
1249
|
.. _Yiheng Li: https://github.com/YihengLi-1
|
|
1262
|
-
.. _Bhargav Kowshik: https://github.com/bkowshik
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.6.1.dev1045"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/augmentation/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/augmentation/functional.py
RENAMED
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/augmentation/transforms.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/__init__.py
RENAMED
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/datasets.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/hub_format.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/hub_validation.py
RENAMED
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/bids/iterable.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datasets/sleep_physionet.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datautil/channel_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/datautil/serialization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/functional/initialization.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/attentionbasenet.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eeginception_erp.py
RENAMED
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/eeginception_mi.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/fblightconvnet.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/meta_neuromotor.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/models/patchedtransformer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/interpolation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/modules/parametrization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/preprocessing/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/preprocessing/mne_preprocess.py
RENAMED
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/preprocessing/preprocess.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/preprocessing/windowers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/__init__.py
RENAMED
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/attribution.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/frequency.py
RENAMED
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/metrics.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode/visualization/topology.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/braindecode.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/_templates/autosummary/class.rst
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/_templates/autosummary/function.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/attention.rst
RENAMED
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/channel.rst
RENAMED
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/convolution.rst
RENAMED
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/filterbank.rst
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/interpretable.rst
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/categorization/recurrent.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/models_categorization.rst
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.6.1.dev1045 → braindecode-1.6.1.dev1047}/docs/models/models_visualization.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|