DyLab_3D_MOT/Test_class.py

25 lines
415 B
Python
Raw Normal View History

2021-10-01 14:37:07 +02:00
# -*- coding: utf-8 -*-
"""
Created on Mon Aug 16 11:49:41 2021
@author: Joschka
"""
import matplotlib.pyplot as plt
import numpy as np
from src import B_field_calculation as bf
from src import coil_class as BC
2022-09-02 13:29:59 +02:00
# %%
2021-10-01 14:37:07 +02:00
2022-09-02 13:29:59 +02:00
res = BC.BCoil.resistivity_copper(20)
res2 = BC.BCoil.resistivity_copper(50)
l = 64 * 2*np.pi *48e-3
A = (0.25e-3)**2 * np.pi
R1 = res * l/A
print(R1)
R2 = res2 *l/A
print(R2)
2021-10-01 14:37:07 +02:00
2022-09-02 13:29:59 +02:00
print((R2-R1)/R1)