Skip to main content

Simple viewers for ephys signals, events, video and more

Project description

ephyviewer

Simple viewers for ephys signals, events, video and more

PyPI Anaconda Cloud GitHub conda-forge Feedstock Documentation Status

Documentation | Release Notes | Issue Tracker

ephyviewer is a Python library based on pyqtgraph for building custom viewers for electrophysiological signals, video, events, epochs, spike trains, data tables, and time-frequency representations of signals. It also provides an epoch encoder for creating annotations.

Screenshot

ephyviewer can be used at two levels: standalone app and library.

Standalone application

The standalone app works with file types supported by Neo's RawIO interface (Axograph, Axon, Blackrock, BrainVision, Neuralynx, NeuroExplorer, Plexon, Spike2, Tdt, etc.; see the documentation for neo.rawio for the full list).

Launch it from the console and use the menu to select a data file:

ephyviewer

Alternatively, launch it from the console with a filename (and optionally the format):

ephyviewer File_axon_1.abf
ephyviewer File_axon_1.abf -f Axon

Library for designing custom viewers for ephys datasets

Build viewers using code like this:

import ephyviewer
import numpy as np

app = ephyviewer.mkQApp()

#signals
sigs = np.random.rand(100000,16)
sample_rate = 1000.
t_start = 0.
view1 = ephyviewer.TraceViewer.from_numpy(sigs, sample_rate, t_start, 'Signals')

win = ephyviewer.MainViewer(debug=True, show_auto_scale=True)
win.add_view(view1)
win.show()

app.exec_()

Check the docs for more examples.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ephyviewer-1.2.1.tar.gz (49.5 kB view details)

Uploaded Source

Built Distribution

ephyviewer-1.2.1-py3-none-any.whl (67.9 kB view details)

Uploaded Python 3

File details

Details for the file ephyviewer-1.2.1.tar.gz.

File metadata

  • Download URL: ephyviewer-1.2.1.tar.gz
  • Upload date:
  • Size: 49.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191101 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3

File hashes

Hashes for ephyviewer-1.2.1.tar.gz
Algorithm Hash digest
SHA256 b80fd57c7a62eef177d519ac711b6525a1358befc3f9c23f607316a8d7944b24
MD5 0a1723d78efb06bf75b2486580649176
BLAKE2b-256 167e7d434072b158cdb1d6d27ce184b69984722a393435d9deee5d788b73f5d7

See more details on using hashes here.

File details

Details for the file ephyviewer-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: ephyviewer-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 67.9 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/41.6.0.post20191101 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3

File hashes

Hashes for ephyviewer-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f4e5e3c970c58c366f8bc9c5e502680eaba9ba7c9e2b1dfb88928eb7f144a81
MD5 802f3c748c0ca8aec41c21ed0fb5b4a9
BLAKE2b-256 eabeaa1ea50843f6f256ad7c6bcb1fce895dd9f758687e5d79e067aa010435a2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page