Skip to content

Releases: braindecode/braindecode

v1.3.0

23 Dec 17:31

Choose a tag to compare

Current 1.3 (stable)

Enhancements

  • Adding Hugging Face Hub integration documentation with comprehensive examples for
    loading pre-trained models (:class:braindecode.models.BIOT,
    :class:braindecode.models.Labram, :class:braindecode.models.REVE,
    :class:braindecode.models.LUNA, :class:braindecode.models.BENDR,
    :class:braindecode.models.SignalJEPA) and pushing models to the Hub (:gh:879 by
    Bruno Aristimunha_)
  • Adding :class:braindecode.models.REVE with comprehensive documentation covering
    architecture details, 4D positional encoding, and pretraining scale (:gh:866 by
    Jonathan Lys_ )
  • Adding augmentation :class:braindecode.augmentation.AmplitudeScale (:gh:848 by
    Bruna Lopes_)
  • Adding augmentation :class:braindecode.augmentation.ChannelsReref (:gh:848 by
    Bruna Lopes_)
  • Added Patched Brain Transformer from Klein T et al 2025 at
    :class:braindecode.models.PBT (:gh:787 by José Mauricio_)
  • Including typing in the augmentation module (:gh:709 by Aphel_)
  • Adding :class:braindecode.models.SSTDPN (:gh:790 by Can Han_ and Bruno Aristimunha_ )
  • Adding :class:braindecode.models.BrainModule (:gh:743 by Bruno Aristimunha_ )
  • Added :class:braindecode.models.BENDR (:gh:802 by Bruno Aristimunha_ )
  • Adding a tutorial for fine-tuning a pre-trained foundation model (:gh:794 by Pierre Guetschel_)
  • Added 25 new MNE preprocessing functions, expanding from 6 to 31 total preprocessing
    classes. New functions include: :class:braindecode.preprocessing.NotchFilter,
    :class:braindecode.preprocessing.SavgolFilter,
    :class:braindecode.preprocessing.ApplyHilbert,
    :class:braindecode.preprocessing.InterpolateBads,
    :class:braindecode.preprocessing.InterpolateTo,
    :class:braindecode.preprocessing.RenameChannels,
    :class:braindecode.preprocessing.ReorderChannels,
    :class:braindecode.preprocessing.EqualizeChannels,
    :class:braindecode.preprocessing.AddChannels,
    :class:braindecode.preprocessing.SetMontage,
    :class:braindecode.preprocessing.AddReferenceChannels,
    :class:braindecode.preprocessing.AddProj,
    :class:braindecode.preprocessing.ApplyProj,
    :class:braindecode.preprocessing.DelProj,
    :class:braindecode.preprocessing.ComputeCurrentSourceDensity,
    :class:braindecode.preprocessing.FixStimArtifact,
    :class:braindecode.preprocessing.CropByAnnotations,
    :class:braindecode.preprocessing.Anonymize,
    :class:braindecode.preprocessing.SetAnnotations,
    :class:braindecode.preprocessing.SetChannelTypes,
    :class:braindecode.preprocessing.SetMeasDate,
    :class:braindecode.preprocessing.FixMagCoilTypes,
    :class:braindecode.preprocessing.ApplyGradientCompensation,
    :class:braindecode.preprocessing.AddEvents, and
    :class:braindecode.preprocessing.Rescale (:gh:801 by Bruno Aristimunha_)
  • Adding artifact removal preprocessing steps, incl.
    :class:braindecode.preprocessing.EEGPrep (:gh:796 by Christian Kothe_)
  • Including huggingface hub mixin to all models (:gh:795 by Kuntal Kokate_ )
  • Better inheritance between the different dataset classes (:gh:806 by Pierre Guetschel_ )
  • Fix minor documentation issues in Labram (:gh:808 by Matthew Chen_)
  • Including missed tag in all the models and creating some test for it (:gh:811 by
    Bruno Aristimunha_ )
  • Added :class:braindecode.models.LUNA (:gh:802 by Bruno Aristimunha, Thorir Mar Ingolfsson)
  • Improve :class:braindecode.preprocessing.Preprocessor serialisation (:gh:813 by
    Pierre Guetschel_ )
  • Modify verbosity of create_window_from_events (:gh:814 by Matthew Chen_)
  • Including SIENA dataset and CHB_MIT datasets (:gh:818 by Jonathan Dan_ and Bruno Aristimunha_ )
  • Modify the interface of FBMSNet for consistency with FBCNet + Unit Tests (:gh:819 by
    Matthew Chen_)
  • Adding :class:braindecode.models.MEDFormer (:gh:821 by Bruno Aristimunha_ )
  • Adding :class:braindecode.models.EEGSym model (:gh:697 by Pierre Guetschel_ and
    Bruno Aristimunha_ )
  • Adding tutorial for
    :func:braindecode.preprocessing.windowers.create_fixed_length_windows (:gh:746 by
    Aniela Bulicz and Arina Schippers and Aron van Zuijlen)
  • Including interface with Hugging Face Hub for dataset sharing and loading (:gh:820
    by Kuntal Kokate_ and Bruno Aristimunha_ )
  • Adding a CITATION.cff file, allowing researchers to directly cite the Braindecode
    library via a Zenodo DOI (:gh:847 and :gh:872 by Pierre Guetschel_ )
  • Add automatically-generated pydantic models configs (:gh:850 by Pierre Guetschel_
    )
  • Refactor: standardized parameter names in transformer and LabRam modules (:gh:850 by
    José Mauricio_)
  • Added a tutorial for temporal generalization (:gh:857 by Matthew Chen_)
  • Including colab buttons to all tutorials (:gh:861 by Bruno Aristimunha_ )
  • Adding example Pydantic and Exca (:gh:858 by Pierre Guetschel_)
  • Renaming the model category "Foundation Models" from "Large Brain Models (LBM)"
    (:gh:867 by Bruno Aristimunha_ )
  • Make the dataset at huggingface hub more bids compatible (:gh:871 by Bruno Aristimunha_ )
  • Reorganized BIDS-related modules into :py:mod:braindecode.datasets.bids subpackage
    for better code organization. The subpackage includes: dataset loading
    (datasets.py), Hub format utilities (hub_format.py), Hub integration
    (hub.py), and validation utilities (hub_validation.py) (:gh:871 by Bruno Aristimunha_)
  • Changed metadata storage in Zarr format from JSON attributes to TSV files
    (metadata.tsv) for better scalability with large datasets (:gh:871 by Bruno Aristimunha_)
  • Improved JSON serialization in zarr.json by storing description and info as
    proper JSON objects instead of stringified JSON, with NaN/Inf sanitization for valid
    JSON output (:gh:871 by Bruno Aristimunha_)

