Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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, 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.


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.

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.

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.0b2.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.0b2-py3-none-any.whl (11.9 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for openhdemg-0.2.0b2.tar.gz
Algorithm Hash digest
SHA256 da884b2598f11a6919ed4771f4bb86c4f7e045d7c5d9372e93e1b97ea6f9c27a
MD5 f6357b5e6344b9f8e2be04cefd0ef73d
BLAKE2b-256 eba97b458ad88f1858919c519d453fe584120a1562d277c1429853545707c270

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for openhdemg-0.2.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff24df099287c2bd15bdc3aa5f5f0eef3df5eab66e15376a3af47266b45ce5e9
MD5 ce9ab4e6aaa486da7e3a893d5e5e3336
BLAKE2b-256 1458f87dc401ddc2751a6891b07f8339114aa6831822e5d190eec80939549007

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0b2 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page