openhdemg Python framework standardizes neural drive estimation from HDsEMG data
New open-source tool decodes muscle control signals from high-density EMG with three complementary methods.
A team led by Helio V. Cabral released a comprehensive tutorial and open-source Python framework called openhdemg for estimating common synaptic inputs to spinal motor neurons from motor unit spike trains. Common synaptic input is the dominant component of neural drive transmitted to muscles, and recent advances in High-Density surface Electromyography (HDsEMG) and decomposition algorithms have made it possible to identify large populations of motor units simultaneously. However, multiple analytical approaches exist with different assumptions and parameter choices, and the lack of practical guidelines and open-source implementations has hindered accessibility and reproducibility.
openhdemg organizes available methods into three complementary categories: time-domain approaches applied to smoothed discharge rates, frequency-domain approaches based on coherence between cumulative spike trains, and a network-information approach using nonlinear pairwise dependencies and graph theory. For each, the authors describe physiological interpretation, step-by-step estimation, and systematically examine how key parameter choices influence estimates. They also present a complete workflow from HDsEMG decomposition and motor unit cleaning to common synaptic input estimation, demonstrating that decomposition quality directly affects estimates. The framework significantly lowers the barrier for neuroscientists and engineers to study neural control of movement in humans, with potential applications in prosthetics, rehabilitation, and understanding motor disorders.
- openhdemg is an open-source Python framework for estimating common synaptic input from populations of motor unit spike trains
- Three method categories: time-domain smoothing, frequency-domain coherence, and network-information graph theory
- Includes practical parameter selection recommendations and a complete workflow demonstrating impact of decomposition quality
Why It Matters
Open-source standardization enables reproducible neuroscience research and clinical applications in motor control and rehabilitation.