25 lines
415 B
Python
25 lines
415 B
Python
# -*- 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
|
|
|
|
|
|
# %%
|
|
|
|
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)
|
|
|
|
print((R2-R1)/R1) |