# BRAINDECODE Notice

## Licensed Components

### BSD-3-Clause Licensed Files

All files within the `braindecode/` package are licensed under the BSD-3-Clause
License, except for those listed in the sections below.

### CC BY-NC 4.0 Licensed Files

The following components are licensed under the Creative Commons Attribution-NonCommercial 4.0 International License:

- `braindecode/models/eegminer.py`
- `braindecode/models/meta_neuromotor.py`
- `braindecode/models/sleepfm.py`
- `braindecode/models/brainmodule.py`
- `braindecode/models/neurorvq.py`
- `braindecode/models/neurorvq_tokenizer.py`

The `meta_neuromotor.py` file is a derivative of
`facebookresearch/generic-neuromotor-interface`, released by Meta Platforms,
Inc. under CC BY-NC 4.0, and inherits the same noncommercial terms.

### CC BY-NC-SA 4.0 Licensed Files

The following components are licensed under the Creative Commons
Attribution-NonCommercial-ShareAlike 4.0 International License:

- `braindecode/models/emg2qwerty.py`
- `braindecode/models/vemg2pose.py`

The `emg2qwerty.py` file is a derivative of `facebookresearch/emg2qwerty`,
released by Meta Platforms, Inc. under CC BY-NC-SA 4.0, and inherits the
same noncommercial ShareAlike terms.

### MIT Licensed Files

The following components are licensed under the MIT License:

- `braindecode/models/ctnet.py`
- `braindecode/models/dance.py`
- `braindecode/models/medformer.py`
- `braindecode/models/tcformer.py`
- `braindecode/models/ifnet.py`
- `braindecode/models/mirepnet.py`
- `braindecode/models/popt.py`
- `braindecode/models/tfm_tokenizer.py`
- `braindecode/modules/popt_modules.py`
- `braindecode/models/brainomni.py`
- `braindecode/modules/quantization.py`
- `braindecode/modules/linear_attention.py`
- `braindecode/models/seizure_transformer.py`
- `docs/_static/model/seizure_transformer_arch.png`
- `braindecode/models/guetschel2026.py`
- `braindecode/models/tmsanet.py`

The `brainomni.py` file is a derivative of `OpenTSLab/BrainOmni` (MIT), whose
SEANet codec derives from Meta's `facebookresearch/encodec` (MIT). The
`quantization.py` module holds the residual vector quantization derived from
`lucidrains/vector-quantize-pytorch` (MIT) and the BrainOmni port.
The `linear_attention.py` module is the part of
`lucidrains/linear-attention-transformer` (MIT) that BIOT and TFMTokenizer run.

### Apache-2.0 Licensed Files

The following components are licensed under the Apache License 2.0:

- `braindecode/models/axon.py`
- `braindecode/models/mvpformer.py`
- `braindecode/models/zuna.py`
- `braindecode/models/luna.py`
- `braindecode/models/mapa.py`
- `braindecode/models/brant.py`
- `braindecode/models/diver1.py`
- `braindecode/models/mscformer.py`

### USC Academic License Files

[License](https://github.com/ShanechiLab/BaRISTA/blob/master/LICENSE.md)

- `braindecode/models/barista.py`
- `docs/_static/model/barista.jpeg`

## License Links

- [BSD-3-Clause License](https://opensource.org/licenses/BSD-3-Clause)
- [CC BY-NC 4.0 License](https://creativecommons.org/licenses/by-nc/4.0/)
- [CC BY-NC-SA 4.0 License](https://creativecommons.org/licenses/by-nc-sa/4.0/)
- [MIT License](https://opensource.org/licenses/MIT)
- [Apache-2.0 License](https://www.apache.org/licenses/LICENSE-2.0)
- [USC Academic License](https://github.com/ShanechiLab/BaRISTA/blob/master/LICENSE.md)

## Note

This list covers files whose own headers declare a license other than
BSD-3-Clause. Per-file provenance review of the remaining models is
tracked separately.
