Example Timeseries (peccary.examples)#

Introduction#

The examples module provides a variety of different systems for testing the PECCARY method. These range from discrete and chaotic systems to noisy systems.

API#

peccary.examples Module#

Test functions for PECCARY method.

The functions and classes in the examples module consist of different functions and physical systems used for testing PECCARY

Functions#

henonMap(n[, a, b])

Generate timeseries from Hénon map.

tentMap(n[, mu])

Generate timeseries from tent map with parameter \(\mu\)

asymmTentMap(n[, a])

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

logisticMap(n[, r])

Generate timeseries from logistic map with growth rate parameter \(r\)

Classes#

lorenz([s, r, b, initialVals])

The lorenz class can be used to generate the x-, y-, and z-coordinates of the Lorenz strange attractor, which is chaotic for certain values of the input parameters \(\sigma\), \(\rho\), and \(\beta\).

doublePendulum([L1, L2, M1, M2])

The doublePendulum class can be used to generate the x- and y-timeseries of a specified double pendulum system.

noiseColors(n)

The noiseColors class generates noisy timeseries of length n with different power spectra.