Added øvinger

This commit is contained in:
2022-02-17 19:34:40 +01:00
parent f094dd3310
commit 948e51aec1
64 changed files with 43099 additions and 0 deletions

8193
Øvinger/Ø3/graf/0.1V1K.csv Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

8193
Øvinger/Ø3/graf/0.5V1K.csv Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

View File

@@ -0,0 +1,37 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Jan 13 16:30:58 2019
@author: oyvind
"""
import csv
import matplotlib.pyplot as plt
header = []
data = []
filename = "0.1V1K"
with open(filename + ".csv") as csvfile:
csvreader = csv.reader(csvfile)
header = next(csvreader)
for dataplot in csvreader:
values = [float(value) for value in dataplot]
data.append(values)
time = [p[0] * 1000 for p in data]
ch1 = [p[1] for p in data]
ch2 = [p[2] for p in data]
plt.plot(time,ch1, time,ch2)
plt.xlabel("Tid (ms)")
plt.ylabel("Spenning (V)")
plt.legend(["Forsterket signal","Inngangssignal"])
plt.savefig(filename + ".png", dpi=200)
plt.show()