API Reference#
Below you’ll find the public Python API, auto‑generated from docstrings. The summaries link to detailed pages for each class or module.
Datasets#
LibriBrain MEG dataset for speech and language tasks. |
|
Speech detection dataset wrapper. |
|
Phoneme classification dataset wrapper. |
|
Word classification dataset wrapper. |
|
|
|
Task-driven dataset for the full LibriBrain100 release. |
|
Speech-vs-silence binary classification on LibriBrain100. |
|
Multi-class phoneme classification on LibriBrain100. |
|
Word classification / keyword detection on LibriBrain100. |
|
MEG-MASC continuous MEG dataset. |
|
Armeni 2022 continuous MEG dataset (CTF, audiobook listening). |
|
Schöffelen 2019 (MOUS) continuous MEG dataset (CTF). |
|
LittlePrince audiobook-listening continuous MEG dataset. |
|
Torch Dataset for Serialized hdf5 files. |
Tasks#
Protocol defining what a Task must implement. |
|
Binary speech vs silence classification task. |
|
Multi-class phoneme classification task. |
|
Word classification task. |
|
Multi-class phoneme classification on MEG-MASC. |
|
Word-onset classification on MEG-MASC. |
|
Multi-class phoneme classification on Armeni 2022. |
|
Trial-onset epoching with a UPPT001 trigger-code label. |
|
Word-onset classification on Pallier 2025 (LittlePrince Listen). |
Preprocessing#
MEG preprocessing pipeline. |
|
Detect and mark bad channels. |
|
Load cached head position data. |
|
Apply Maxwell filter (Signal Space Separation). |
|
Apply notch filter to remove line noise. |
|
Apply bandpass filter. |
|
Downsample the data. |
|
Create epochs from continuous data. |
|
Convert MNE Raw data to H5 format. |
|
Convert MNE Epochs to H5 format. |
Mixins#
Mixin providing HuggingFace download functionality. |
|
Mixin providing OSF download functionality. |
|
Mixin providing WebDAV-backed download from the Radboud Data Repository. |
|
Mixin providing OpenNeuro download functionality. |
|
Mixin for loading raw BIDS MEG data. |
|
Mixin for loading continuous H5 MEG data. |
|
Mixin for loading epoched H5 MEG data. |
|
Mixin providing standardization functionality for MEG data. |
LibriBrain Constants#
Constants for LibriBrain dataset. |