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 growing ecosystem for the analysis of High-Density Electromyography (HD-EMG) signals and motor-unit discharge activity.

It provides researchers and practitioners with modern tools for HD-EMG signal processing, motor-unit decomposition, discharge-train editing, data analysis and visualisation.

openhdemg is developed in collaboration with the neuromuscular research community and is designed to grow with emerging scientific needs.

The open-source openhdemg library is written in Python 3 with many functionalities specifically designed for the analysis of High-Density Electromyography (HD-EMG) 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 free 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.

Metadata

Release files for openhdemg 0.2.0b3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openhdemg 0.2.0b3
File Size Uploaded Provenance Actions
openhdemg-0.2.0b3.tar.gz 11.9 MB Without provenance Details for openhdemg-0.2.0b3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openhdemg 0.2.0b3
File Interpreter ABI Platform Actions
openhdemg-0.2.0b3-py3-none-any.whl Python 3 none any Details for openhdemg-0.2.0b3-py3-none-any.whl

Total release size: 23.8 MB

Release files / openhdemg-0.2.0b3.tar.gz

Download URL openhdemg-0.2.0b3.tar.gz
Size 11.9 MB
Tags Source
SHA-256 checksum
How to use checksums
02e8e2ecd980571efc03c499d6f33a47398938981a461a4c0afd61aee33612fe
BLAKE2b-256 checksum
How to use checksums
a6f900366a3a81b968d3a2432fa0cfba1be97f7810aa69a793002c2df1c7a1b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Release files / openhdemg-0.2.0b3-py3-none-any.whl

Download URL openhdemg-0.2.0b3-py3-none-any.whl
Size 11.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
db55e0378f7443ff1247540a97c494f99e519f7a4eb92db8252036fa27ef8ef4
BLAKE2b-256 checksum
How to use checksums
f544385fcb24ecabe0aa84316a1f8891f03e8038395aee75248710e81562ffd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Security for openhdemg 0.2.0b3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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