Metadata-Version: 2.1
Name: eeglabio
Version: 0.0.1
Summary: I/O support for EEGLAB files in Python
Home-page: https://github.com/jackz314/eeglabio
Author: Jack Zhang
Author-email: zhangmengyu10@gmail.com
License: BSD (3-clause)
Download-URL: https://github.com/jackz314/eeglabio
Project-URL: Source, https://github.com/jackz314/eeglabio
Project-URL: Tracker, https://github.com/jackz314/eeglabio/issues
Keywords: EEG MEG MNE EEGLAB
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: scipy

# eeglabio [![Documentation Status](https://readthedocs.org/projects/eeglabio/badge/?version=latest)](https://eeglabio.readthedocs.io/en/latest/?badge=latest)

I/O support for EEGLAB files in Python.

### Installation

Install from [PyPI](https://pypi.org/project/eeglabio):

```
pip install eeglabio
```

### 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")
```


