asymmTentMap#

peccary.examples.asymmTentMap(n, a=0.1847)[source]#

Generate timeseries from asymmetric tent map with parameter \(a\)

Parameters:
nint

Number of timesteps to generate

afloat, optional

Parameter for changing the map, by default 0.1847

Returns:
peccary.timeseries.Timeseries

Timeseries for asymmetric tent map, stored in x attribute of Timeseries class

Examples

To create a timeseries of 10 points using the asymmetric tent map, e.g.,

>>> import peccary.examples as ex
>>> atent = ex.asymmTentMap(10)

The data can be called as follows:

>>> atent.x
array([0.1       , 0.54141852, 0.56246962, 0.53664955, 0.56831896,
       0.52947508, 0.57711875, 0.51868178, 0.5903572 , 0.50244425])

The \(a\) parameter can be changed to produce different types of behavior.