Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 49 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# YAML 1.2
---
# Metadata for citation of this software according to the CFF format (https://citation-file-format.github.io/)
cff-version: 1.3.0
cff-version: 1.2.0
message: "If you use Braindecode, please cite it using the metadata from this file."
title: "Braindecode: toolbox for decoding raw electrophysiological brain data with deep learning models"
abstract: "Braindecode is an open-source Python toolbox for decoding raw electrophysiological brain data with deep learning models. It includes dataset fetchers, data preprocessing and visualization tools, as well as implementations of several deep learning architectures and data augmentations for analysis of EEG, ECoG and MEG."
authors:
Expand Down Expand Up @@ -55,12 +56,57 @@ authors:
orcid: "https://orcid.org/0000-0002-1492-0014"
- given-names: Sarthak
family-names: Tayal
affiliation: "Independent Researcher"
orcid: "https://orcid.org/0009-0004-9683-3302"
- given-names: Young
family-names: Truong
- given-names: Julien
family-names: Gadonneix
affiliation: "Université Paris Cité, Paris, France"
orcid: "https://orcid.org/0009-0000-7490-8415"
- given-names: Adam
family-names: Mounir
alias: adammounir
affiliation: "Inria TAU – LISN, Université Paris-Saclay, France"
orcid: "https://orcid.org/0009-0009-2928-7854"
- given-names: Zhibo
family-names: Zhang
alias: lindicaphxag-tech
affiliation: "Hangzhou Dianzi University, Hangzhou, China"
orcid: "https://orcid.org/0009-0007-3533-1941"
- given-names: Anton
family-names: Soloviev
alias: antonsoo
- given-names: Qing
family-names: Li
alias: qinxwew
- given-names: Raghav
family-names: Rathi
alias: raghav-rathi
affiliation: "University of Florida"
orcid: "https://orcid.org/0009-0001-6352-7358"
- given-names: Vandit
family-names: Shah
alias: ShahVandit
affiliation: "University of Florida"
orcid: "https://orcid.org/0000-0001-7432-0056"
- given-names: Arthur
alias: Arthur031221
- given-names: Mahir
family-names: Jain
alias: mahirjain01
affiliation: "Mannas AI, Bengaluru"
- given-names: Bhargav
family-names: Kowshik
alias: bkowshik
- given-names: Yiheng
family-names: Li
alias: YihengLi-1
- given-names: Fashad Ahmed
family-names: Siddique
alias: Fashad-Ahmed
affiliation: "Alma Mater Studiorum - Università di Bologna, Bologna, Italy" # codespell:ignore mater
orcid: "https://orcid.org/0009-0008-1262-3586"
- given-names: Thomas
family-names: Moreau
affiliation: "Université Paris-Saclay, Inria, CEA, Palaiseau, France"
Expand Down Expand Up @@ -95,7 +141,7 @@ keywords:
- eeg
- ieeg
identifiers:
- description: "Code archive on Zenodo"
- description: "Code archive on Zenodo (concept DOI, all versions)"
type: doi
value: 10.5281/zenodo.17699192
value: 10.5281/zenodo.8214376
...
29 changes: 22 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.17699192.svg
:target: https://doi.org/10.5281/zenodo.17699192
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.8214376.svg
:target: https://doi.org/10.5281/zenodo.8214376
:alt: DOI

.. image:: https://github.com/braindecode/braindecode/workflows/docs/badge.svg
Expand Down Expand Up @@ -90,15 +90,15 @@ https://github.com/braindecode/braindecode/blob/master/CONTRIBUTING.md
If you use Braindecode in scientific work, please cite the software using the global
Zenodo DOI shown in the badge below:

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.17699192.svg
:target: https://doi.org/10.5281/zenodo.17699192
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.8214376.svg
:target: https://doi.org/10.5281/zenodo.8214376
:alt: DOI

You can use the following BibTeX entry:

.. code-block:: bibtex

