summaryrefslogtreecommitdiff
path: root/analyze.py
blob: c9c3ac8701b0091fb4130b28db83928d7c80634c (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", "virus2", "virus3"]:
    s.analyze_deviations(i)
print("")
for i in ["split cell", "ejected mass", "virus"]:
    s.analyze_distances(i)

s.analyze_virus_sizes()
s.analyze_remerge()