Skip to main content
Ctrl+K
EEG Dash Logo EEG Dash Logo
  • Datasets
  • Quick Start
  • Install
  • Examples
  • Concepts
  • Docs
    • References
    • EEG2025
  • GitHub
  • PyPI
  • Discord
  • Datasets
  • Quick Start
  • Install
  • Examples
  • Concepts
  • Docs
  • References
  • EEG2025
  • GitHub
  • PyPI
  • Discord
  • Examples gallery

Examples gallery#

The EEGDash gallery is the runnable, narrative half of the docs: the Concepts chapter explains why a decision matters, the API reference enumerates every public symbol, and the gallery you’re reading shows the choices in motion against real BIDS-curated EEG records. Every script under examples/ is a sphinx-gallery tutorial – meaning it executes top to bottom on every documentation build, and the captured first figure is the thumbnail you see below.

The intended path: read the curated Tutorials in order, dip into How-to recipes when you have a specific question, then scale up using the Applied research projects, the EEG2025 Foundation Challenge pipelines, and the High-performance computing track.

How to read this gallery

  • Reading order. Tutorials are sorted by category and numbered (plot_00_*, plot_10_*, …). Inside a category they’re sequenced beginner-first; the file numbers are the intended path.

  • Cards show the captured first figure. Sphinx-gallery stores the first matplotlib figure as the thumbnail, so the card preview is the literal output of running the script. A branded fallback is shown when the tutorial produces no figure.

  • Difficulty. Each section header states the difficulty range (1 = absolute beginner, 3 = advanced / foundation-model tier).

Tutorials (curated learning path)#

Seven categories, ordered the way we would teach them: install, load, decode events, decode state, engineer features, evaluate rigorously, then scale to transfer and foundation models.

Choose your path#

Your goal

Start with

Then read

Load my first dataset

Start Here

Core Decoding Workflow

Train a classifier safely

Core Decoding Workflow

Evaluation and Benchmarking

Extract classical features

Feature Engineering

How-To Guides

Run on a cluster

How-To Guides

HPC tutorials

Join EEG2025

Transfer, Foundation Models, and EEG2025

EEG2025 Foundation Challenge

🚀 Learn the basics

Start with the absolute beginner tutorials.

Start Here
🔬 Run an applied project

Dive into real-world research case studies.

Applied Research Projects
⚡ Scale on HPC

Move from local scripts to cluster-wide jobs.

HPC tutorials
🏆 Join EEG2025

Enter the official Foundation Challenge.

EEG2025 Foundation Challenge

Start Here#

Difficulty 1. Three short lessons that take you from a fresh install to a working PyTorch DataLoader over real EEG records: find datasets and records, load one recording and inspect it, then turn an EEGDashDataset into windows and a dataloader. CPU-only, each runs in under a few minutes.

Find datasets with the EEGDash API

Find datasets with the EEGDash API

Load one EEG recording

Load one EEG recording

EEG recording to PyTorch DataLoader

EEG recording to PyTorch DataLoader

Core Decoding Workflow#

Difficulty 1-2. The canonical EEG decoding pipeline in four lessons: preprocess and window, split without subject leakage, train a baseline against chance, and persist prepared data for reuse. The leakage-safe split lesson is the rubric anchor for E3.27 invariants and Cisotto and Chicco 2024’s evaluation guidance.

Preprocess EEG and create windows

Preprocess EEG and create windows

Split EEG without subject leakage

Split EEG without subject leakage

Train a leakage-safe baseline

Train a leakage-safe baseline

Save and reload prepared data

Save and reload prepared data

Event-Related Decoding#

Difficulty 2. Two lessons that decode labels coming from events and annotations rather than continuous state: a P3 target-versus-standard classifier on a visual oddball paradigm, then the auditory oddball framed as a contrast with the visual case.

Visual P300 oddball decoding

Visual P300 oddball decoding

Auditory P300 oddball decoding

Auditory P300 oddball decoding

Resting-State and State Decoding#

Difficulty 1. The canonical beginner decoding lesson: eyes-open versus eyes-closed classification on resting-state EEG, decoded from alpha-rhythm differences with a band-power baseline.

Decode eyes open vs. eyes closed

Decode eyes open vs. eyes closed

Feature Engineering#

Difficulty 1-2. EEGDash’s feature extraction package as a first-class option, not an afterthought to deep learning. Three lessons cover feature tables from windows, preprocessor and dependency trees that avoid recomputation, and a scikit-learn / LightGBM baseline straight from the feature table.

Extract band-power features

Extract band-power features

Compose EEG markers from Welch PSD

