Skip to main content

Simple viewers for ephys signals, events, video and more

Project description

Simple viewers for ephys signals, events, video and more

Distributions:

PyPI Anaconda Cloud

Source Code:

GitHub conda-forge Feedstock

Tests Status:

Tests Status conda-forge Build Status Documentation Status Coverage 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.

For an example of an application that utilizes ephyviewer’s capabilities as a library, see the neurotic app and this paper:

Gill, J. P., Garcia, S., Ting, L. H., Wu, M., & Chiel, H. J. (2020). neurotic: Neuroscience Tool for Interactive Characterization. eNeuro, 7(3). https://doi.org/10.1523/ENEURO.0085-20.2020

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.5.1.tar.gz (80.4 kB view details)

Uploaded Source

Built Distribution

ephyviewer-1.5.1-py3-none-any.whl (96.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ephyviewer-1.5.1.tar.gz
  • Upload date:
  • Size: 80.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

File hashes

Hashes for ephyviewer-1.5.1.tar.gz
Algorithm Hash digest
SHA256 9c5208c2b7d658fb9af31580cf3572319eb519c207d48a0a44f9d3cdf0c28d71
MD5 db6798e39baa315d98c76170b071ebc6
BLAKE2b-256 1da15db0bab45d8c82bf6223c914ba002a97db10bb02100c52c0b768051a12da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ephyviewer-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 96.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

File hashes

Hashes for ephyviewer-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9c05c1e957ae250f3b15be11df0fe18efc49dc07274ac6ac6e2bc51580e475e
MD5 fb4e1560bf337cbbb9c03a70b5627105
BLAKE2b-256 166ceacdb1b9f8ee2660ac146f9c5df5fbb00676085b70f149ba107d8ef0784f

See more details on using hashes here.

Supported by

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