python generate_data.py
Generated spacetime evolutions will be stored in data
from numpy import load
from matplotlib.pyplot import imshow, show
with open("data/rule110_ic8932_identity.npy", 'rb') as spacetime_file:
spacetime_evolution=load(spacetime_file)
imshow(spacetime_evolution,cmap="gray")
show()
python measure_complexity.py
Measured Complexities will be stored in results
from metrics.lossless_fourier_compression_metric import LosslessFourierCompression
LosslessFourierCompression(spacetime_evolution=spacetime_evolution,verbose=True)
python quality_evaluations.py
Evaluation results will be stored in results
python show_summaries.py
\begin{tabular}{lrrrrrr}
& identity & inversion & shift & rotation & reflection & total \\
RunLengthEncoding & 0.000000 & 0.000000 & 0.000968 & 0.227389 & 0.000770 & 0.229128 \\
Test & 0.000000 & 0.000000 & 0.000000 & 0.000000 & 0.000000 & 0.000000 \\
\end{tabular}