A library to analyze critical behavior, self-similarity, and fractal dimension of clusters in cellular automata.
Project description
Cluster_Analyzer 
cluster_analyzer is a Python library designed to analyze critical behavior, self-similarity, and fractal dimensions of clusters in cellular automata. It provides tools for simulating cluster formation, performing statistical analyses, and visualizing results.
Features
- Optimized cluster detection
- Simulate Logistic Game of Life (LGOL) and find polynomial solutions.
- Analyze cluster sizes and their distributions.
- Perform power-law fitting and goodness-of-fit tests and visualizations based on powerlaw package developed in on the statistical methods developed in Clauset et al. 2007 and Klaus et al. 2011.
- Generate Probability Density Function (PDF) and Complementary Cumulative Distribution Function (CCDF) plots.
Installation
You can install ClusterAnalyzer via pip:
$ pip install cluster-analyzer
or clone the repository and install it manually:
$ git clone https://github.com/HakanAkgn/ClusterAnalyzer.git
$ cd ClusterAnalyzer
$ pip install .
to install optional dependencies to reproduce all the figures in the paper, run:
$ pip install .[all]
Check the installation:
import cluster_analyzer as ca
print(ca.__version__)
Usage
See the Demo Notebook for examples of each function.
See the Data Display Notebook for a detailed view of the dataset and visualizations used in the paper.
Citation
If you find this work useful, please cite our paper:
@misc{akgün2024deterministiccriticalitycluster,
title={Deterministic criticality & cluster dynamics hidden in the Game of Life},
author={Hakan Akgün and Xianquan Yan and Tamer Taşkıran and Muhamet Ibrahimi and Arash Mobaraki and Ching Hua Lee and Seymur Jahangirov},
year={2024},
eprint={2411.07189},
archivePrefix={arXiv},
primaryClass={cond-mat.stat-mech},
url={https://arxiv.org/abs/2411.07189},
}
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 cluster_analyzer-0.0.3.tar.gz.
File metadata
- Download URL: cluster_analyzer-0.0.3.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92489fd352eccac2bf57e55c6bb6af2efe79aae39814d4e4255125df246972d4
|
|
| MD5 |
ed76f8ced3857265215c700882ee9e6b
|
|
| BLAKE2b-256 |
750928134d95d03ac65ec2afe902a7da1bb235316da2ff9f66aa17db2725e5e7
|
File details
Details for the file cluster_analyzer-0.0.3-py3-none-any.whl.
File metadata
- Download URL: cluster_analyzer-0.0.3-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62ed487f70b9aee05eb1998d5a6ac22030233fa6cec7fa5b0d5d29286f29ac5d
|
|
| MD5 |
9d8a77bd5e404c77858279309d7373c2
|
|
| BLAKE2b-256 |
a814bac34e25105867f727ca65f0e1f695b82e74395ec352e6acc8fa94e4f71f
|