summaryrefslogtreecommitdiff
path: root/bin/analyze-archive.py
blob: c3a1547be9c974c7f51de4ea38ca7ea2c18f6b93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python3

import json
import numpy as np
import os
from scipy.cluster.vq import kmeans2
import struct
import sys
import tarfile
from dfatool import AEMRAnalyzer

if __name__ == '__main__':
    filename = sys.argv[1]
    analyzer = AEMRAnalyzer(filename)

    analyzer.preprocess()
    sys.exit(0)