read_scan.py 206 B

12345678910111213
  1. from struct import*
  2. import ctypes
  3. import array
  4. import numpy as np
  5. import matplotlib.pyplot as plt
  6. import time
  7. ADC = np.load("scan_data_ag2.npy")
  8. for g in range(1,8):
  9. plt.plot(ADC[g-1])
  10. plt.show()