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