diff --git a/joss.05251/10.21105.joss.05251.jats b/joss.05251/10.21105.joss.05251.jats new file mode 100644 index 0000000000..363dae94a9 --- /dev/null +++ b/joss.05251/10.21105.joss.05251.jats @@ -0,0 +1,426 @@ + + +
+ + + + +Journal of Open Source Software +JOSS + +2475-9066 + +Open Journals + + + +5251 +10.21105/joss.05251 + +ReSurfEMG: A Python library for preprocessing and +analysis of respiratory EMG. + + + +https://orcid.org/0000-0003-1672-7565 + +Moore +Candace Makeda + + + + +https://orcid.org/0000-0001-8888-4792 + +Baccinelli +Walter + + + + + +Sivokon +Oleg + + + + +https://orcid.org/0000-0001-9443-4069 + +Warnaar +Robertus Simon Petrus + + + + +https://orcid.org/0000-0002-0150-306X + +Oppersma +Eline + + + + + +Netherlands eScience Center, Amsterdam, The +Netherlands + + + + +Bright Computing / NVIDIA, Amsterdam, The +Netherlands + + + + +Cardiovascular and Respiratory Physiology Group, Technical +Medical Centre, University of Twente, Enschede, the +Netherlands. + + + + +22 +1 +2023 + +8 +90 +5251 + +Authors of papers retain copyright and release the +work under a Creative Commons Attribution 4.0 International License (CC +BY 4.0) +2022 +The article authors + +Authors of papers retain copyright and release the work under +a Creative Commons Attribution 4.0 International License (CC BY +4.0) + + + +Python +respiratory surface EMG +respiratory EMG +signal processing + + + + + + Summary +

ReSurfEMG is an open-source collaborative Python library for + analysis of respiratory surface electromyography (EMG). Analysis and + interpretation of respiratory surface EMG requires expertise of both + clinicians and technical specialists including software engineers, for + example to identify the onset and offset of respiratory effort. This + necessary cooperation of clinicians and technical staff implies that + respiratory EMG data must be considered by groups of professionals who + differ profoundly in computational skill levels. Therefore, our + package implements different processing and analytic pipelines for + researchers to investigate, through several interfaces. The package + not only allows for pre-processing and analysis with either command + line or Jupyter notebooks, it supports a graphic user interface + package which allows code-free interaction with the data, the + ReSurfEMG-dashboard. + The interface for ReSurfEMG algorithms through Jupyter notebooks + allows researchers to run preset experiments, potentially extend them + and record the results in csv files automatically. ReSurfEMG code + allows for analysis of various parameters in respiratory surface EMG + from simple ones as peak amplitude to area under curve and the + potential for more complex ones such as entropy. These characteristics + can be used in machine learning models, for which there is also code + in the notebooks to demonstrate. The current state of research in the + field includes scientific work without any published code and + therefore it is currently difficult to compare outcome parameters in + (clinical) research. Filter settings as cutoff frequencies and window + lengths to create a respiratory tracing may differ, as well as the + used algorithms for feature extraction. This library enables + communication towards reproducible research.

+
+ + State of the field +

Respiratory surface EMG signals can be processed, with a limited + group of algorithms, by several existing libraries which deal with EMG + signals in general. However, none of these libraries have been + extended publicly to cover all the specifics of the respiratory + signal. BioSPPy + (Carreiras + et al., 2015--), and NeuroKit + (Makowski + et al., 2021) both cover processing for various + electrophysiological signals, and have modules for general EMG + processing. Unfortunately, these modules do not have code specific for + respiratory surface EMG. pyemgpipline + (Wu et + al., 2022) is specific to EMG, but not to respiratory EMG. + Without functions specific to respiratory EMG, researchers must code + themselves the functions for extracting even basic parameters reported + in current literature, such as area under curve. This is beyond the + technical skills of many researchers in the field, and hinders the + quality and the reproducibility of the results. Therefore, ReSurfEMG + bridges the gaps in clinical researcher abilities, allowing + researchers at a low level of technical skill to analyze respiratory + EMG.

+
+ + Statement of need +

When the diaphragm and/or other respiratory muscles fail, breathing + needs mechanical support. To prevent further failure of respiratory + muscles and optimize treatment, it is essential to monitor respiratory + muscle activity. Muscle activity can be measured via an electromyogram + (EMG) invasively or by surface electrodes attached to the skin. + Although surface electrodes have the advantage of non-invasiveness, + they bring challenges in data processing by patient characteristics + and crosstalk of other muscles. Yet, preprocessing and analysis of + these inherently complex EMG data sets remains very limited due to + various factors including proprietary software. At present there is a + lack of internationally accepted respiratory surface EMG processing + conventions. For example, in order to determine where in a signal a + breath, or inspiratory effort, begins one must determine the onset of + muscle activation. However, there are at least seven algorithms for + muscle effort onset detection in the existing literature + (Hodges + & Bui, 1996), + (Bonato + et al., 1998), + (Lidierth, + 1986), + (Abbink + et al., 1998), + (Solnik + et al., 2010), + (Silva + et al., 2013) + (Londral + et al., 2013), and researchers sometimes simply determine the + onset of muscle activity manually. Determining respiratory onset and + offset is even more complex than the activation of muscle effort as + there are inspiratory and expiratory muscles which may function + paradoxically in pathological states, as well as activity of the heart + adding noise to raw EMG signals. As there is no consensus on how to + define respiratory effort onset and offset, or on the appropriate + preprocessing algorithms to remove noise from the respiratory signal, + of which the cardiac activity is most prominent, comparing research + across groups is extremely difficult. This package aims to create open + preprocessing and analysis pipelines to advance the use of this signal + in clinical research that can be compared across institutions and + across various acquisition hardware set-ups.

