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},
}
Metadata
Release files for cluster-analyzer 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 | Provenance | Actions |
|---|---|---|---|---|
| cluster_analyzer-0.0.3.tar.gz | 15.3 kB | Without provenance | Details for cluster_analyzer-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cluster_analyzer-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for cluster_analyzer-0.0.3-py3-none-any.whl |
Total release size: 32.1 kB
Release files / cluster_analyzer-0.0.3.tar.gz
| Download URL | cluster_analyzer-0.0.3.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92489fd352eccac2bf57e55c6bb6af2efe79aae39814d4e4255125df246972d4
|
|
BLAKE2b-256 checksum How to use checksums |
750928134d95d03ac65ec2afe902a7da1bb235316da2ff9f66aa17db2725e5e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Release files / cluster_analyzer-0.0.3-py3-none-any.whl
| Download URL | cluster_analyzer-0.0.3-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62ed487f70b9aee05eb1998d5a6ac22030233fa6cec7fa5b0d5d29286f29ac5d
|
|
BLAKE2b-256 checksum How to use checksums |
a814bac34e25105867f727ca65f0e1f695b82e74395ec352e6acc8fa94e4f71f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.10
|
Security for cluster-analyzer 0.0.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.