Which is the smallest dataset included with MNE ` mne.datasets` (testing purposes)

What is the smallest dataset that could be downloaded? Sometimes I need to create an example to reproduce or demontrate some issue that is not related to specific dataset (or fairly general), for example an problem with plotting, and I want to use some of the datasets inluded with mne.datasets but I don’t know its size.

I would like to limit my carbon footprint/ time used to download data (and pick the smallest dataset that I can use to test my problem)

Could this information, at least for some of the smallest/most used dataset be provided at the relevant page?
https://mne.tools/dev/documentation/datasets.html

I don’t know off the top of my hat, but this information would be very valuable to have in the docs!

Often you probably don’t even need to download real EEG to demonstrate the problem, so here’s what I usually use in my examples:

from mne import create_info
from mne.io import RawArray
from numpy.random import default_rng


def create_toy_data(n_channels=3, duration=25, sfreq=250, seed=None):
    rng = default_rng(seed)
    data = rng.standard_normal(size=(n_channels, duration * sfreq)) * 5e-6
    info = create_info(n_channels, sfreq, "eeg")
    return RawArray(data, info)


raw = create_toy_data()
4 Likes

Time to start addressing Function for creating toy data · Issue #10954 · mne-tools/mne-python · GitHub :smiling_face_with_tear:

1 Like