:orphan:



.. _sphx_glr_auto_examples:

Examples
========



.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="In this example, we show multiple ways of how to split datasets.">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_split_dataset_thumb.png
     :alt: Split Dataset Example

     :ref:`sphx_glr_auto_examples_plot_split_dataset.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_split_dataset

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="In this example, we show how to load and save braindecode datasets.">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_load_save_datasets_thumb.png
     :alt: Load and save dataset example

     :ref:`sphx_glr_auto_examples_plot_load_save_datasets.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_load_save_datasets

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="MNE Dataset Example">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_mne_dataset_example_thumb.png
     :alt: MNE Dataset Example

     :ref:`sphx_glr_auto_examples_plot_mne_dataset_example.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_mne_dataset_example

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how to convert data X and y as numpy arrays to a braindecode compatible data...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_custom_dataset_example_thumb.png
     :alt: Custom Dataset Example

     :ref:`sphx_glr_auto_examples_plot_custom_dataset_example.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_custom_dataset_example

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="In this example, we showcase usage of multiple discrete targets per recording with the TUH EEG ...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_tuh_discrete_multitarget_thumb.png
     :alt: Multiple discrete targets with the TUH EEG Corpus

     :ref:`sphx_glr_auto_examples_plot_tuh_discrete_multitarget.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_tuh_discrete_multitarget

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="In this example, we compare the execution time and memory requirements of preprocessing data wi...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_benchmark_preprocessing_thumb.png
     :alt: Benchmarking preprocessing with parallelization and serialization

     :ref:`sphx_glr_auto_examples_plot_benchmark_preprocessing.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_benchmark_preprocessing

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="In this example, we show how to fetch and prepare a MOABB dataset for usage with Braindecode.">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_dataset_example_thumb.png
     :alt: MOABB Dataset Example

     :ref:`sphx_glr_auto_examples_plot_dataset_example.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_dataset_example

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Regression example on fake data">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_regression_thumb.png
     :alt: Regression example on fake data

     :ref:`sphx_glr_auto_examples_plot_regression.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_regression

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="In this example, we showcase usage of the Temple University Hospital EEG Corpus (https://www.is...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_tuh_eeg_corpus_thumb.png
     :alt: Process a big data EEG resource (TUH EEG Corpus)

     :ref:`sphx_glr_auto_examples_plot_tuh_eeg_corpus.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_tuh_eeg_corpus

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows how to train and test a sleep staging neural network with Braindecode. We a...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_sleep_staging_usleep_thumb.png
     :alt: Sleep staging on the Sleep Physionet dataset using U-Sleep network

     :ref:`sphx_glr_auto_examples_plot_sleep_staging_usleep.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_sleep_staging_usleep

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows how to train EEG deep models with data augmentation. It follows the trial-w...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_data_augmentation_thumb.png
     :alt: Data Augmentation on BCIC IV 2a Dataset

     :ref:`sphx_glr_auto_examples_plot_data_augmentation.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_data_augmentation

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows how to train and test a sleep staging neural network with Braindecode. We u...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_sleep_staging_eldele2021_thumb.png
     :alt: Sleep staging on the Sleep Physionet dataset using Eldele2021

     :ref:`sphx_glr_auto_examples_plot_sleep_staging_eldele2021.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_sleep_staging_eldele2021

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows how to train and test a sleep staging neural network with Braindecode. We a...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_sleep_staging_chambon2018_thumb.png
     :alt: Sleep staging on the Sleep Physionet dataset using Chambon2018 network

     :ref:`sphx_glr_auto_examples_plot_sleep_staging_chambon2018.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_sleep_staging_chambon2018

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows you how to train and test deep learning models with Braindecode in a classi...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_bcic_iv_2a_moabb_trial_thumb.png
     :alt: Trialwise Decoding on BCIC IV 2a Dataset

     :ref:`sphx_glr_auto_examples_plot_bcic_iv_2a_moabb_trial.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_bcic_iv_2a_moabb_trial

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Cropped Decoding on BCIC IV 2a Dataset">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_bcic_iv_2a_moabb_cropped_thumb.png
     :alt: Cropped Decoding on BCIC IV 2a Dataset

     :ref:`sphx_glr_auto_examples_plot_bcic_iv_2a_moabb_cropped.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_bcic_iv_2a_moabb_cropped

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows you how to train and test deep learning models with Braindecode on ECoG BCI...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_bcic_iv_4_ecog_trial_thumb.png
     :alt: Fingers flexion decoding on BCIC IV 4 ECoG Dataset

     :ref:`sphx_glr_auto_examples_plot_bcic_iv_4_ecog_trial.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_bcic_iv_4_ecog_trial

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="In this example, we compare the execution time and memory requirements of 1) eager loading, i.e...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_benchmark_lazy_eager_loading_thumb.png
     :alt: Benchmarking eager and lazy loading

     :ref:`sphx_glr_auto_examples_benchmark_lazy_eager_loading.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/benchmark_lazy_eager_loading

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This tutorial shows you how to train and test deep learning models with Braindecode on ECoG BCI...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_bcic_iv_4_ecog_cropped_thumb.png
     :alt: Fingers flexion cropped decoding on BCIC IV 4 ECoG Dataset

     :ref:`sphx_glr_auto_examples_plot_bcic_iv_4_ecog_cropped.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_bcic_iv_4_ecog_cropped

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="This example shows how to train a neural network with self-supervision on sleep EEG data. We fo...">

.. only:: html

 .. figure:: /auto_examples/images/thumb/sphx_glr_plot_relative_positioning_thumb.png
     :alt: Self-supervised learning on EEG with relative positioning

     :ref:`sphx_glr_auto_examples_plot_relative_positioning.py`

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/plot_relative_positioning
.. raw:: html

    <div class="sphx-glr-clear"></div>



.. only :: html

 .. container:: sphx-glr-footer
    :class: sphx-glr-footer-gallery


  .. container:: sphx-glr-download sphx-glr-download-python

    :download:`Download all examples in Python source code: auto_examples_python.zip </auto_examples/auto_examples_python.zip>`



  .. container:: sphx-glr-download sphx-glr-download-jupyter

    :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip </auto_examples/auto_examples_jupyter.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_