ReSurfEMG: A Python Package for Comprehensive Analysis of Respiratory Surface EMG
Publication date
2025-10
Authors
Warnaar, Robertus Simon Petrus
Moore, Candace Makeda
Baccinelli, Walter
Soleimani, Farnaz
Donker, D W
Oppersma, Eline
Editors
Advisors
Supervisors
Document Type
Article
Metadata
Show full item recordCollections
License
cc_by
Abstract
What are the main findings? ReSurfEMG is a comprehensive Python package for advanced respiratory sEMG analysis. Signal processing methodology and settings profoundly affect sEMG signal quality. What is the implication of the main finding? ReSurfEMG facilitates comprehensive reporting as a citable methodological reference. ReSurfEMG lays the open-source groundwork for methodological standardization. Highlights: In patients with respiratory failure, mechanical ventilation aims to balance respiratory muscle loading and gas exchange. The interplay between the ventilator and the respiratory muscles is an increasingly recognized factor in tailoring ventilatory support. Surface electromyography (sEMG) offers a non-invasive modality to monitor the respiratory muscles. The sEMG signal, however, requires elaborate processing, which is limitedly standardized and documented. This paper presents the Respiratory Surface Electromyography (ReSurfEMG) package, an open-source Python package for respiratory sEMG analysis developed to address these challenges. ReSurfEMG integrates denoising, feature extraction, and quality assessment in one dedicated library. The effects of over- and under-filtering were compared to ReSurfEMG default settings regarding waveform duration, time-to-peak, amplitude, electrical time product (ETP), pseudo-slope, pseudo-signal-to-noise ratio (SNR), area under the baseline (AUB), and bell-curve error. Under-filtering increased amplitudes (+21%) and ETPs (+10%). Over-filtering smoothed sEMG waveforms, reducing amplitude (−58%), ETP (−39%), and pseudo-slope (−49%), while waveform duration and time-to-peak increased. Default ReSurfEMG settings provided the highest SNRs with similar or lower AUBs and bell-curve errors. The ReSurfEMG library integrates advanced methods dedicated to respiratory sEMG analysis. Systematic assessment using ReSurfEMG showed that signal processing settings affect sEMG features. ReSurfEMG enables reproducible signal processing, facilitating the standardization of respiratory sEMG analysis.
Keywords
open-source, Python, quality assessment, respiratory surface electromyography, signal processing, software, Analytical Chemistry, Information Systems, Atomic and Molecular Physics, and Optics, Biochemistry, Instrumentation, Electrical and Electronic Engineering
Citation
Warnaar, R S P, Moore, C M, Baccinelli, W, Soleimani, F, Donker, D W & Oppersma, E 2025, 'ReSurfEMG : A Python Package for Comprehensive Analysis of Respiratory Surface EMG', Sensors, vol. 25, no. 20, 6465. https://doi.org/10.3390/s25206465