+
+ + Used by +

This work supports ongoing research in respiratory surface EMG by + the Cardiovascular and Respiratory Physiology group at the University + of Twente.

+
+ + Acknowledgements +

This work is part of the research project Development of a software + tool for automated surface EMG analysis of respiratory muscles during + mechanical ventilation, which is supported by the Netherlands eScience + Center and the University of Twente.

+
+ + + + + + + HodgesPaul W. + BuiBang H. + + A comparison of computer-based methods for the determination of onset of muscle contraction using electromyography + Electroencephalography and Clinical Neurophysiology/Electromyography and Motor Control + 1996 + 101 + 6 + 0924-980X + https://www.sciencedirect.com/science/article/pii/S0921884X96951905 + 10.1016/S0921-884X(96)95190-5 + 511 + 519 + + + + + + BonatoP. + D’AlessioT. + KnaflitzM. + + A statistical method for the measurement of muscle activation intervals from surface myoelectric signal during gait + IEEE Transactions on Biomedical Engineering + 1998 + 45 + 3 + 10.1109/10.661154 + 287 + 299 + + + + + + LidierthM + + A computer based method for automated measurement of the periods of muscular activity from an EMG and its application to locomotor EMGs + Electroencephalography and Clinical Neurophysiology + 1986 + 64 + 4 + 0013-4694 + https://www.sciencedirect.com/science/article/pii/001346948690163X + 10.1016/0013-4694(86)90163-X + 378 + 380 + + + + + + Abbink + BiltVan Der + GlasVan Der + + Detection of onset and termination of muscle activity in surface electromyograms + Journal of Oral Rehabilitation + 1998 + 25 + 5 + https://onlinelibrary.wiley.com/doi/abs/10.1046/j.1365-2842.1998.00242.x + 10.1046/j.1365-2842.1998.00242.x + 365 + 369 + + + + + + SolnikStanislaw + RiderPatrick + SteinwegKen + DeVitaPaul + HortobágyiTibor + + Teager–kaiser energy operator signal conditioning improves EMG onset detection + European Journal of Applied Physiology + 20101001 + 110 + 3 + 1439-6327 + https://doi.org/10.1007/s00421-010-1521-8 + 10.1007/s00421-010-1521-8 + 489 + 498 + + + + + + SilvaHugo + SchererReinhold + SousaJoana + LondralAna + + Towards improving the usability of electromyographic interfaces + Converging clinical and engineering research on neurorehabilitation + + PonsJosé L. + TorricelliDiego + PajaroMarta + + Springer Berlin Heidelberg + Berlin, Heidelberg + 2013 + 978-3-642-34546-3 + 10.1007/978-3-642-34546-3_71 + 437 + 441 + + + + + + LondralAna + SilvaHugo + NunesNeuza + CarvalhoMamede + AzevedoLuis + + A wireless user-computer interface to explore various sources of biosignals and visual biofeedback for severe motor impairment + Journal of acessibility and design for all + Càtedra d’Accessibilitat (CATAC) + 2013 + 3 + 2 + https://www.raco.cat/index.php/JACCES/article/view/315915 + 118 + 134 + + + + + + MakowskiDominique + PhamTam + LauZen J. + BrammerJan C. + LespinasseFrançois + PhamHung + SchölzelChristopher + ChenS. H. Annabel + + NeuroKit2: A python toolbox for neurophysiological signal processing + Behavior Research Methods + 20210801 + 53 + 4 + 1554-3528 + https://doi.org/10.3758/s13428-020-01516-y + 10.3758/s13428-020-01516-y + 1689 + 1696 + + + + + + WuTsung-Lin + AlhossaryAmr A. + PatakyTodd C. + AngWei Tech + DonnellyCyril J. + + Pyemgpipeline: A python package for electromyography processing + Journal of Open Source Software + The Open Journal + 2022 + 7 + 72 + https://doi.org/10.21105/joss.04156 + 10.21105/joss.04156 + 4156 + + + + + + + CarreirasCarlos + AlvesAna Priscila + LourençoAndré + CanentoFilipe + SilvaHugo + FredAna + others + + BioSPPy: Biosignal processing in Python + https://github.com/PIA-Group/BioSPPy/ + + + + +