audio-spektralc/elitebook-8540w/popravek

18 lines
302 B
Plaintext
Raw Normal View History

2021-02-11 12:55:34 +01:00
#!/usr/bin/python3
# brezvezno risanje popravka
import numpy as np
import matplotlib.pyplot as plt
sum = np.loadtxt("5mhz-polinom-2048tock.csv", delimiter=',')
print(sum)
f = sum[:,0]
a = sum[:,1]
print(f[4:9])
print(a[4:9])
popravek = np.max(a[4:-1])-a[4:-1]
plt.plot(f[4:-1],popravek)
plt.show()