Logistic Map

New in version 0.3.

This function simulates logistic map equation. This logisti map is described by following equation

\(x(k+1) = r x(k) (1 - x(k))\),

where \(x\) is population (between 0 and 1) and \(x\) is parameter denoted as value of interest.

The logistic map can result in logistic behaviour for some values of \(r\).

For more information see great page about logistic map on Wikipedia

Example Usage

Simple example

N = 200 # number of samples
x = signalz.logistic_map(N, r=3)

Function Documentation

signalz.generators.logistic_map.logistic_map(n, r=4, initial=0.5)[source]

Logist map equation

Args:

  • n - length of the output data (int) - how many samples will be on output

Kwargs:

  • r - function parameter (float)
  • initial - initial value (float), default is 0.1, should be in range from 0 to 1

Returns:

  • simulation output - vector of numbers between 0 and 1