# eeglabio [![Documentation Status](https://readthedocs.org/projects/eeglabio/badge/?version=latest)](https://eeglabio.readthedocs.io/en/latest/?badge=latest) [![Test & Publish](https://github.com/jackz314/eeglabio/actions/workflows/test_publish.yml/badge.svg)](https://github.com/jackz314/eeglabio/actions/workflows/test_publish.yml) [![PyPI version](https://badge.fury.io/py/eeglabio.svg)](https://badge.fury.io/py/eeglabio) [![Conda Version](https://img.shields.io/conda/vn/conda-forge/eeglabio.svg)](https://anaconda.org/conda-forge/eeglabio)
I/O support for EEGLAB files in Python.
### Installation
Install from [PyPI](https://pypi.org/project/eeglabio):
```shell
pip install eeglabio
```
Install from [Test PyPI](https://test.pypi.org/project/eeglabio) (built from
[stable](https://github.com/jackz314/eeglabio/tree/stable) branch):
```shell
pip install -i https://test.pypi.org/simple/ eeglabio
```
Install from [conda-forge](https://github.com/conda-forge/eeglabio-feedstock):
```shell
conda install -c conda-forge eeglabio
```
Install the latest version of the code from GitHub directly (unstable):
```shell
pip install https://github.com/jackz314/eeglabio/archive/main.zip
```
### Dependencies
eeglabio requires Python >= 3.6 and the following packages:
* [numpy](http://numpy.org/)
* [scipy](https://www.scipy.org/)
For testing, we also require the following additional packages:
* [mne](https://github.com/mne-tools/mne-python)
### Example Usage (with [MNE](https://github.com/mne-tools/mne-python))
Export from MNE [`Epochs`](https://mne.tools/stable/generated/mne.Epochs.html) to EEGLAB (`.set`):
```python
import mne
from eeglabio.utils import export_mne_epochs
epochs = mne.Epochs(...)
export_mne_epochs(epochs, "file_name.set")
```
Export from MNE [`Raw`](https://mne.tools/stable/generated/mne.io.Raw.html) to EEGLAB (`.set`):
```python
import mne
from eeglabio.utils import export_mne_raw
raw = mne.io.read_raw(...)
export_mne_raw(raw, "file_name.set")
```
Raw data
{
"_id": null,
"home_page": "https://github.com/jackz314/eeglabio",
"name": "eeglabio",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "EEG MEG MNE EEGLAB",
"author": "Jack Zhang",
"author_email": "zhangmengyu10@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a1/58/8d4253987fc4faf26ab2fc5a7619e09a2939d8becfb8378f18fd8f986130/eeglabio-0.0.3.tar.gz",
"platform": null,
"description": "# eeglabio [![Documentation Status](https://readthedocs.org/projects/eeglabio/badge/?version=latest)](https://eeglabio.readthedocs.io/en/latest/?badge=latest) [![Test & Publish](https://github.com/jackz314/eeglabio/actions/workflows/test_publish.yml/badge.svg)](https://github.com/jackz314/eeglabio/actions/workflows/test_publish.yml) [![PyPI version](https://badge.fury.io/py/eeglabio.svg)](https://badge.fury.io/py/eeglabio) [![Conda Version](https://img.shields.io/conda/vn/conda-forge/eeglabio.svg)](https://anaconda.org/conda-forge/eeglabio)\n\nI/O support for EEGLAB files in Python.\n\n### Installation\n\nInstall from [PyPI](https://pypi.org/project/eeglabio):\n\n```shell\npip install eeglabio\n```\n\nInstall from [Test PyPI](https://test.pypi.org/project/eeglabio) (built from \n[stable](https://github.com/jackz314/eeglabio/tree/stable) branch):\n\n```shell\npip install -i https://test.pypi.org/simple/ eeglabio\n```\n\nInstall from [conda-forge](https://github.com/conda-forge/eeglabio-feedstock):\n\n```shell\nconda install -c conda-forge eeglabio\n```\n\nInstall the latest version of the code from GitHub directly (unstable):\n\n```shell\npip install https://github.com/jackz314/eeglabio/archive/main.zip\n```\n\n### Dependencies\n\neeglabio requires Python >= 3.6 and the following packages:\n\n* [numpy](http://numpy.org/)\n* [scipy](https://www.scipy.org/)\n\nFor testing, we also require the following additional packages:\n\n* [mne](https://github.com/mne-tools/mne-python)\n\n\n### Example Usage (with [MNE](https://github.com/mne-tools/mne-python))\n\nExport from MNE [`Epochs`](https://mne.tools/stable/generated/mne.Epochs.html) to EEGLAB (`.set`):\n\n```python\nimport mne\nfrom eeglabio.utils import export_mne_epochs\nepochs = mne.Epochs(...)\nexport_mne_epochs(epochs, \"file_name.set\")\n```\n\nExport from MNE [`Raw`](https://mne.tools/stable/generated/mne.io.Raw.html) to EEGLAB (`.set`):\n\n```python\nimport mne\nfrom eeglabio.utils import export_mne_raw\nraw = mne.io.read_raw(...)\nexport_mne_raw(raw, \"file_name.set\")\n```\n",
"bugtrack_url": null,
"license": "BSD (3-clause)",
"summary": "I/O support for EEGLAB files in Python",
"version": "0.0.3",
"project_urls": {
"Download": "https://github.com/jackz314/eeglabio",
"Homepage": "https://github.com/jackz314/eeglabio",
"Source": "https://github.com/jackz314/eeglabio",
"Tracker": "https://github.com/jackz314/eeglabio/issues"
},
"split_keywords": [
"eeg",
"meg",
"mne",
"eeglab"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "180c11df226f28cb03a51526a0f4de6758e864375d8b3ed632abc15b256eec39",
"md5": "89df401032c2df1c223c02d4c651ec8a",
"sha256": "8c878e4e1d86a8548b780f4c9f1950653bb774a5093c324a6c97be627d27db3b"
},
"downloads": -1,
"filename": "eeglabio-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "89df401032c2df1c223c02d4c651ec8a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 10149,
"upload_time": "2024-11-08T08:17:47",
"upload_time_iso_8601": "2024-11-08T08:17:47.380658Z",
"url": "https://files.pythonhosted.org/packages/18/0c/11df226f28cb03a51526a0f4de6758e864375d8b3ed632abc15b256eec39/eeglabio-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a1588d4253987fc4faf26ab2fc5a7619e09a2939d8becfb8378f18fd8f986130",
"md5": "6024a4efc4c87965c84dca4dbbf82b85",
"sha256": "fda7d13e31355ce107d66b17aa131fd1438eb463b1b874b2f42a91b359535efb"
},
"downloads": -1,
"filename": "eeglabio-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "6024a4efc4c87965c84dca4dbbf82b85",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 9369,
"upload_time": "2024-11-08T08:17:48",
"upload_time_iso_8601": "2024-11-08T08:17:48.185590Z",
"url": "https://files.pythonhosted.org/packages/a1/58/8d4253987fc4faf26ab2fc5a7619e09a2939d8becfb8378f18fd8f986130/eeglabio-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-08 08:17:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jackz314",
"github_project": "eeglabio",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "eeglabio"
}