Online Peri-Event Histogram for Open Ephys ZMQ plugin
Project description
More detailed documentation: https://opeth.readthedocs.io/
Online Peri-Event Time Histogram for Open Ephys.
Performs spike detection based on raw Open Ephys data exported via ZeroMQ. Requires triggers from Open Ephys for histogram display as spikes are detected around them.
Usage
Needs ZMQInterface plugin (e.g. in the Open Ephys plugin folder). For Windows a precompiled dll is present.
Set up Open Ephys with ZMQInterface plugin. Plugin is recommended to be put after bandpass filter and/or common average reference filter, but spike detector is not required.
Start with the opeth command if using the pip package or start with python opeth/gui.py if running from sources.
Installation
Install the opeth package for Python 2.7 or Python <=3.7 with pip:
pip install opeth
Python 3.8 support is partially broken as of February 2020.
Dependencies
Required non-default packages: pyzmq, pyqtgraph plus one of the qt versions for pyqtgraph, preferably PyQt5, and also their dependencies (e.g. numpy).
Running from sources
After cloning the git repository or extracting a source zip file, multiple methods could work.
Setting up python environment with conda
Conda builds are not available yet.
Using conda/miniconda, create an opeth environment issuing the following command in the root dir of opeth:
conda env create --file environment.yml
which will install all necessary prerequisites for Python 3.7.
Using python 3.8 is not recommended (Feb 2020) as some bugs are need to be addressed (most probably residing in pyqtgraph), but possible using the conda-forge version of pyqtgraph:
conda env create --file env38.yml
Activate the new environment with the command
conda activate opeth
and once activated you may start OPETH with
python opeth/gui.py
Setting up python environment with pip
Python 3.7 dependencies can be installed with the command
pip install -r requirements.txt
Contributors
Developed by Andras Szell (szell.andris@gmail.com) and other Hangyalab members (http://hangyalab.koki.hu/).
Open Ephys ZMQ plugin connection is based on sample python scripts created by Francesco Battaglia.
License
GNU General Public License v3.0 or later.
See LICENSE for the full text.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file opeth-0.1a1.tar.gz
.
File metadata
- Download URL: opeth-0.1a1.tar.gz
- Upload date:
- Size: 38.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f4c6b2825b61a363b75f77e2100ea1059530a972cecbc0eb446d84782f1161d |
|
MD5 | 3179479b16fb6579b3ddc2ba89f3fe05 |
|
BLAKE2b-256 | 016113100a5a65a60e931b26f79d52a5069a9512b1952f91ed0f767a267f4929 |
File details
Details for the file opeth-0.1a1-py3-none-any.whl
.
File metadata
- Download URL: opeth-0.1a1-py3-none-any.whl
- Upload date:
- Size: 53.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ebc947271f2be34d0ae1e9d58597d30e8abd607f09cf93030d6ff68d2d6852e |
|
MD5 | d75603eceabfad12b21a2b09a89044c5 |
|
BLAKE2b-256 | ed1dea8be2d88891cef6c7c90d403c0aee242d7fe4ba197939eb429883e81601 |