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.
- 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.
You can install ClusterAnalyzer via pip:
$ pip install cluster-analyzeror 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__)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.
If you find this work useful, please cite our paper:
@misc{akgun2025scaleinvariantdynamicspurelydeterministic,
title={Scale-invariant dynamics in a purely deterministic Game of Life model},
author={Hakan Akgun and Xianquan Yan and Tamer Taskiran and Muhamet Ibrahimi and Ching Hua Lee and Seymur Jahangirov},
year={2025},
eprint={2411.07189},
archivePrefix={arXiv},
primaryClass={cond-mat.stat-mech},
url={https://arxiv.org/abs/2411.07189},
}