bioRxiv Science⌕ Search

bioRxiv · 10.64898/2026.07.26.740785

Evaluating Temporal Orders for Local Non-Stationary Biological Signals Analysis: A Python Framework and Simulation Study

Abstract

Background and ObjectiveAccurately parameterizing dynamic, time-varying interactions in physiological systems is a methodological challenge, as global causal discovery methods may obscure transient, local fluctuations. This study introduces tempord, an open-source Python library designed to estimate local temporal orders and evaluate the short-term stability, directionality, and strength of causal links in non-stationary biological signals. MethodsThe algorithm estimates temporal relationships by keeping one signal stationary while iteratively shifting another one within a sliding window. To parameterize optimal inter-signal shifts (causal vector, CV), the framework utilizes linear modeling or time series distance metrics. The methodology was validated through a simulation study on synthetic bivariate signals with mathematically imposed dynamic phase delays, under both deterministic and noisy conditions. Furthermore, in-vivo capabilities were demonstrated by evaluating cardiorespiratory coupling dynamics across spontaneous and music-induced relaxation breathing states. ResultsThe simulation study demonstrated that the extracted CV trajectories precisely aligned with ground-truth temporal delays, assessed using mean absolute error and root mean square error for both noise-free and noisy synthetic data. In-vivo application demonstrated dynamic temporal stability and the detection of minor step changes during autonomic nervous system state transitions. ConclusionsThe tempord Python package bridges the gap between global causal discovery and local beat-by-beat statistical parameterization. It provides a robust "bottom-up" analytical instrument for investigating the transient mechanisms governing complex biological networks.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Mlynczak, M., Rosol, M., Korzeniewski, K., Gasior, J. S.. 2026-07-29. Evaluating Temporal Orders for Local Non-Stationary Biological Signals Analysis: A Python Framework and Simulation Study. https://doi.org/10.64898/2026.07.26.740785

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Cholinergic impairment in the dorsal motor nucleus of the vagus during experimental Alzheimer's disease

Cholinergic neurons in the dorsal motor nucleus of the vagus (DMN) in the brainstem are a key source of efferent vagus nerve fibers that regulate vital functions, including heart rate and inflammation. Whether the integrity of DMN cholinergic neurons is affected during Alzheimer's disease (AD) remains unknown. Here, in female and male mice with experimental AD (5xFAD), which exhibit age-dependent memory impairment, basal forebrain cholinergic neurodegeneration, and microglial alterations, we observe a reduction in cholinergic neuron density in the DMN at 6 and 10 months of age. Furthermore, while an important physiological function of DMN cholinergic signaling, such as suppression of heart rate, is preserved in control mice upon electrical DMN stimulation, the extent of suppression diminishes with age in both female and male 5xFAD mice. In addition, while electrical DMN stimulation lowers pro-inflammatory cytokine levels in control mice subjected to endotoxemia, this anti-inflammatory effect is diminished with age in 5xFAD mice, with females showing earlier dysfunction at 6 months. These results reveal previously unrecognized age-dependent cholinergic deficits in the DMN and disrupted brain - to - periphery vagus nerve circuits in experimental AD. These findings advance our understanding of AD mechanisms and are of interest for the development of conceptually novel therapies.

physiology↗

Ketogenic diet is protective during endotoxin-induced lung injury through the elevation of BHB

Acute respiratory distress syndrome (ARDS) is marked by severe pulmonary edema and concomitant hypoxia, affecting hundreds of thousands of people a year, especially those in critical care conditions or suffering from septic shock. Previous studies have implicated that the ketogenic diet, a high-fat and low-carbohydrate diet, modulates inflammatory responses. However, the impact of the ketogenic diet on septic ARDS outcomes is unknown. Here, we demonstrated that mice on a ketogenic diet showed strikingly reduced lung injury and inflammation compared to those on a control diet during a murine model of endotoxin-induced lung injury, induced by intratracheal lipopolysaccharide (LPS) injection. Immune mass cytometry studies on lung tissue indicated that the ketogenic diet reduces immune cell infiltration. Treating mice with beta-hydroxybutyrate (BHB), the primary metabolite of ketogenesis, after the onset of ARDS reduced pulmonary edema and lung inflammation, as well as NF-kB activity, suggesting strong therapeutic potential. By multiplex analysis in bronchial alveolar lavage fluid, we observed that the ketogenic diet or BHB administration attenuates the chemotaxis and activation of immune cells. Altogether, our findings reveal that the ketogenic diet provides lung protection during endotoxin-induced lung injury through BHB.

physiology↗

Efficacy of postmenopausal estrogen replacement in SIV-infected female macaques on antiretroviral therapy.

The success of modern antiretroviral therapy (ART) has increased the life expectancy of people living with HIV to levels approaching that of uninfected individuals. For women living with HIV (WLWH), this means that more will survive to undergo menopause and experience the consequences of decreased ovarian hormone levels, particularly estrogen (E2). The recent change in federal guidance for use of postmenopausal hormone therapy is increasing demand for both E2-alone and E2+progestogen formulations to control adverse symptoms of menopause. The consequences and efficacy of hormone therapy in WLWH are thus an important issue for WLWH and their healthcare providers. The role of E2 replacement in postmenopausal WLWH is a significant issue because of its potential effects on control the viral reservoir and its demonstrated beneficial metabolic effects in uninfected postmenopausal women. To address these questions, we employed a novel nonhuman primate model of postmenopausal WLWH undergoing E2 replacement. Reproductively competent female rhesus macaques were infected with simian immunodeficiency virus (SIV) and then subjected to a daily ART regimen. After complete suppression of plasma viremia, all animals were ovariectomized (OVX) and then implanted with Silastic capsules containing either cholesterol vehicle or sufficient E2 to restore pre-OVX plasma levels. Plasma and cell-associated viral dynamics, immune responses, body composition, systemic and tissue-specific metabolic parameters, cytokine profiles, and parameters of bone health were followed longitudinally from baseline through 34 weeks of E2 deficiency or replacement. We found that E2 status did not significantly affect plasma or tissue viral dynamics or overall metabolic homeostasis. However, E2 replacement exerted beneficial effects on several aspects of bone health in spite of a chronic inflammatory state that persisted following effective ART suppression of the SIV reservoir. Our findings suggest that hormone therapy, specifically E2 replacement, offers benefit to WLWH, particularly with respect to bone loss.

physiology↗