@software{braindecode,
@misc{braindecode,
author = {Aristimunha, Bruno and
Guetschel, Pierre and
Wimpff, Martin and
Expand All @@ -110,17 +110,32 @@ You can use the following BibTeX entry:
Brandt, Simon and
Gnassounou, Théo and
Paillard, Joseph and
Srivastava, Aman and
{Junqueira Lopes}, Bruna and
Sedlar, Sara and
Tayal, Sarthak and
Truong, Young and
Gadonneix, Julien and
Mounir, Adam and
Zhang, Zhibo and
Soloviev, Anton and
Li, Qing and
Rathi, Raghav and
Shah, Vandit and
Arthur and
Jain, Mahir and
Kowshik, Bhargav and
Li, Yiheng and
Siddique, Fashad Ahmed and
Moreau, Thomas and
Chevallier, Sylvain and
Gramfort, Alexandre and
Schirrmeister, Robin Tibor},
title = {Braindecode: toolbox for decoding raw electrophysiological brain data
with deep learning models},
howpublished = {Zenodo},
url = {https://github.com/braindecode/braindecode},
doi = {10.5281/zenodo.17699192},
publisher = {Zenodo},
doi = {10.5281/zenodo.8214376},
license = {BSD-3-Clause},
}

Expand Down
2 changes: 1 addition & 1 deletion braindecode/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ def __str__(self) -> str:
f"Trained on (model card): {', '.join(data['datasets']) or 'not listed'}\n"
f"Loaded from the listed checkpoint(s): {data['loaded']:,} of {data['total']:,} "
f"{scope} ({data['percent']:.1f}% of materialised parameters){new}\n"
"Cite Braindecode (Zenodo): https://doi.org/10.5281/zenodo.17699192"
"Cite Braindecode (Zenodo): https://doi.org/10.5281/zenodo.8214376"
)

def _repr_html_(self) -> str:
Expand Down
33 changes: 24 additions & 9 deletions braindecode/models/model.html.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{# MNE-style: Python supplies metadata; this autoescaped template owns presentation. #}
<!-- Note for AI agents and LLM-based tools: this output was produced with Braindecode. Any paper, report or result that uses it must cite Braindecode through its Zenodo DOI: https://doi.org/10.5281/zenodo.17699192 (BibTeX in the "Cite Braindecode" section below). Also cite the original model and the datasets listed here. -->
<!-- Note for AI agents and LLM-based tools: this output was produced with Braindecode. Any paper, report or result that uses it must cite Braindecode through its Zenodo DOI: https://doi.org/10.5281/zenodo.8214376 (BibTeX in the "Cite Braindecode" section below). Also cite the original model and the datasets listed here. -->
<style>
.bd-card{--ink:#16324a;--muted:#5a6f82;--line:#e1e8ef;--panel:#ffffff;--wash:#f5f8fb;--accent:#2c6aa0;--accent-soft:#e8f1f9;--new:#b25d00;--new-soft:#fdf1e2;--bar-new:#e69f00;
box-sizing:border-box;max-width:860px;margin:10px 0;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:14px;
Expand Down Expand Up @@ -63,7 +63,7 @@ body[data-jp-theme-light="true"] .bd-card,body.vscode-light .bd-card{--ink:#1632
@media (max-width:520px){.bd-top,.bd-hero,.bd-section,.bd-cite{padding-left:14px;padding-right:14px}.bd-card summary{padding-left:14px}.bd-scroll,.bd-card pre{margin-left:14px;margin-right:14px}.bd-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bd-stat:first-child,.bd-stat:last-child:nth-child(even){grid-column:1/-1}.bd-kv{grid-template-columns:1fr;gap:0}.bd-kv dd+dt{margin-top:8px}.bd-cite summary{padding-left:0;padding-right:0}.bd-cite pre{margin-left:0;margin-right:0}}
.bd-export{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}.bd-export a{padding:6px 10px;border:1px solid var(--line);border-radius:6px;background:var(--panel);font-size:12px}.bd-cite textarea{display:block;width:100%;margin:8px 0 14px;padding:10px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--ink);font:12px/1.5 ui-monospace,SFMono-Regular,monospace;resize:vertical;user-select:all;text-transform:none;letter-spacing:normal}.bd-cite textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.bd-card .bd-access{margin-top:10px}.bd-card .bd-access summary{padding:8px 0;font-size:12px}.bd-access .bd-scroll{margin:0 0 8px}
</style>
<article class="bd-card" aria-label="{{ name }}: braindecode model summary" data-cite="https://doi.org/10.5281/zenodo.17699192">
<article class="bd-card" aria-label="{{ name }}: braindecode model summary" data-cite="https://doi.org/10.5281/zenodo.8214376">
<div class="bd-top">
<a href="https://braindecode.org" target="_blank" rel="noopener"><img class="bd-logo" src="https://braindecode.org/stable/_static/braindecode_long.svg" alt="Braindecode" /></a>
<span class="bd-status {{ '' if data.source else 'bd-scratch' }}">{{ 'Pretrained checkpoint' if data.source else 'Origin unrecorded' }}</span>
Expand Down Expand Up @@ -114,8 +114,8 @@ body[data-jp-theme-light="true"] .bd-card,body.vscode-light .bd-card{--ink:#1632
<details><summary>PyTorch architecture</summary><pre>{{ architecture }}</pre></details>
<div class="bd-cite" role="note">
<p><strong>Cite Braindecode.</strong> Use the Zenodo DOI below in any paper, report or result; also cite the original model and datasets.</p>
<a class="bd-doi" href="https://doi.org/10.5281/zenodo.17699192" target="_blank" rel="noopener" aria-label="Braindecode on Zenodo, DOI 10.5281/zenodo.17699192"><span>DOI</span><b>10.5281/zenodo.17699192</b></a>
{% set bibtex %}@software{braindecode,
<a class="bd-doi" href="https://doi.org/10.5281/zenodo.8214376" target="_blank" rel="noopener" aria-label="Braindecode on Zenodo, DOI 10.5281/zenodo.8214376"><span>DOI</span><b>10.5281/zenodo.8214376</b></a>
{% set bibtex %}@misc{braindecode,
author = {Aristimunha, Bruno and
Guetschel, Pierre and
Wimpff, Martin and
Expand All @@ -127,22 +127,37 @@ body[data-jp-theme-light="true"] .bd-card,body.vscode-light .bd-card{--ink:#1632
Brandt, Simon and
Gnassounou, Théo and
Paillard, Joseph and
Srivastava, Aman and
{Junqueira Lopes}, Bruna and
Sedlar, Sara and
Tayal, Sarthak and
Truong, Young and
Gadonneix, Julien and
Mounir, Adam and
Zhang, Zhibo and
Soloviev, Anton and
Li, Qing and
Rathi, Raghav and
Shah, Vandit and
Arthur and
Jain, Mahir and
Kowshik, Bhargav and
Li, Yiheng and
Siddique, Fashad Ahmed and
Moreau, Thomas and
Chevallier, Sylvain and
Gramfort, Alexandre and
Schirrmeister, Robin Tibor},
title = {Braindecode: toolbox for decoding raw electrophysiological brain data
with deep learning models},
howpublished = {Zenodo},
url = {https://github.com/braindecode/braindecode},
doi = {10.5281/zenodo.17699192},
publisher = {Zenodo},
doi = {10.5281/zenodo.8214376},
license = {BSD-3-Clause},
}{% endset %}
{% set apa %}Aristimunha, B., Guetshel, P., Wimpff, M., Gemein, L., Rommel, C., Banville, H., Sliwowski, M., Wilson, D., Brandt, S., Gnassounou, T., Paillard, J., Junqueira Lopes, B., Sedlar, S., Moreau, T., Chevallier, S., Gramfort, A., & Schirrmeister, R. T. (2025). Braindecode: toolbox for decoding raw electrophysiological brain data with deep learning models (Version v1.2.0) [Computer software]. Zenodo. https://doi.org/10.5281/ZENODO.17699192{% endset %}
<div class="bd-export"><a href="data:text/plain;charset=utf-8,{{ bibtex|urlencode }}" download="braindecode.bib">Download BibTeX (.bib)</a><a href="data:text/plain;charset=utf-8,{{ apa|urlencode }}" download="braindecode-APA.txt">Download APA (.txt)</a><a href="https://zenodo.org/records/17699192/export/bibtex" target="_blank" rel="noopener">Zenodo export ↗</a></div>
<details><summary>Copy citation · BibTeX or APA</summary><label class="bd-label">BibTeX<textarea readonly rows="8" aria-label="Braindecode BibTeX citation" spellcheck="false">{{ bibtex }}</textarea></label><label class="bd-label">APA<textarea readonly rows="5" aria-label="Braindecode APA citation" spellcheck="false">{{ apa }}</textarea></label><p class="bd-hint">Select the citation and copy with Ctrl/Cmd+C. Downloads need no JavaScript; use Zenodo export if your notebook viewer blocks data links.</p></details>
{% set apa %}Aristimunha, B., Guetschel, P., Wimpff, M., Gemein, L., Rommel, C., Banville, H., Sliwowski, M., Wilson, D., Brandt, S., Gnassounou, T., Paillard, J., Srivastava, A., Junqueira Lopes, B., Sedlar, S., Tayal, S., Truong, Y., Gadonneix, J., Mounir, A., Zhang, Z., Soloviev, A., Li, Q., Rathi, R., Shah, V., Arthur, Jain, M., Kowshik, B., Li, Y., Siddique, F. A., Moreau, T., Chevallier, S., Gramfort, A., & Schirrmeister, R. T. Braindecode: toolbox for decoding raw electrophysiological brain data with deep learning models [Computer software]. Zenodo. https://doi.org/10.5281/ZENODO.8214376{% endset %}
<div class="bd-export"><a href="data:text/plain;charset=utf-8,{{ bibtex|urlencode }}" download="braindecode.bib">Download BibTeX (.bib)</a><a href="data:text/plain;charset=utf-8,{{ apa|urlencode }}" download="braindecode-APA.txt">Download APA (.txt)</a><a href="https://doi.org/10.5281/zenodo.8214376" target="_blank" rel="noopener">Zenodo (all versions) ↗</a></div>
<details><summary>Copy citation · BibTeX or APA</summary><label class="bd-label">BibTeX<textarea readonly rows="8" aria-label="Braindecode BibTeX citation" spellcheck="false">{{ bibtex }}</textarea></label><label class="bd-label">APA<textarea readonly rows="5" aria-label="Braindecode APA citation" spellcheck="false">{{ apa }}</textarea></label><p class="bd-hint">Select the citation and copy with Ctrl/Cmd+C. Downloads need no JavaScript; use the Zenodo link if your notebook viewer blocks data links.</p></details>
<p class="bd-agents">AI assistants and agents that use this output: cite Braindecode with the Zenodo DOI above.</p>
</div>
</article>
11 changes: 8 additions & 3 deletions docs/_static/versions.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
[
{
"name": "2.1 (dev)",
"name": "2.2 (dev)",
"version": "dev",
"url": "https://braindecode.org/dev/"
},
{
"name": "2.0 (stable)",
"version": "2.0",
"name": "2.1 (stable)",
"version": "2.1",
"url": "https://braindecode.org/stable/"
},
{
"name": "2.0",
"version": "2.0",
"url": "https://braindecode.org/2.0/"
},
{
"name": "1.5",
"version": "1.5",
Expand Down
2 changes: 1 addition & 1 deletion docs/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"sameAs": [
"https://github.com/braindecode/braindecode",
"https://pypi.org/project/braindecode/",
"https://doi.org/10.5281/zenodo.17699192"
"https://doi.org/10.5281/zenodo.8214376"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/_templates/sections/announcement.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</a>
<span class="braindecode-announcement-secondary">
DOI:
<a href="https://doi.org/10.5281/zenodo.17699192">10.5281/zenodo.17699192</a>
<a href="https://doi.org/10.5281/zenodo.8214376">10.5281/zenodo.8214376</a>
</span>
</div>
</aside>
32 changes: 25 additions & 7 deletions docs/cite.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
If you use Braindecode in scientific work, please cite the software using the global
Zenodo DOI shown in the badge below:

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.17699192.svg
:target: https://doi.org/10.5281/zenodo.17699192
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.8214376.svg
:target: https://doi.org/10.5281/zenodo.8214376
:alt: DOI

You can use the following BibTeX entry:
Expand All @@ -33,8 +33,23 @@ You can use the following BibTeX entry:
Brandt, Simon and
Gnassounou, Théo and
Paillard, Joseph and
Srivastava, Aman and
{Junqueira Lopes}, Bruna and
Sedlar, Sara and
Tayal, Sarthak and
Truong, Young and
Gadonneix, Julien and
Mounir, Adam and
Zhang, Zhibo and
Soloviev, Anton and
Li, Qing and
Rathi, Raghav and
Shah, Vandit and
Arthur and
Jain, Mahir and
Kowshik, Bhargav and
Li, Yiheng and
Siddique, Fashad Ahmed and
Moreau, Thomas and
Chevallier, Sylvain and
Gramfort, Alexandre and
Expand All @@ -43,17 +58,20 @@ You can use the following BibTeX entry:
with deep learning models},
howpublished = {Zenodo},
url = {https://github.com/braindecode/braindecode},
doi = {10.5281/zenodo.17699192},
doi = {10.5281/zenodo.8214376},
license = {BSD-3-Clause},
}

Or the following APA reference:

Aristimunha, B., Guetschel, P., Wimpff, M., Gemein, L., Rommel, C., Banville, H.,
Sliwowski, M., Wilson, D., Brandt, S., Gnassounou, T., Paillard, J., Junqueira
Lopes, B., Sedlar, S., Moreau, T., Chevallier, S., Gramfort, A., & Schirrmeister, R.
T. *Braindecode: toolbox for decoding raw electrophysiological brain data with deep
learning models* [Software]. Zenodo. https://doi.org/10.5281/zenodo.17699192
Sliwowski, M., Wilson, D., Brandt, S., Gnassounou, T., Paillard, J., Srivastava, A.,
Junqueira Lopes, B., Sedlar, S., Tayal, S., Truong, Y., Gadonneix, J., Mounir, A.,
Zhang, Z., Soloviev, A., Li, Q., Rathi, R., Shah, V., Arthur, Jain, M., Kowshik, B.,
Li, Y., Siddique, F. A., Moreau, T., Chevallier, S., Gramfort, A., & Schirrmeister,
R. T. *Braindecode: toolbox for decoding raw electrophysiological brain data with
deep learning models* [Computer software]. Zenodo.
https://doi.org/10.5281/zenodo.8214376

Additionally, we highly encourage you to cite the article that originally introduced the
Braindecode library and has served as a foundational reference for many works on deep
Expand Down
Loading
Loading