summaryrefslogtreecommitdiff
path: root/analyze.py
blob: 520b3b0917ae10cab4713bf25680ceef53920c25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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(True)
for i in ["split cell", "ejected mass", "virus"]:
    s.analyze_deviations(i)
for i in ["split cell", "ejected mass", "virus"]:
    s.analyze_distances(i)