summaryrefslogtreecommitdiff
path: root/analyze.py
blob: 2dc8c887e093eeb8342959a22bfe85609149b6c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from stats import *
import sys

if len(sys.argv) >= 2:
    files = sys.argv[1:]
else:
    files = ["stats.pickle"]


s = Stats.load(files[0])
for f in files[1:]:
    s.merge(f)

s.analyze_speed()
print("\n" + "-"*40 + "\n")
s.analyze_visible_window(False)
for i in ["split cell", "ejected mass", "virus"]:
    s.analyze_deviations(i)
print("")
for i in ["split cell", "ejected mass", "virus"]:
    s.analyze_distances(i)

s.analyze_virus_sizes()
s.analyze_remerge()