12 lines
187 B
Python
12 lines
187 B
Python
|
#!/bin/env python3
|
||
|
|
||
|
import numpy as np
|
||
|
import matplotlib.pyplot as plt
|
||
|
|
||
|
data = []
|
||
|
|
||
|
with open("test", "rb") as f:
|
||
|
data = np.fromfile(f, dtype=np.int16)
|
||
|
|
||
|
plt.plot(data[:10000])
|
||
|
plt.show()
|