nolds: Nonlinear Measures for Dynamical Systems in Python

This repository profile is provided by osrepos.com, an open source repository discovery platform.

nolds: Nonlinear Measures for Dynamical Systems in Python

Summary

nolds is a Python library for calculating nonlinear measures in dynamical systems, specifically designed for one-dimensional time series. It provides implementations for various metrics such as sample entropy, correlation dimension, Lyapunov exponents, and Hurst exponent. This tool is valuable for analyzing the complexity, predictability, and memory of time series data, serving as both a practical utility and a learning resource.

Repository Information

Analyzed by OSRepos on December 18, 2025

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

nolds is a small, numpy-based Python library designed for implementing and learning about nonlinear measures for dynamical systems, specifically based on one-dimensional time series. It offers a comprehensive suite of tools for analyzing the complexity, predictability, and memory of time series data.

Key measures implemented in nolds include:

  • Sample Entropy (sampen): Measures time-series complexity.
  • Correlation Dimension (corr_dim): Quantifies the fractal dimension and complexity.
  • Lyapunov Exponent (lyap_r, lyap_e): Indicates chaos and unpredictability in a system.
  • Hurst Exponent (hurst_rs): Measures long-term memory, useful for analyzing trends.
  • Detrended Fluctuation Analysis (DFA): Estimates the Hurst parameter for non-stationary processes.
  • Generalized Hurst Exponent (mfhurst_b): A generalization for multifractal data series.

Installation

nolds supports Python 2 (>= 2.7) and Python 3 (>= 3.4) and primarily requires the numpy package.

You can easily install nolds using pip:

pip install nolds

Optional dependencies for extended functionality include sklearn for RANSAC line fitting, quantumrandom for true random numbers, and matplotlib for plotting functions in nolds.examples.

Examples

Here's a quick example demonstrating how to use nolds to calculate the Detrended Fluctuation Analysis (DFA) for a random walk:

import nolds
import numpy as np

rwalk = np.cumsum(np.random.random(1000))
h = nolds.dfa(rwalk)
print(f"Hurst parameter (DFA): {h}")

Why Use nolds?

nolds stands out as a valuable tool for researchers and developers working with time series data due to several reasons:

  • Comprehensive Measures: It provides a wide array of nonlinear measures, from entropy to fractal dimensions and Lyapunov exponents, all in one library.
  • Learning Resource: Each function comes with extensive documentation explaining the algorithm and pointing to relevant academic papers, making it an excellent educational tool.
  • Non-Stationary Data: Its Detrended Fluctuation Analysis (DFA) is particularly useful for analyzing non-stationary processes, which are common in real-world data like financial markets.
  • Pythonic and NumPy-based: Built on NumPy, nolds integrates seamlessly into the Python scientific computing ecosystem, ensuring efficiency and ease of use.

Links

Related repositories

Similar repositories that may be relevant next.

AREX-Skill: A Skill Library for Automated Machine Learning and Auto-Research

AREX-Skill: A Skill Library for Automated Machine Learning and Auto-Research

September 21, 2026

AREX-Skill is a powerful skill library designed to advance automated machine learning and auto-research. It distills over 5,000 executable skills from more than 1,000 popular GitHub repositories, making complex ML knowledge directly usable by coding agents. This project significantly enhances agent performance in various research tasks by providing structured, validated operating knowledge.

PythonAutomated Machine LearningAI Agents
oh-my-hermes: Enhance Hermes Agent with Advanced AI Workflow and Memory

oh-my-hermes: Enhance Hermes Agent with Advanced AI Workflow and Memory

September 17, 2026

oh-my-hermes is an all-in-one plugin designed to significantly enhance the Hermes Agent. It provides advanced coding intelligence, a robust long-term memory system, and optimized workflow packages, transforming standard Hermes requests into structured, actionable tasks with clear operational layers.

AI AgentHermes AgentAI Tools
ASC: A Super Fast Android Decompiler for Mobile Reverse Engineering

ASC: A Super Fast Android Decompiler for Mobile Reverse Engineering

September 17, 2026

ASC is an innovative and exceptionally fast Android decompiler front-end, specifically designed for mobile researchers and agents. It redefines traditional decompilation by directly querying compiled artifacts, offering on-demand code extraction and analysis without heavy preprocessing. This approach results in significantly reduced memory usage and lightning-fast performance, even on large APKs.

AndroidDecompilerReverse Engineering
Open Index: A Deterministic Memory Layer for Your AI Agents

Open Index: A Deterministic Memory Layer for Your AI Agents

September 16, 2026

Open Index is a powerful tool for building domain-specific, accurate, and structured data that AI agents can effectively operate on. It enables the creation of a "brain," a searchable and continuously improving context graph tailored to any domain. This system ensures agents have access to reliable, up-to-date information, enhancing their capabilities and decision-making processes.

AI AgentsKnowledge GraphAgent Memory

Source repository

Open the original repository on GitHub.

14 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️