lypunov-exponent-and-correlation-dimension

Calculates the largest Lyapunov exponent and the correlation dimension

https://github.com/sayannag/lypunov-exponent-and-correlation-dimension

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.8%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Calculates the largest Lyapunov exponent and the correlation dimension

Basic Info
  • Host: GitHub
  • Owner: sayannag
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 19.5 KB
Statistics
  • Stars: 9
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 4 years ago · Last pushed about 4 years ago
Metadata Files
Readme License Citation

README.md

Lypunov-Exponent-and-Correlation-Dimension

Calculates the largest Lyapunov exponent and the correlation dimension.

Python implementation of the Objective C code (https://www.physionet.org/content/lyapunov/1.0.0/l1d2/l1d2.c)

Reference:

M.T. Rosenstein, J.J. Collins, C.J. De Luca, A practical method for calculating largest Lyapunov exponents from small data sets, Physica D 65:117-134, 1993.

If you use this reporsitory please cite as:

APA format:

Sayan, N. (2022). Lypunov-Exponent-and-Correlation-Dimension (Version 1.0.0) [Computer software]. https://github.com/sayannag/Lypunov-Exponent-and-Correlation-Dimension

BibTeX:

@software{Sayan_Lypunov-Exponent-and-Correlation-Dimension_2022, author = {Sayan, Nag}, month = {3}, title = {{Lypunov-Exponent-and-Correlation-Dimension}}, url = {https://github.com/sayannag/Lypunov-Exponent-and-Correlation-Dimension}, version = {1.0.0}, year = {2022} }

Usage (on Colab):

  1. Write your own test script as:

```

!git clone https://github.com/sayannag/Lypunov-Exponent-and-Correlation-Dimension.git

%cd /content/Lypunov-Exponent-and-Correlation-Dimension/Lypunov-Exponent-and-Correlation-Dimension

import numpy as np

from math import log

import matplotlib.pyplot as plt

from lyapunovDcutils import *

def main():

t = np.linspace(1,100,1000)

series_data = (1/t**2)*np.sin(t)

LLE, Dc = Lyapunov().compute(series_data, debug_lyap_plot=False, debug_Dc_plot=False)

print('Largest Lyapunov:', LLE, ', Dc: ', Dc)

if name == "main":

main()

``` 2. Use the given test script as:

```

!git clone https://github.com/sayannag/Lypunov-Exponent-and-Correlation-Dimension.git

%cd /content/Lypunov-Exponent-and-Correlation-Dimension/Lypunov-Exponent-and-Correlation-Dimension

!python testlyapunovDc.py --series_type 'converging'

```

Owner

  • Name: Sayan Nag
  • Login: sayannag
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Sayan"
  given-names: "Nag"
title: "Lypunov-Exponent-and-Correlation-Dimension"
version: 1.0.0
date-released: 2022-03-11
url: "https://github.com/sayannag/Lypunov-Exponent-and-Correlation-Dimension"

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Dependencies

setup.py pypi
  • requests *