SOMAS - an open-source software for the analysis of muscle activity during sleep
Matteo Cesari1, Raffaele Ferri2, Birgit Högl1
1Department of Neurology, Medical University of Innsbruck, Innsbruck, Austria.
Sleep Medicine
|February 10, 2026
Summary
A new open-source software, SOMAS, reliably analyzes sleep muscle tone and movements. It accurately differentiates movement disorders like iRBD and RLS, enhancing research reproducibility.
Area of Science:
- Sleep Medicine
- Neurophysiology
- Biomedical Engineering
Background:
- Existing algorithms for sleep muscle activity analysis lack open-source options for both muscle tone and movement.
- This limitation hinders reproducibility and collaborative research in sleep-related movement disorders.
Purpose of the Study:
- To develop SOMAS (Sleep Open-source Muscle activity Analysis System), an open-source software addressing the gap in analyzing sleep muscle tone and movements.
- To validate SOMAS's performance against established methods and its ability to differentiate specific sleep disorders.
Main Methods:
- SOMAS processes European Data Format+ (EDF+) files, calculating the atonia index, distribution of normalized electromyography (DNE), and leg movement indices.
- Recordings from patients with isolated REM sleep behavior disorder (iRBD), restless legs syndrome (RLS), sleep breathing disorders, and controls were analyzed.
- SOMAS-derived indices were compared with Hypnolab (non-open-source software) and used for diagnostic differentiation.
Main Results:
- SOMAS-derived atonia index and leg movement indices showed strong correlation (Spearman >0.97) with Hypnolab results.
- The DNE and atonia index effectively differentiated iRBD patients from others (AUC 0.89-1.00).
- Periodic leg movement and periodicity indices differentiated RLS patients from controls (AUC 0.71-0.75).
Conclusions:
- SOMAS provides a reliable, open-source solution for quantifying sleep muscle tone and movements from EDF+ files.
- The software demonstrates potential for improving research reproducibility and collaboration in sleep-related movement disorders.
- SOMAS aids in differentiating key sleep-related movement disorders, offering clinical and research utility.
Related Concept Videos
GIS Software, Hardware, and Sources of GIS Data
817
A Geographic Information System (GIS) combines specialized software and hardware to effectively manage, analyze, and present spatial and related data. GIS software includes critical functionalities such as a user interface for easy navigation, database management tools for handling spatial and attribute data, and data retrieval features for efficient access. Analytical tools transform raw data into insights, while display functions produce maps and reports in various formats for effective...
817
Mesh Analysis with Current Sources
2.0K
Mesh analysis becomes simpler when analyzing circuits with current sources, whether independent or dependent. The presence of current sources reduces the number of equations required for analysis. Two cases illustrate this:
Current Source in One Mesh: The analysis process is straightforward when a current source is found in only one mesh within the circuit. Mesh currents are assigned as usual, with the mesh containing the current source excluded from the analysis. Kirchhoff's voltage law...
Current Source in One Mesh: The analysis process is straightforward when a current source is found in only one mesh within the circuit. Mesh currents are assigned as usual, with the mesh containing the current source excluded from the analysis. Kirchhoff's voltage law...
2.0K
Nodal Analysis with Voltage Sources
2.0K
Nodal analysis is a remarkably effective method used in electrical engineering to simplify the analysis of complex circuits, including those with dependent or independent voltage sources. Its strength lies in its systematic approach to breaking down circuits into manageable components, making it easier for engineers to understand and solve.
Consider a circuit that contains four resistors and two voltage sources, as shown in Figure 1. One of these voltage sources is connected between a...
Consider a circuit that contains four resistors and two voltage sources, as shown in Figure 1. One of these voltage sources is connected between a...
2.0K
Statistical Software for Data Analysis and Clinical Trials
1.6K
Statistical software is pivotal in data analysis and clinical trials by providing tools to analyze data, draw conclusions, and make predictions. These software packages range from simple data management applications to complex analytical platforms, supporting various statistical tests, models, and simulation techniques. Their significance lies in their ability to handle vast amounts of data with precision and efficiency, enabling researchers to validate hypotheses, identify trends, and make...
1.6K
Insufficient Sleep and Sleep Deprivation
962
Insufficient sleep refers to not getting the recommended amount of sleep for optimal functioning, even if it's just slightly less than needed. Sleep insufficiency may occur due to lifestyle choices, such as staying up late for social events or work, resulting in routinely getting less sleep than required. For example, consistently sleeping 6 hours when the body needs 7-9 hours can lead to cumulative effects on health and well-being.
Sleep deprivation is a more severe form of sleep loss...
Sleep deprivation is a more severe form of sleep loss...
962
Stages of Sleep
1.5K
Sleep progresses through distinct stages, each characterized by specific brain wave patterns and physiological responses ranging from wakefulness to stages of non-rapid eye movement, known as non-REM, to rapid eye movement, referred to as REM. Understanding these stages helps in recognizing how sleep supports various bodily and cognitive functions.
Before sleep begins, in wakefulness, the brain exhibits primarily beta waves, which are high in frequency and low in amplitude, indicating alertness...
Before sleep begins, in wakefulness, the brain exhibits primarily beta waves, which are high in frequency and low in amplitude, indicating alertness...
1.5K


