This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from pyunicorn.timeseries import RecurrencePlot, RecurrenceNetwork, CrossRecurrencePlot, JointRecurrencePlot | |
def logistic_map(x0, r, T): | |
""" | |
Returns a time series of length T using the logistic map | |
x_(n+1) = r*x_n(1-x_n) at parameter r and using the initial condition x0. | |
INPUT: x0 - Initial condition, 0 <= x0 <= 1 |
OlderNewer