Back

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

Mlynczak, M.; Rosol, M.; Korzeniewski, K.; Gasior, J. S.

2026-07-29 physiology
10.64898/2026.07.26.740785 bioRxiv
Show 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.

Matching journals

The top 5 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.