Metadata-Version: 2.4
Name: mea_editor
Version: 0.2.1
Summary: GUI and library to create and modify MEA (Multi-Electrode Arrays) compatible with probeinterface
Author: Wireless Neural Interface Team
Author-email: Pierre He <pierre.he@inserm.fr>
License: MIT
Project-URL: Homepage, https://github.com/Wireless-Neural-Interface-Team/mea_editor
Project-URL: Repository, https://github.com/Wireless-Neural-Interface-Team/mea_editor
Keywords: MEA,electrode,probeinterface,neuroscience,electrophysiology
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PySide6>=6.5.0
Requires-Dist: numpy>=1.24.0
Requires-Dist: probeinterface>=0.3.0
Requires-Dist: pyinstaller>=6.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Dynamic: license-file

# MEA-Editor

GUI to create and modify MEA (Multi-Electrode Arrays) compatible with [probeinterface](https://probeinterface.readthedocs.io/).

**Multi-platform:** Windows, macOS, Linux.

The library is available on PyPI.

## Installation (PyPI)
1. Open terminal as administrator
2. Run on terminal [uv](https://docs.astral.sh/uv/): `curl -LsSf https://astral.sh/uv/install.sh | sh` (macOS/Linux) or `powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"` (Windows)
3. Install virtual environment : run in terminal `uv venv si_env --python 3.12`
4. Restart your terminal
5. Allow script execution : run in terminal `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned`
6. Activate virtual environment: run in terminal `source si_env/bin/activate` (macOS/Linux) or `si_env\Scripts\activate` (Windows)
7. Install library : run in terminal `uv pip install mea-editor`

## Run application
1. Allow script execution : run in terminal `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned`
2. Activate virtual environment: run in terminal `source si_env/bin/activate` (macOS/Linux) or `si_env\Scripts\activate` (Windows)
3. Run in terminal `mea-editor`

## Build a standalone executable (Windows: `.exe`, macOS/Linux: binary):
1. Allow script execution : run in terminal `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned`
2. Activate virtual environment: run in terminal `source si_env/bin/activate` (macOS/Linux) or `si_env\Scripts\activate` (Windows) 
3. Using the command-line terminal, navigate to the folder where you want the .exe file to be located.
4. Build the executable in currentfolder/dist : run in terminal `mea-editor-build`

The executable will be in `dist/` (in the current directory).
At the same time it creates a .spec file that can be deleted after build.
