Skip to content
MAVIN: Mep Analysis and Visualization INstrument.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Resources
bin
emgviewerqt
README.md
setup.py
working-pyinstaller-command.txt

README.md

MAVIN

Mep Analysis and Visualization INstrument

A pyqtgraph application for viewing and interpreting EMG data

System Prerequisites

Windows

  • A Terminal: you can use cmd.exe but I recommend Git for Windows
  • Python 2.7.x
    • Install python into the default option C:\Python27 if you can. Then, edit your PATH environment variable to include C:\Python27 (instructions here).
  • Pip for python package management
    • Pip is included in the standard python installation on windows. Simply add the C:\Python27\Scripts directory to your PATH variable (separate directories using a semicolon), and pip should be accessible from the command line.

Mac OS X

  • Python 2.7.x
  • Pip for python package management
    • First, try this: open a terminal and run the command sudo easy_install pip. If this doesn't work,
    • Download get-pip.py and run the command sudo python /path/to/get-pip.py in your terminal.

=

Python prerequisites

=

Windows

Many of these packages have been archived by Christopher Gohlke in order to be easy to install. For several of these requirements, I'll link to his Unofficial Windows Binaries page. Simply find the package you want, select the correct version based on your architecture (32- or 64-bit) and python version (use "27" or "26" depending on the version of Python you downloaded). For example:

Your Python Version Your system architecture You should download
2.6.x 32-bit numpy‑1.9.2+mkl‑cp26‑none‑win32.whl
64-bit numpy‑1.9.2+mkl‑cp26‑none‑win_amd64.whl
2.7.x 32-bit numpy-1.9.2+mkl-cp27-none-win32.whl
64-bit numpy‑1.9.2+mkl‑cp27‑none‑win_amd64.whl

A wheel is a ZIP-format archive with a specially formatted filename and the .whl extension. More info on python wheels here. Once you download the correct wheel file, use pip in the terminal to install it:

pip install C:\Users\chris\Downloads\numpy‑1.9.2+mkl‑cp27‑none‑win_amd64.whl

=

Mac OS X

  • NumPy for numerical computing
    • Run sudo pip install numpy in your terminal.
  • neo for reading electrophysiology data in Python
    • Run sudo pip install neo in your terminal.
  • Qt 4.8.x Libraries
  • PyQt4
  • PyQtGraph
    • Run sudo pip install pyqtgraph in your terminal.
    • If this doesn't work, follow the instructions on the PyQtGraph homepage

Download the MEPViewer

If you have git available in your command line or terminal, execute:

git clone git://github.com/chrismullins/MEPViewer.git

or simply download and extract the tarball from this page.

Usage

Once you have downloaded the repository, run it in a terminal:

python bin/MEPViewerApp.py

This should open up the main windows. From here you should be able to interact with the software through this window.

Keyboard shortcuts

Ctrl+X: Exit the application

Ctrl+O: Open a data file

Ctrl+A: Annotate the signal

Ctrl+S: Save info to CSV

Ctrl+W: Clear the window to load another data file

The main window, after loading a data file, should look something like this: alt tag

Use the scroll wheel inside the plot to zoom in or out, and on the axes to scale the axes. Clicking and dragging inside the plot allows you to zoom in on any part of the plot: alt tag Use the Ctrl+A shortcut to annotate the triggers along with their max and min responses, or navigate through the top-level menu. alt tag

You can’t perform that action at this time.