reservoirpy.datasets.henon_map#

reservoirpy.datasets.henon_map(
n_timesteps: int,
a: float = 1.4,
b: float = 0.3,
x0: list | ndarray = [0.0, 0.0],
**kwargs,
) ndarray[source]#

Hénon map discrete timeseries [2] [3].

\[\begin{split}x(n+1) &= 1 - ax(n)^2 + y(n)\\ y(n+1) &= bx(n)\end{split}\]
Parameters:
  • n_timesteps (int) – Number of timesteps to generate.

  • a (float, default to 1.4) – \(a\) parameter of the system.

  • b (float, default to 0.3) – \(b\) parameter of the system.

  • x0 (array-like of shape (2,), default to [0.0, 0.0]) – Initial conditions of the system.

Returns:

Hénon map discrete timeseries.

Return type:

array of shape (n_timesteps, 2)

Examples

>>> from reservoirpy.datasets import henon_map
>>> timeseries = henon_map(2_000, a=1.4, b=0.3)
>>> timeseries.shape
(2000, 2)
../../_images/reservoirpy-datasets-henon_map-1.png

References