diff options
Diffstat (limited to 'bin/analyze-archive.py')
-rwxr-xr-x | bin/analyze-archive.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py new file mode 100755 index 0000000..c3a1547 --- /dev/null +++ b/bin/analyze-archive.py @@ -0,0 +1,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) |