| Name | mne-icalabel JSON |
| Version |
0.8.1
JSON |
| download |
| home_page | None |
| Summary | MNE-ICALabel: Automatic labeling of ICA components from MEG, EEG and iEEG data with MNE. |
| upload_time | 2025-10-17 17:43:01 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.10 |
| license | BSD 3-Clause License
Copyright (c) 2022, MNE
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| keywords |
eeg
ica
ieeg
meg
neuroscience
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# mne-icalabel
[](https://github.com/astral-sh/ruff)
[](https://github.com/psf/black)
[](https://pycqa.github.io/isort/)
[](https://codecov.io/gh/mne-tools/mne-icalabel)
[](https://github.com/mne-tools/mne-icalabel/actions/workflows/pytest.yaml)
[](https://github.com/mne-tools/mne-icalabel/actions/workflows/doc.yaml)
[](https://pypi.org/project/mne-icalabel/)
[](https://pepy.tech/project/mne-icalabel)
[](https://anaconda.org/conda-forge/mne-icalabel/)
[](https://anaconda.org/conda-forge/mne-icalabel)
[](https://anaconda.org/conda-forge/mne-icalabel)
[](https://joss.theoj.org/papers/d91770e35a985ecda4f2e1f124977207)
This repository is a conversion of the popular Matlab-based
[ICLabel](https://github.com/sccn/ICLabel) classifier for Python.
In addition, `mne-icalabel` provides extensions and improvements in the form of other models.
# Why?
EEG and MEG recordings include artifacts, such as heartbeat, eyeblink, muscle, and movement activity.
Independent component analysis (ICA) is a common method to remove artifacts, but typically relies on manual
annotations labelling which independent components (IC) reflect noise and which reflect brain activity.
This package aims at automating this process, using the popular MNE-Python API for EEG, MEG and iEEG data.
# Basic Usage
MNE-ICALabel estimates the labels of ICA components given
a MNE-Python [Raw](https://mne.tools/stable/generated/mne.io.Raw.html) or
[Epochs](https://mne.tools/stable/generated/mne.Epochs.html) object and an ICA instance using the
[ICA decomposition](https://mne.tools/stable/generated/mne.preprocessing.ICA.html)
available in MNE-Python.
```
from mne_icalabel import label_components
# assuming you have a Raw and ICA instance previously fitted
label_components(raw, ica, method='iclabel')
```
The only current available method is `'iclabel'`.
# Documentation
[Stable version](https://mne.tools/mne-icalabel/stable/index.html) documentation.
[Dev version](https://mne.tools/mne-icalabel/dev/index.html) documentation.
# Installation
The current stable release of `mne-icalabel` can be installed with pip, for example, by running:
pip install mne-icalabel
For further details about installation, see the
[install](https://mne.tools/mne-icalabel/stable/install.html) page.
To get the latest (development) version, using [git](https://git-scm.com/), open a terminal and type:
git clone git://github.com/mne-tools/mne-icalabel.git
cd mne-icalabel
pip install -e .
The development version can also be installed directly using pip:
pip install https://api.github.com/repos/mne-tools/mne-icalabel/zipball/main
Alternatively, you can also download a
[zip file of the latest development version](https://github.com/mne-tools/mne-icalabel/archive/main.zip).
# Contributing
If you are interested in contributing, please read the
[contributing guidelines](https://github.com/mne-tools/mne-icalabel/blob/main/CONTRIBUTING.md).
# Getting Help
[<img alt="MNE Forum" src="https://user-images.githubusercontent.com/1681963/52239617-e2683480-289c-11e9-922b-5da55472e5b4.png" height=60/>](https://mne.discourse.group)
For any usage questions, please post to the
[MNE Forum](https://mne.discourse.group). Be sure to add the `mne-icalabel` tag to
your question.
# Citing
If you use the ``mne-icalabel``, please consider citing our paper:
```
@article{Li2022,
title = {MNE-ICALabel: Automatically annotating ICA components with ICLabel in Python},
volume = {7},
ISSN = {2475-9066},
url = {http://dx.doi.org/10.21105/joss.04484},
DOI = {10.21105/joss.04484},
number = {76},
journal = {Journal of Open Source Software},
publisher = {The Open Journal},
author = {Li, Adam and Feitelberg, Jacob and Saini, Anand Prakash and H\"{o}chenberger, Richard and Scheltienne, Mathieu},
year = {2022},
month = aug,
pages = {4484}
}
```
And the paper associated to the model used:
- **ICLabel**
```
@article{PionTonachini2019,
title = {ICLabel: An automated electroencephalographic independent component classifier, dataset, and website},
volume = {198},
ISSN = {1053-8119},
url = {http://dx.doi.org/10.1016/j.neuroimage.2019.05.026},
DOI = {10.1016/j.neuroimage.2019.05.026},
journal = {NeuroImage},
publisher = {Elsevier BV},
author = {Pion-Tonachini, Luca and Kreutz-Delgado, Ken and Makeig, Scott},
year = {2019},
month = sep,
pages = {181–197}
}
```
Future versions of the software are aimed at improved models and may have different papers associated with it.
Raw data
{
"_id": null,
"home_page": null,
"name": "mne-icalabel",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "Adam Li <adam.li@columbia.edu>, Mathieu Scheltienne <mathieu.scheltienne@gnail.com>",
"keywords": "eeg, ica, ieeg, meg, neuroscience",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/b2/37/d1b070de1134761810e245feb94e82e027dd8829d84c9f78f7e0e4110950/mne_icalabel-0.8.1.tar.gz",
"platform": null,
"description": "# mne-icalabel\n\n[](https://github.com/astral-sh/ruff)\n[](https://github.com/psf/black)\n[](https://pycqa.github.io/isort/)\n[](https://codecov.io/gh/mne-tools/mne-icalabel)\n[](https://github.com/mne-tools/mne-icalabel/actions/workflows/pytest.yaml)\n[](https://github.com/mne-tools/mne-icalabel/actions/workflows/doc.yaml)\n[](https://pypi.org/project/mne-icalabel/)\n[](https://pepy.tech/project/mne-icalabel)\n[](https://anaconda.org/conda-forge/mne-icalabel/)\n[](https://anaconda.org/conda-forge/mne-icalabel)\n[](https://anaconda.org/conda-forge/mne-icalabel)\n[](https://joss.theoj.org/papers/d91770e35a985ecda4f2e1f124977207)\n\nThis repository is a conversion of the popular Matlab-based\n[ICLabel](https://github.com/sccn/ICLabel) classifier for Python.\nIn addition, `mne-icalabel` provides extensions and improvements in the form of other models.\n\n# Why?\n\nEEG and MEG recordings include artifacts, such as heartbeat, eyeblink, muscle, and movement activity.\nIndependent component analysis (ICA) is a common method to remove artifacts, but typically relies on manual\nannotations labelling which independent components (IC) reflect noise and which reflect brain activity.\n\nThis package aims at automating this process, using the popular MNE-Python API for EEG, MEG and iEEG data.\n\n# Basic Usage\n\nMNE-ICALabel estimates the labels of ICA components given\na MNE-Python [Raw](https://mne.tools/stable/generated/mne.io.Raw.html) or\n[Epochs](https://mne.tools/stable/generated/mne.Epochs.html) object and an ICA instance using the\n[ICA decomposition](https://mne.tools/stable/generated/mne.preprocessing.ICA.html)\navailable in MNE-Python.\n\n```\nfrom mne_icalabel import label_components\n\n# assuming you have a Raw and ICA instance previously fitted\nlabel_components(raw, ica, method='iclabel')\n```\n\nThe only current available method is `'iclabel'`.\n\n# Documentation\n\n[Stable version](https://mne.tools/mne-icalabel/stable/index.html) documentation.\n[Dev version](https://mne.tools/mne-icalabel/dev/index.html) documentation.\n\n# Installation\n\nThe current stable release of `mne-icalabel` can be installed with pip, for example, by running:\n\n pip install mne-icalabel\n\nFor further details about installation, see the\n[install](https://mne.tools/mne-icalabel/stable/install.html) page.\n\nTo get the latest (development) version, using [git](https://git-scm.com/), open a terminal and type:\n\n git clone git://github.com/mne-tools/mne-icalabel.git\n cd mne-icalabel\n pip install -e .\n\nThe development version can also be installed directly using pip:\n\n pip install https://api.github.com/repos/mne-tools/mne-icalabel/zipball/main\n\nAlternatively, you can also download a\n[zip file of the latest development version](https://github.com/mne-tools/mne-icalabel/archive/main.zip).\n\n# Contributing\n\nIf you are interested in contributing, please read the\n[contributing guidelines](https://github.com/mne-tools/mne-icalabel/blob/main/CONTRIBUTING.md).\n\n# Getting Help\n\n[<img alt=\"MNE Forum\" src=\"https://user-images.githubusercontent.com/1681963/52239617-e2683480-289c-11e9-922b-5da55472e5b4.png\" height=60/>](https://mne.discourse.group)\n\nFor any usage questions, please post to the\n[MNE Forum](https://mne.discourse.group). Be sure to add the `mne-icalabel` tag to\nyour question.\n\n# Citing\n\nIf you use the ``mne-icalabel``, please consider citing our paper:\n\n```\n@article{Li2022,\n title = {MNE-ICALabel: Automatically annotating ICA components with ICLabel in Python},\n volume = {7},\n ISSN = {2475-9066},\n url = {http://dx.doi.org/10.21105/joss.04484},\n DOI = {10.21105/joss.04484},\n number = {76},\n journal = {Journal of Open Source Software},\n publisher = {The Open Journal},\n author = {Li, Adam and Feitelberg, Jacob and Saini, Anand Prakash and H\\\"{o}chenberger, Richard and Scheltienne, Mathieu},\n year = {2022},\n month = aug,\n pages = {4484}\n}\n```\n\nAnd the paper associated to the model used:\n\n- **ICLabel**\n\n```\n@article{PionTonachini2019,\n title = {ICLabel: An automated electroencephalographic independent component classifier, dataset, and website},\n volume = {198},\n ISSN = {1053-8119},\n url = {http://dx.doi.org/10.1016/j.neuroimage.2019.05.026},\n DOI = {10.1016/j.neuroimage.2019.05.026},\n journal = {NeuroImage},\n publisher = {Elsevier BV},\n author = {Pion-Tonachini, Luca and Kreutz-Delgado, Ken and Makeig, Scott},\n year = {2019},\n month = sep,\n pages = {181\u2013197}\n}\n```\n\nFuture versions of the software are aimed at improved models and may have different papers associated with it.\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License\n \n Copyright (c) 2022, MNE\n All rights reserved.\n \n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are met:\n \n 1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n \n 2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n \n 3. Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n \n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n ",
"summary": "MNE-ICALabel: Automatic labeling of ICA components from MEG, EEG and iEEG data with MNE.",
"version": "0.8.1",
"project_urls": {
"documentation": "https://mne.tools/mne-icalabel",
"source": "https://github.com/mne-tools/mne-icalabel",
"tracker": "https://github.com/mne-tools/mne-icalabel/issues"
},
"split_keywords": [
"eeg",
" ica",
" ieeg",
" meg",
" neuroscience"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "443638e856311011a1056526979a03343ccf517aba1123a5e61ba05813c51ad6",
"md5": "18e9402da6a233498b7ff78066f289ba",
"sha256": "7225d4b5af230e1a8561e4f0412f3a5dff810624432fc15bf304c94392930ec7"
},
"downloads": -1,
"filename": "mne_icalabel-0.8.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "18e9402da6a233498b7ff78066f289ba",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 48834783,
"upload_time": "2025-10-17T17:42:57",
"upload_time_iso_8601": "2025-10-17T17:42:57.329045Z",
"url": "https://files.pythonhosted.org/packages/44/36/38e856311011a1056526979a03343ccf517aba1123a5e61ba05813c51ad6/mne_icalabel-0.8.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "b237d1b070de1134761810e245feb94e82e027dd8829d84c9f78f7e0e4110950",
"md5": "455c0c2283ba0256db065549842a32dd",
"sha256": "ce41560ea184fc5e327c8a2ad7f3d4aa5f4a7d844e25148acfff6b9623907187"
},
"downloads": -1,
"filename": "mne_icalabel-0.8.1.tar.gz",
"has_sig": false,
"md5_digest": "455c0c2283ba0256db065549842a32dd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 48812380,
"upload_time": "2025-10-17T17:43:01",
"upload_time_iso_8601": "2025-10-17T17:43:01.098668Z",
"url": "https://files.pythonhosted.org/packages/b2/37/d1b070de1134761810e245feb94e82e027dd8829d84c9f78f7e0e4110950/mne_icalabel-0.8.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-17 17:43:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mne-tools",
"github_project": "mne-icalabel",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "mne-icalabel"
}