Braindecode 1.8.0.dev1115__tar.gz → 1.8.0.dev1122__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.8.0.dev1115/braindecode.egg-info → braindecode-1.8.0.dev1122}/PKG-INFO +1 -1
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/base.py +1 -40
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/samplers/base.py +2 -40
- braindecode-1.8.0.dev1122/braindecode/version.py +1 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122/braindecode.egg-info}/PKG-INFO +1 -1
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/whats_new.rst +0 -28
- braindecode-1.8.0.dev1115/braindecode/version.py +0 -1
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/LICENSE.txt +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/MANIFEST.in +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/NOTICE.txt +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/README.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/augmentation/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/augmentation/base.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/augmentation/functional.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/augmentation/transforms.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/classifier.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/base.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bbci.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bcicomp.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/datasets.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/format.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/hub.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/hub_format.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/hub_io.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/hub_validation.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/iterable.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/chb_mit.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/collate.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/mne.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/moabb.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/nmt.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/registry.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/siena.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/sleep_physio_challe_18.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/sleep_physionet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/tuh.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/utils.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/xy.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datautil/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datautil/channel_utils.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datautil/hub_formats.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datautil/serialization.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datautil/util.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/eegneuralnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/functional/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/functional/functions.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/functional/initialization.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/atcnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/attentionbasenet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/attn_sleep.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/bendr.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/biot.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/brainmodule.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/cbramod.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/codebrain.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/config.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/contrawr.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/ctnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/dance.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/deep4.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/deepsleepnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/dgcnn.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eegconformer.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eegdino.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eeginception_erp.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eeginception_mi.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eegitnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eegminer.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eegnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eegnex.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eegpt.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eegsimpleconv.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eegsym.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eegtcnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/emg2qwerty.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/fbcnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/fblightconvnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/fbmsnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/hybrid.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/ifnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/interpolated.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/labram.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/luna.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/medformer.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/meta_neuromotor.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/msvtnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/mvpformer.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/patchedtransformer.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/reve.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/sccnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/shallow_fbcsp.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/signal_jepa.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/sinc_shallow.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/sleep_stager_blanco_2020.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/sleep_stager_chambon_2018.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/sparcnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/sstdpn.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/steegformer.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/summary.csv +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/syncnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/tcformer.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/tcn.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/tidnet.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/tsinception.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/usleep.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/util.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/zuna.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/activation.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/attention.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/blocks.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/convolution.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/dance_modules.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/filter.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/interpolation.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/layers.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/linear.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/parametrization.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/stats.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/util.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/wrapper.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/preprocessing/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/preprocessing/eegprep_preprocess.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/preprocessing/mne_preprocess.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/preprocessing/preprocess.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/preprocessing/util.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/preprocessing/windowers.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/regressor.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/samplers/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/samplers/ssl.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/training/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/training/callbacks.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/training/losses.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/training/scoring.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/util.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/__init__.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/attribution.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/confusion_matrices.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/frequency.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/metrics.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/sanity.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/topology.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode.egg-info/SOURCES.txt +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode.egg-info/dependency_links.txt +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode.egg-info/requires.txt +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode.egg-info/top_level.txt +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/Makefile +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/_templates/autosummary/class.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/_templates/autosummary/class_in_subdir.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/_templates/autosummary/function.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/_templates/autosummary/function_in_subdir.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/api.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/cite.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/conf.py +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/help.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/index.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/install/install.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/install/install_pip.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/install/install_source.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/attention.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/channel.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/convolution.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/filterbank.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/gnn.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/interpretable.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/lbm.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/recurrent.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/spd.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/models.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/models_categorization.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/models_table.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/models_visualization.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/sg_execution_times.rst +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/pyproject.toml +0 -0
- {braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: braindecode
|
|
3
|
-
Version: 1.8.0.
|
|
3
|
+
Version: 1.8.0.dev1122
|
|
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>
|
|
@@ -198,34 +198,7 @@ class EEGModuleMixin(_BaseHubMixin, metaclass=_BraindecodeDocstringMeta):
|
|
|
198
198
|
See :ref:`load-pretrained-models` for a complete tutorial.
|
|
199
199
|
"""
|
|
200
200
|
|
|
201
|
-
#: Attributes that :func:`torch.jit.script` must not introspect. The
|
|
202
|
-
#: signal-related properties raise :class:`ValueError` when their value was
|
|
203
|
-
#: neither given nor inferable, and ``mapping`` carries a postponed
|
|
204
|
-
#: annotation TorchScript cannot resolve. Either one aborts scripting
|
|
205
|
-
#: before ``forward`` is ever compiled.
|
|
206
|
-
__jit_ignored_attributes__ = [
|
|
207
|
-
*sorted(_EEG_PARAMS),
|
|
208
|
-
"_chs_info",
|
|
209
|
-
"input_shape",
|
|
210
|
-
"mapping",
|
|
211
|
-
]
|
|
212
|
-
#: Rich MNE channel dictionaries are intentionally unavailable in scripted
|
|
213
|
-
#: forwards; they remain unchanged on eager models and in saved configs.
|
|
214
|
-
__jit_unused_properties__ = ["chs_info"]
|
|
215
|
-
|
|
216
201
|
def __init_subclass__(cls, **kwargs):
|
|
217
|
-
# TorchScript only honours ``__jit_ignored_attributes__`` for
|
|
218
|
-
# properties defined directly on the concrete class: it collects them
|
|
219
|
-
# with ``vars(type(module))``, which skips inherited ones. Rebinding
|
|
220
|
-
# the very same property objects on each subclass makes them visible
|
|
221
|
-
# there without changing any runtime behaviour.
|
|
222
|
-
for name in cls.__jit_ignored_attributes__:
|
|
223
|
-
if name in cls.__dict__:
|
|
224
|
-
continue
|
|
225
|
-
prop = getattr(cls, name, None)
|
|
226
|
-
if isinstance(prop, property):
|
|
227
|
-
setattr(cls, name, prop)
|
|
228
|
-
|
|
229
202
|
# Append model-specific Hub integration notes to the docstring.
|
|
230
203
|
# This runs before the metaclass __init__, so the Hub notes will
|
|
231
204
|
# be included in the docstring that the metaclass processes.
|
|
@@ -313,12 +286,6 @@ class EEGModuleMixin(_BaseHubMixin, metaclass=_BraindecodeDocstringMeta):
|
|
|
313
286
|
self._chs_info = chs_info # type: ignore[assignment]
|
|
314
287
|
self._n_outputs = n_outputs # type: ignore[assignment]
|
|
315
288
|
self._n_chans = n_chans # type: ignore[assignment]
|
|
316
|
-
# TorchScript cannot represent the rich MNE dictionaries in _chs_info.
|
|
317
|
-
# Keep the original eager state above and expose only the derived scalar
|
|
318
|
-
# to scripted signal-property getters.
|
|
319
|
-
self._n_chans_for_jit = (
|
|
320
|
-
len(chs_info) if n_chans is None and chs_info is not None else n_chans
|
|
321
|
-
)
|
|
322
289
|
self._n_times = n_times # type: ignore[assignment]
|
|
323
290
|
self._sfreq = sfreq # type: ignore[assignment]
|
|
324
291
|
|
|
@@ -343,12 +310,6 @@ class EEGModuleMixin(_BaseHubMixin, metaclass=_BraindecodeDocstringMeta):
|
|
|
343
310
|
|
|
344
311
|
@property
|
|
345
312
|
def n_chans(self) -> int:
|
|
346
|
-
if torch.jit.is_scripting():
|
|
347
|
-
if self._n_chans_for_jit is None:
|
|
348
|
-
raise ValueError(
|
|
349
|
-
"n_chans could not be inferred. Either specify n_chans or chs_info."
|
|
350
|
-
)
|
|
351
|
-
return self._n_chans_for_jit
|
|
352
313
|
if self._n_chans is None and self._chs_info is not None:
|
|
353
314
|
return len(self._chs_info)
|
|
354
315
|
elif self._n_chans is None:
|
|
@@ -358,7 +319,7 @@ class EEGModuleMixin(_BaseHubMixin, metaclass=_BraindecodeDocstringMeta):
|
|
|
358
319
|
return self._n_chans
|
|
359
320
|
|
|
360
321
|
@property
|
|
361
|
-
def chs_info(self) -> list[
|
|
322
|
+
def chs_info(self) -> list[str]:
|
|
362
323
|
if self._chs_info is None:
|
|
363
324
|
raise ValueError("chs_info not specified.")
|
|
364
325
|
return self._chs_info
|
|
@@ -5,7 +5,6 @@ Sampler classes.
|
|
|
5
5
|
# Authors: Hubert Banville <hubert.jbanville@gmail.com>
|
|
6
6
|
# Theo Gnassounou <>
|
|
7
7
|
# Young Truong <dt.young112@gmail.com>
|
|
8
|
-
# Sarthak Tayal <sarthaktayal2@gmail.com>
|
|
9
8
|
#
|
|
10
9
|
# License: BSD (3-clause)
|
|
11
10
|
|
|
@@ -220,9 +219,6 @@ class DistributedRecordingSampler(DistributedSampler):
|
|
|
220
219
|
class SequenceSampler(RecordingSampler):
|
|
221
220
|
"""Sample sequences of consecutive windows.
|
|
222
221
|
|
|
223
|
-
Recordings holding fewer than ``n_windows`` windows cannot contain a full
|
|
224
|
-
sequence and contribute none.
|
|
225
|
-
|
|
226
222
|
Parameters
|
|
227
223
|
----------
|
|
228
224
|
metadata : pd.DataFrame
|
|
@@ -231,7 +227,7 @@ class SequenceSampler(RecordingSampler):
|
|
|
231
227
|
Number of consecutive windows in a sequence.
|
|
232
228
|
n_windows_stride : int
|
|
233
229
|
Number of windows between two consecutive sequences.
|
|
234
|
-
|
|
230
|
+
random : bool
|
|
235
231
|
If True, sample sequences randomly. If False, sample sequences in
|
|
236
232
|
order.
|
|
237
233
|
random_state : np.random.RandomState | int | None
|
|
@@ -273,10 +269,7 @@ class SequenceSampler(RecordingSampler):
|
|
|
273
269
|
.apply(lambda x: x[: end_offset : self.n_windows_stride])
|
|
274
270
|
.values
|
|
275
271
|
)
|
|
276
|
-
|
|
277
|
-
file_ids = [
|
|
278
|
-
np.full(len(inds), i, dtype=np.int64) for i, inds in enumerate(start_inds)
|
|
279
|
-
]
|
|
272
|
+
file_ids = [[i] * len(inds) for i, inds in enumerate(start_inds)]
|
|
280
273
|
return np.concatenate(start_inds), np.concatenate(file_ids)
|
|
281
274
|
|
|
282
275
|
def __len__(self):
|
|
@@ -303,10 +296,6 @@ class BalancedSequenceSampler(RecordingSampler):
|
|
|
303
296
|
3. Sample a window of the corresponding class in the selected recording.
|
|
304
297
|
4. Extract a sequence of windows around the sampled window.
|
|
305
298
|
|
|
306
|
-
Recordings holding fewer than ``n_windows`` windows cannot contain a full
|
|
307
|
-
sequence and are left out of step 1, as they are in
|
|
308
|
-
:class:`SequenceSampler`.
|
|
309
|
-
|
|
310
299
|
Parameters
|
|
311
300
|
----------
|
|
312
301
|
metadata : pd.DataFrame
|
|
@@ -333,33 +322,6 @@ class BalancedSequenceSampler(RecordingSampler):
|
|
|
333
322
|
self.n_windows = n_windows
|
|
334
323
|
self.n_sequences = n_sequences
|
|
335
324
|
self.info_class = self._init_info(metadata, required_keys=["target"])
|
|
336
|
-
self.long_enough_recordings = self._find_long_enough_recordings()
|
|
337
|
-
|
|
338
|
-
def _find_long_enough_recordings(self):
|
|
339
|
-
"""Return the indices of the recordings that can hold a full sequence.
|
|
340
|
-
|
|
341
|
-
Returns
|
|
342
|
-
-------
|
|
343
|
-
np.ndarray :
|
|
344
|
-
Array of recording indices holding at least ``n_windows`` windows.
|
|
345
|
-
"""
|
|
346
|
-
n_windows_per_rec = self.info["index"].apply(len).to_numpy()
|
|
347
|
-
if n_windows_per_rec.size == 0:
|
|
348
|
-
raise ValueError("Cannot build sequences from empty metadata.")
|
|
349
|
-
|
|
350
|
-
long_enough = np.flatnonzero(n_windows_per_rec >= self.n_windows)
|
|
351
|
-
if len(long_enough) == 0:
|
|
352
|
-
raise ValueError(
|
|
353
|
-
f"No recording holds enough windows to build a sequence of "
|
|
354
|
-
f"{self.n_windows} windows. The longest recording has "
|
|
355
|
-
f"{n_windows_per_rec.max()} windows. Reduce n_windows to at "
|
|
356
|
-
f"most that value."
|
|
357
|
-
)
|
|
358
|
-
return long_enough
|
|
359
|
-
|
|
360
|
-
def sample_recording(self):
|
|
361
|
-
"""Return a random recording index among the ones long enough."""
|
|
362
|
-
return self.rng.choice(self.long_enough_recordings)
|
|
363
325
|
|
|
364
326
|
def sample_class(self, rec_ind=None):
|
|
365
327
|
"""Return a random class.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.8.0.dev1122"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: braindecode
|
|
3
|
-
Version: 1.8.0.
|
|
3
|
+
Version: 1.8.0.dev1122
|
|
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>
|
|
@@ -28,14 +28,6 @@ Current 1.8.0 (GitHub)
|
|
|
28
28
|
Enhancements
|
|
29
29
|
============
|
|
30
30
|
|
|
31
|
-
- Models with TorchScript-compatible forward paths can now be passed straight
|
|
32
|
-
to :func:`torch.jit.script`, without first being rebuilt as a plain
|
|
33
|
-
:class:`torch.nn.Module`.
|
|
34
|
-
:class:`braindecode.models.base.EEGModuleMixin` hides its signal-related
|
|
35
|
-
properties and the ``mapping`` attribute from TorchScript introspection, so
|
|
36
|
-
scripting reaches ``forward`` instead of failing on the class attributes.
|
|
37
|
-
(:gh:`1115` by `Aditya Singh`_)
|
|
38
|
-
|
|
39
31
|
- Add a transfer-learning tutorial illustrating the TUAB-to-NMT pathology
|
|
40
32
|
workflow with offline synthetic recordings
|
|
41
33
|
(:gh:`580` by `Mohammad Javad D`_ and `Bruno Aristimunha`_).
|
|
@@ -91,25 +83,6 @@ Bug fixes
|
|
|
91
83
|
which no longer exposes the ``eegprep.utils`` namespace used for sampling-rate
|
|
92
84
|
validation (:gh:`1123` by `Bruno Aristimunha`_).
|
|
93
85
|
|
|
94
|
-
- Leave recordings shorter than ``n_windows`` out of the draw in
|
|
95
|
-
:class:`braindecode.samplers.BalancedSequenceSampler` instead of failing on
|
|
96
|
-
them. Such a recording holds no valid sequence start, which made the sampling
|
|
97
|
-
range empty and raised ``ValueError: high <= 0`` on the first sequence that
|
|
98
|
-
landed there. :class:`braindecode.samplers.SequenceSampler` already skips
|
|
99
|
-
those recordings. A clear error now names the longest recording when none of
|
|
100
|
-
them can hold a sequence (:gh:`1125` by `Sarthak Tayal`_).
|
|
101
|
-
|
|
102
|
-
- Keep ``file_ids`` of :class:`braindecode.samplers.SequenceSampler` integer.
|
|
103
|
-
The ids were built from untyped lists, so an empty list coming from a
|
|
104
|
-
recording too short for a sequence turned the concatenated array into
|
|
105
|
-
``float64``, against the documented dtype and unusable as an index
|
|
106
|
-
(:gh:`1125` by `Sarthak Tayal`_).
|
|
107
|
-
|
|
108
|
-
- Document the ``randomize`` parameter of
|
|
109
|
-
:class:`braindecode.samplers.SequenceSampler` under its own name. The
|
|
110
|
-
docstring described it as ``random``, which no signature accepts
|
|
111
|
-
(:gh:`1125` by `Sarthak Tayal`_).
|
|
112
|
-
|
|
113
86
|
Code health
|
|
114
87
|
============
|
|
115
88
|
|
|
@@ -1620,4 +1593,3 @@ Authors
|
|
|
1620
1593
|
.. _Fashad Ahmed: https://github.com/Fashad-Ahmed
|
|
1621
1594
|
.. _Bhargav Kowshik: https://github.com/bkowshik
|
|
1622
1595
|
.. _Jon Huml: https://github.com/jonathanhuml
|
|
1623
|
-
.. _Aditya Singh: https://github.com/adityasingh2400
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.8.0.dev1115"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/augmentation/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/augmentation/functional.py
RENAMED
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/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.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/__init__.py
RENAMED
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/datasets.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/hub_format.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/bids/hub_validation.py
RENAMED
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/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
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datasets/sleep_physionet.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datautil/channel_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/datautil/serialization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/functional/initialization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/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
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/eeginception_erp.py
RENAMED
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/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
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/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.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/models/meta_neuromotor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/dance_modules.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/interpolation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/modules/parametrization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/preprocessing/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/preprocessing/mne_preprocess.py
RENAMED
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/preprocessing/preprocess.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/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
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/__init__.py
RENAMED
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/attribution.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/frequency.py
RENAMED
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/metrics.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode/visualization/topology.py
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/braindecode.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/_templates/autosummary/class.rst
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/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
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/attention.rst
RENAMED
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/channel.rst
RENAMED
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/convolution.rst
RENAMED
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/filterbank.rst
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/interpretable.rst
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/categorization/recurrent.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/models_categorization.rst
RENAMED
|
File without changes
|
|
File without changes
|
{braindecode-1.8.0.dev1115 → braindecode-1.8.0.dev1122}/docs/models/models_visualization.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|