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)