Compose EEG markers from Welch PSD

EEGDash features to scikit-learn

EEGDash features to scikit-learn

Evaluation and Benchmarking#

Difficulty 2-3. Five lessons that treat decoding evaluation as a core skill, drawing on MOABB (Chevallier, Aristimunha et al. 2024). Builds from a single split toward benchmark-grade pipeline comparison: within-subject, cross-subject, cross-session, learning curves, and a paired Wilcoxon comparison of two pipelines.

Within-subject decoding evaluation

Within-subject decoding evaluation

Cross-subject decoding evaluation

Cross-subject decoding evaluation

Cross-session decoding evaluation

Cross-session decoding evaluation

Decoding accuracy learning curves

Decoding accuracy learning curves

Compare two decoding pipelines

Compare two decoding pipelines

Benchmark EEGDash with MOABB

Benchmark EEGDash with MOABB

Transfer, Foundation Models, and EEG2025#

Difficulty 3. Four advanced lessons on transfer learning and foundation-model fine-tuning, framed around the EEG2025 Foundation Challenge: EEGChallengeDataset basics, cross-task transfer (Challenge 1), subject-invariant p-factor regression (Challenge 2), and fine-tuning a Braindecode pretrained model. Builds on Schirrmeister et al. 2017.

How do I get started with the EEG2025 Foundation Challenge dataset?

How do I get started with the EEG2025 Foundation Challenge dataset?

Pretrain on resting-state, fine-tune on contrast-change detection (Simulated Data)

Pretrain on resting-state, fine-tune on contrast-change detection (Simulated Data)

Subject-invariant p-factor regression (EEG2025 Challenge 2)

Subject-invariant p-factor regression (EEG2025 Challenge 2)

How do I adapt a pretrained EEG model to a new task?

How do I adapt a pretrained EEG model to a new task?

How do I plug EEGDash into the Meta NeuroAI ecosystem?

How do I plug EEGDash into the Meta NeuroAI ecosystem?

How-to recipes#

Task-focused snippets that assume you already know the basics: how to download a dataset, run preprocessing on SLURM, parallelize feature extraction, use the HPC cache, and work offline. Each guide answers a single question; cross-link with the HPC track when relevant.

Download an EEGDash dataset in advance and validate the local cache

Download an EEGDash dataset in advance and validate the local cache

Parallelize EEGDash feature extraction

Parallelize EEGDash feature extraction

Place the EEGDash cache on shared or local cluster storage

Place the EEGDash cache on shared or local cluster storage

How-to: work offline against a populated EEGDash cache

How-to: work offline against a populated EEGDash cache

Applied research projects#

Project-style examples that target a concrete scientific question – age regression, p-factor prediction, sex classification, P300 transfer, clinical-catalog summary – with realistic data sizes, runtimes, and limitations. Treat them as starting points, not prescriptive recipes.

Age regression from EEG

Age regression from EEG

Survey clinical EEG datasets

Survey clinical EEG datasets

P300 transfer with AS-MMD

P300 transfer with AS-MMD

Predict p-factor with deep learning

Predict p-factor with deep learning

Predict p-factor from EEG features

Predict p-factor from EEG features

Sex classification from EEG

Sex classification from EEG

EEG2025 Foundation Challenge#

End-to-end pipelines for the two EEG2025 Foundation Challenge tracks: cross-task transfer learning (passive to active), and subject-invariant representations for clinical factor prediction. Pre-trained weights ship alongside each tutorial.

EEG2025 Challenge 1 Baseline (CCD)

EEG2025 Challenge 1 Baseline (CCD)

EEG2025 Challenge 2 Baseline (p-factor)

EEG2025 Challenge 2 Baseline (p-factor)

High-performance computing#

Reference setup for running EEGDash on shared HPC clusters: SLURM submission scripts (CPU and GPU), a Dockerfile, and a tutorial showing how to combine the on-disk cache with batch scheduling for an eyes-open / eyes-closed run.

Eyes Open vs. Closed Classification (HPC)

Eyes Open vs. Closed Classification (HPC)

previous

Installing from sources

next

Start Here

On this page
  • Tutorials (curated learning path)
    • Choose your path
    • Start Here
    • Core Decoding Workflow
    • Event-Related Decoding
    • Resting-State and State Decoding
    • Feature Engineering
    • Evaluation and Benchmarking
    • Transfer, Foundation Models, and EEG2025
  • How-to recipes
  • Applied research projects
  • EEG2025 Foundation Challenge
  • High-performance computing

© Copyright 2025-2026, EEG Dash Developers.

Built with the PyData Sphinx Theme 0.17.1.