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 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
[^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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b94e64c8a336f7d4e975f88b995a11f6c84bcc30ad8b22af3f585b646c13b46
|
|
| MD5 |
e44092b0ed45a13676f5f19cd0129d37
|
|
| BLAKE2b-256 |
0f73e3761f16489636ad82dc814f3535cfc21293383f02a0633cf66b5190c8a9
|
Provenance
The following attestation bundles were made for cmlattice-0.0.3.tar.gz:
Publisher:
release.yaml on mskmay66/cmlattice
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cmlattice-0.0.3.tar.gz -
Subject digest:
7b94e64c8a336f7d4e975f88b995a11f6c84bcc30ad8b22af3f585b646c13b46 - Sigstore transparency entry: 215351098
- Sigstore integration time:
-
Permalink:
mskmay66/cmlattice@f4b7a32522279c62914cff3e073c3c42ba754300 -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/mskmay66
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@f4b7a32522279c62914cff3e073c3c42ba754300 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95c424f7635ec8e5d55318052bfec55bca22e6e729183fa90ee660dddb7ec771
|
|
| MD5 |
904c11a6209152ebb68fa89503287d77
|
|
| BLAKE2b-256 |
9ef878148dc45d1571a814ef435f5b4cb52eac3aea18a3234a7b321bc90dddcf
|
Provenance
The following attestation bundles were made for cmlattice-0.0.3-py3-none-any.whl:
Publisher:
release.yaml on mskmay66/cmlattice
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cmlattice-0.0.3-py3-none-any.whl -
Subject digest:
95c424f7635ec8e5d55318052bfec55bca22e6e729183fa90ee660dddb7ec771 - Sigstore transparency entry: 215351099
- Sigstore integration time:
-
Permalink:
mskmay66/cmlattice@f4b7a32522279c62914cff3e073c3c42ba754300 -
Branch / Tag:
refs/tags/0.0.3 - Owner: https://github.com/mskmay66
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@f4b7a32522279c62914cff3e073c3c42ba754300 -
Trigger Event:
push
-
Statement type: