Plots + field measurement

This commit is contained in:
Joschka Schöner 2022-09-05 17:48:47 +02:00
parent d9787c2e15
commit 18855417b9
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,17 @@
import matplotlib.pyplot as plt
import numpy as np
import matplotlib
#matplotlib.use('Qt5Agg')
from src import coil_class as BC
HH_Coil = BC.BCoil(HH = 1, distance = 54, radius = 48, layers = 8, windings = 8, wire_height = 0.5,
wire_width = 0.5, insulation_thickness = (0.546-0.5)/2, is_round = True,
winding_scheme= 2)
HH_Coil.set_R_inner(45.6)
HH_Coil.set_d_min(47.4)
HH_Coil.print_info()
HH_Coil.max_field_one_coil(5)

View File

@ -13,7 +13,7 @@ fig, axs=plt.subplots(1,3)
#plug in number of measurement points (here 35)
#save all data in a txt sheet
for k in range(0,35):
for k in range(0,10):
a=ser.readline()
data=str(a,'utf-8')