Skip to main content

Open-source analysis of High-Density EMG data

Project description

Welcome to openhdemg

PyPI PyPI



Overview

openhdemg is a powerful toolbox for the analysis of HDsEMG recordings.

openhdemg is an open-source framework written in Python 3 with many functionalities specifically designed for the analysis of High-Density surface Electromyography (HDsEMG) recordings. Some of its main features are listed below, but there is much more to discover! For a full list of available functions, please refer to the API reference section at www.giacomovalli.com/openhdemg.

  1. Load Raw HDsEMG signals or decomposed files from virtually any source (either via built-in or custom functions).
  2. Visualise your EMG or force/reference signal, as well as the motor unit firing times and their action potential shapes.
  3. Decompose your multichannel EMG signal into motor unit discharge times using convolutive blind source separation.
  4. Edit your file changing the reference signal offset, filtering noise, calculating differential derivations and removing unwanted motor units.
  5. Analyse motor unit recruitment/derecruitment thresholds, discharge rate, conduction velocity, action potentials amplitude and more...
  6. Track motor units across different recording sessions.
  7. Save the results of the analyses and the edited file.

Start immediately

If you already know how to use Python, that's the way to go! Otherwise, have a look at the tutorial explaining how to Setup your Python working environment.

openhdemg can be easily installed using pip:

pip install --upgrade openhdemg

To test pre-release builds (including v0.2.0-beta), use:

pip install --pre --upgrade openhdemg

If you want an overview of what you can do with the openhdemg library, have a look at the Quick Start section and then explore all the functions in the API reference.

Good to know

In addition to the rich set of modules and functions presented in the API reference, the openhdemg library is now integrated in the openhdemg software{:target="_blank"}, which offers a practical interface from which many tasks can be performed without writing a single line of code!

Please visit the official website page dedicated to the software for more info by clicking here{:target="_blank"}.


gui_preview

Why openhdemg

The openhdemg project was born in 2022 with the aim to provide the HDsEMG community with a free and open-source framework to analyse motor unit properties.

The field of EMG analysis in humans has always been characterized by a lack of available software for signal post-processing and analysis. This has forced users to code their own scripts, which can lead to problems when the scripts are not shared open-source. Why?

  • If different users use different scripts, the results can differ.
  • Any code can contain errors, if the code is not shared, the errors will never be known and them will repeat in the following analyses.
  • There is a significant difference between the methods presented in research papers and the practical implementation of a script. Reproducing a script solely based on written instructions can be challenging, making the reproducibility of a study unrealistic.
  • Anyone who doesn't code, will not be able to analyse the recordings.

In order to overcome these problems, we developed a fully transparent framework for the analysis of motor unit properties.

This project is intended for the users that already know the Python language, for those willing to learn it and even for those not interested in coding, thanks to the friendly openhdemg software{:target="_blank"}.

Both the openhdemg project and its contributors adhere to the Open Science Principles and especially to the idea of public release of data and other scientific resources necessary for conducting honest research.

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

openhdemg-0.2.0b1.tar.gz (11.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openhdemg-0.2.0b1-py3-none-any.whl (11.9 MB view details)

Uploaded Python 3

File details

Details for the file openhdemg-0.2.0b1.tar.gz.

File metadata

  • Download URL: openhdemg-0.2.0b1.tar.gz
  • Upload date:
  • Size: 11.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for openhdemg-0.2.0b1.tar.gz
Algorithm Hash digest
SHA256 a1ea282c918bebcf1436e2ba1e5098e13087e5725d49118f128735aed65fee85
MD5 16a2132f348931d9ff64cc9bf43da25d
BLAKE2b-256 f8cfd303a6bbc51a8ffe347d07654df83bbf6380f0c14e67aa5be5fcccc71cf6

See more details on using hashes here.

File details

Details for the file openhdemg-0.2.0b1-py3-none-any.whl.

File metadata

  • Download URL: openhdemg-0.2.0b1-py3-none-any.whl
  • Upload date:
  • Size: 11.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for openhdemg-0.2.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 fcd914ff3d8622b21796ca1da47076c690732fdfd1e58a63f2f38655a79ec32e
MD5 a647e96f3100344210436cf2e62c059d
BLAKE2b-256 5be5f0133f4ebee6f32d01bf26e4894e3b7be89f36d47654ea3f2778f3107919

See more details on using hashes here.

Supported by

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