irreversibility: A Python Package for Assessing and Manipulating the Time Irreversibility of Real-World Time Series
1Instituto de Física Interdisciplinar y Sistemas Complejos CSIC-UIB, Edifici Complex de Recerca de les Illes Balears, Parc Bit, E-07120 Palma de Mallorca, Spain.
Entropy (Basel, Switzerland)
|November 26, 2025
Summary
This study introduces "irreversibility," a Python package for analyzing time series data. It offers various metrics and tests to detect time irreversibility in dynamical systems, enhancing data analysis reproducibility.
Area of Science:
- Physics
- Computer Science
- Data Analysis
Background:
- Theoretical foundations of irreversibility date back to statistical physics.
- Analysis of irreversibility in real-world time series is a recent development.
Purpose of the Study:
- Introduce an open-source Python package named 'irreversibility' (version ≥ 3.11).
- Provide a comprehensive set of irreversibility metrics and tests for dynamical systems and time series analysis.
- Facilitate the practical application and comparison of these tests.
Main Methods:
- Development of an open-source Python package ('irreversibility').
- Inclusion of diverse irreversibility metrics and statistical tests.
- Integration of utility functions for time series manipulation (downsampling, parameter optimization).
Main Results:
- The 'irreversibility' package offers a unified software solution for analyzing real-world time series data.
- Researchers can now easily compare multiple tests for a more robust understanding of system dynamics.
- The package simplifies obtaining reproducible results in irreversibility analysis.
Conclusions:
- The 'irreversibility' package democratizes the analysis of time series irreversibility.
- It empowers researchers with tools to investigate the directionality of time in complex systems.
- The package promotes reproducible scientific inquiry in statistical physics and data science.
Related Concept Videos
Time-Series Graph
5.0K
A time-series graph is a line graph with repeated measurements taken at successive intervals of time. It is also called a time series chart. To construct a time-series graph, one must look at both pieces of a paired data set. The horizontal axis is used to plot the time increments, and the vertical axis is used to plot the values of the variable that one is measuring. By using the axes in this way, each point on the graph will correspond to time and a measured quantity. The points on the graph...
5.0K
Noncompartmental Analysis: Mean Residence Time
554
According to statistical moment theory, mean residence time (MRT) is an important measure in pharmacokinetics. MRT can be defined as the expected mean of a probability density function distribution. It provides valuable insights into drug disposition in the body.
After the administration of a drug through intravenous bolus injection, the drug molecules are distributed throughout the body and remain there for varying periods. The MRT represents the average time these drug molecules stay in the...
After the administration of a drug through intravenous bolus injection, the drug molecules are distributed throughout the body and remain there for varying periods. The MRT represents the average time these drug molecules stay in the...
554
Basic Operations on Signals
1.0K
Basic signal operations include time reversal, time scaling, time shifting, and amplitude transformations. These operations are fundamental in signal processing and analysis.
Time Reversal mirrors a continuous-time signal about the vertical axis at t=0. This is achieved by substituting t with −t. For example, if a signal x(t) is considered, the time-reversed signal is x(−t). This operation can be graphically represented, showing the mirrored signal.
Time Reversal mirrors a continuous-time signal about the vertical axis at t=0. This is achieved by substituting t with −t. For example, if a signal x(t) is considered, the time-reversed signal is x(−t). This operation can be graphically represented, showing the mirrored signal.
1.0K
Linear time-invariant Systems
850
A system is linear if it displays the characteristics of homogeneity and additivity, together termed the superposition property. This principle is fundamental in all linear systems. Linear time-invariant (LTI) systems include systems with linear elements and constant parameters.
The input-output behavior of an LTI system can be fully defined by its response to an impulsive excitation at its input. Once this impulse response is known, the system's reaction to any other input can be...
The input-output behavior of an LTI system can be fully defined by its response to an impulsive excitation at its input. Once this impulse response is known, the system's reaction to any other input can be...
850
Chronopharmacokinetics: Time-Dependent Pharmacokinetics
386
Chronopharmacokinetics studies the temporal change in drug absorption and elimination. These changes can be cyclical or non-cyclical. Cyclical changes occur over a regular interval, while non-cyclical changes occur over a longer, irregular period.
Time-dependent pharmacokinetics refers to non-cyclical changes in drug rate processes over a period of time. It can lead to nonlinear pharmacokinetics, where the relationship between drug concentration and time is not proportional. Non-cyclical...
Time-dependent pharmacokinetics refers to non-cyclical changes in drug rate processes over a period of time. It can lead to nonlinear pharmacokinetics, where the relationship between drug concentration and time is not proportional. Non-cyclical...
386
Basic Continuous Time Signals
657
Basic continuous-time signals include the unit step function, unit impulse function, and unit ramp function, collectively referred to as singularity functions. Singularity functions are characterized by discontinuities or discontinuous derivatives.
The unit step function, denoted u(t), is zero for negative time values and one for positive time values, exhibiting a discontinuity at t=0. This function often represents abrupt changes, such as the step voltage introduced when turning a car's...
The unit step function, denoted u(t), is zero for negative time values and one for positive time values, exhibiting a discontinuity at t=0. This function often represents abrupt changes, such as the step voltage introduced when turning a car's...
657


