GenML: A Python Library to Generate the Mittag-Leffler Correlated Noise
Xiang Qu, Hui Zhao, Wenjie Cai, Gongyi Wang, Zihan Huang
TL;DR
This work tackles the lack of practical tools for generating Mittag-Leffler correlated noise (M-L noise), which captures a broad spectrum of memory effects through its autocorrelation $C(t)=\frac{C}{\tau^{\lambda}} E_{\lambda}[-(t/\tau)^{\lambda}]$. It introduces GenML, a Python library that implements a Davies-Harte-based generation scheme with an FFT-based circulant approach and an optimization step to select an optimal sequence length $T_{\mathrm{opt}}$, enabling direct synthesis of M-L noise sequences. The authors validate GenML by comparing empirical autocorrelation functions to the theoretical Mittag-Leffler form and by examining diffusion via the Langevin equation, demonstrating close agreement and the expected long-time MSD slope of $2-\lambda$. GenML thus enables direct simulations and data-driven analyses of complex systems with memory, broadening applicability in physics, biology, and finance.
Abstract
Mittag-Leffler correlated noise (M-L noise) plays a crucial role in the dynamics of complex systems, yet the scientific community has lacked tools for its direct generation. Addressing this gap, our work introduces GenML, a Python library specifically designed for generating M-L noise. We detail the architecture and functionalities of GenML and its underlying algorithmic approach, which enables the precise simulation of M-L noise. The effectiveness of GenML is validated through quantitative analyses of autocorrelation functions and diffusion behaviors, showcasing its capability to accurately replicate theoretical noise properties. Our contribution with GenML enables the effective application of M-L noise data in numerical simulation and data-driven methods for describing complex systems, moving beyond mere theoretical modeling.