API changes

  • BIDS and Hub modules moved to :py:mod:braindecode.datasets.bids subpackage:
    braindecode.datasets.bids.hub, braindecode.datasets.bids.hub_format,
    braindecode.datasets.bids.datasets, braindecode.datasets.bids.hub_validation
    (:gh:871 by Bruno Aristimunha_)

  • Deprecating the old naming of MOABB Dataset name (:gh:826 by Bruno Aristimunha_)

  • Exposing the :func:braindecode.datautil.infer_signal_properties utility function
    (:gh:856 by Pierre Guetschel_)

  • Deprecating the old naming of MOABB Dataset name :gh:826 by Bruno Aristimunha_

  • Drop support for Python 3.10 and increase support to Python 3.13 and python 3.14
    (:gh:840 by Bruno Aristimunha_)

    • Model config helpers now soft-import pydantic/numpydantic; if the optional
      dependencies are missing the module skips config generation and warns to install
      pip install braindecode[pydantic].

Bugs

  • Fixing the issues with :class:braindecode.models.ATCNet (:gh:782 by Hamdi Altaheri_)
  • Fixing expired path when loading a preprocessed dataset that was moved (:gh:786 by
    Pierre Guetschel_)
  • Fix OverflowError sometimes when saving description to a json file (:gh:789 by
    Pierre Guetschel_)
  • Small adjustment in :class:braindecode.models.Labram model to allow pre-loading of
    weights (:gh:792 by Bruno Aristimunha_)
  • Fixing many warnings for generating the documentation (:gh:805 by Bruno Aristimunha_)
  • Fix test compatibility with scikit-learn 1.8+ by adding __sklearn_tags__ support
    to test mocks (:gh:868 by Bruno Aristimunha_)

Release 1.2.0

23 Dec 08:49
0d3b4be

Choose a tag to compare

Check the whats new file

v1.1.1

16 Aug 11:06

Choose a tag to compare

What's Changed

Full Changelog: v1.0...v1.1.1

v1.1

13 Aug 12:01

Choose a tag to compare

What's Changed

Full Changelog: v1.0...v1.1

v1.0

21 Jul 16:49

Choose a tag to compare

What's Changed

Read more

v0.8.1

10 Nov 17:57
0c205e2

Choose a tag to compare

Version 0.7.0

14 Oct 20:18
95bdab9

Choose a tag to compare

See changes at https://braindecode.org/stable/whats_new.html

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.7.0

Version 0.6.0

06 Dec 14:50
f3d7276

Choose a tag to compare

Version 0.5.1

14 Jun 15:42
e706354

Choose a tag to compare

Version 0.5.0

07 Jul 08:01
41a2165

Choose a tag to compare

First release on PyPI.