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 Kaneko1,
- The Rulkov Map2
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 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
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
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
-
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 ↩
-
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 ↩
Metadata
Release files for cmlattice 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cmlattice-0.0.3.tar.gz | 17.3 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cmlattice-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.3 MB
Release files / cmlattice-0.0.3.tar.gz
| Download URL | cmlattice-0.0.3.tar.gz |
|---|---|
| Size | 17.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b94e64c8a336f7d4e975f88b995a11f6c84bcc30ad8b22af3f585b646c13b46
|
|
BLAKE2b-256 checksum How to use checksums |
0f73e3761f16489636ad82dc814f3535cfc21293383f02a0633cf66b5190c8a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2025.
Transparency logRelease files / cmlattice-0.0.3-py3-none-any.whl
| Download URL | cmlattice-0.0.3-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95c424f7635ec8e5d55318052bfec55bca22e6e729183fa90ee660dddb7ec771
|
|
BLAKE2b-256 checksum How to use checksums |
9ef878148dc45d1571a814ef435f5b4cb52eac3aea18a3234a7b321bc90dddcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 20, 2025.
Transparency log