audio-spektralc/elitebook-8540w-280622/popravek

18 lines
302 B
Plaintext
Raw Normal View History

2022-06-28 16:28:50 +02: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()