Skip to main content

An implementation of coupled map lattices.

Project description

cmlattice

cmlattice provides a python implementation of various types of coupled map lattices. A coupled map lattice, or CML, is a dynamic system that models the behavior of nonlinear systems.

This package contains several different models, all of which can be broadly described as cmls:

  • A standard CML with logistic state function,
  • The CML model primarily studied by Kaneko[^1],
  • The Rulkov Map[^2]

A Standard CML

# initialize the lattice object
lattice = CoupledMapLattice(n=10, r=4, mu=0, sigma=1)

# run a hundred step simulation
STEPS = 100
sim_gen = lattice.simulate(STEPS)

# unpack the generator
sim = list(sim_gen)

# finally, vizualize your simulation
viz = Visualization(lattice)
v = viz.animate()

A cml with 10 nuerons, in a stable regime

A Kaneko Lattice

# initialize the lattice object
lattice = KanekoLattice(n=10, r=4, mu=0, sigma=1)

# run a hundred step simulation
STEPS = 100
sim_gen = lattice.simulate(STEPS)

# unpack the generator
sim = list(sim_gen)

# finally, vizualize your simulation
viz = Visualization(lattice)
v = viz

A coupled kaneko

An Uncoupled Rulkov Lattice

# initialize the lattice object
lattice = RulkovLattice(n=10, r=4, mu=0, sigma=1, epsilon=1)

# run a hundred step simulation
STEPS = 100
sim_gen = lattice.simulate(STEPS)

# unpack the generator
sim = list(sim_gen)

# finally, vizualize your simulation
viz = Visualization(lattice)
v = viz

A uncoupled rulkov

Chaos

These models are particularly useful in studying choatic, dynamic systems. For example, in one dimension choosing an r parameter of greater than 3.57 for a standard lattice will behave choatically.

Citations

[^1]: Kunihiko Kaneko, Period-Doubling of Kink-Antikink Patterns, Quasiperiodicity in Antiferro-Like Structures and Spatial Intermittency in Coupled Logistic Lattice: Towards a Prelude of a “Field Theory of Chaos”, Progress of Theoretical Physics, Volume 72, Issue 3, September 1984, Pages 480–486, https://doi.org/10.1143/PTP.72.480

[^2]: N.F. Rulkov (2001). "Regularization of Synchronized Chaotic Bursts". Physical Review Letters. 86 (1): 183–186. arXiv:nlin/0011028. Bibcode:2001PhRvL..86..183R. doi:10.1103/physrevlett.86.183. PMID 11136124. S2CID 7016788

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cmlattice-0.0.3.tar.gz (17.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cmlattice-0.0.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file cmlattice-0.0.3.tar.gz.

File metadata

  • Download URL: cmlattice-0.0.3.tar.gz
  • Upload date:
  • Size: 17.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cmlattice-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7b94e64c8a336f7d4e975f88b995a11f6c84bcc30ad8b22af3f585b646c13b46
MD5 e44092b0ed45a13676f5f19cd0129d37
BLAKE2b-256 0f73e3761f16489636ad82dc814f3535cfc21293383f02a0633cf66b5190c8a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmlattice-0.0.3.tar.gz:

Publisher: release.yaml on mskmay66/cmlattice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cmlattice-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: cmlattice-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cmlattice-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 95c424f7635ec8e5d55318052bfec55bca22e6e729183fa90ee660dddb7ec771
MD5 904c11a6209152ebb68fa89503287d77
BLAKE2b-256 9ef878148dc45d1571a814ef435f5b4cb52eac3aea18a3234a7b321bc90dddcf

See more details on using hashes here.

Provenance

The following attestation bundles were made for cmlattice-0.0.3-py3-none-any.whl:

Publisher: release.yaml on mskmay66/cmlattice

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page