DyLab_3D_MOT/Coil_geometry/HH/Untitled.ipynb

82 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2021-10-01 14:37:07 +02:00
{
"cells": [
{
"cell_type": "code",
2021-10-07 11:19:33 +02:00
"execution_count": null,
2021-10-01 14:37:07 +02:00
"id": "672091c7",
"metadata": {},
"outputs": [],
"source": [
"# -*- coding: utf-8 -*-\n",
"\"\"\"\n",
"Created on Tue Aug 24 16:24:52 2021\n",
"\n",
"@author: Joschka\n",
"\"\"\"\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"import sys\n",
"sys.path.insert(0,'..\\src')\n",
"\n",
"import coil_class_jupyter as BC\n",
"\n",
"#from IPython import get_ipython\n",
"#get_ipython().run_line_magic('matplotlib', 'qt')\n",
"#get_ipython().run_line_magic('matplotlib', 'inline')\n"
]
},
{
"cell_type": "code",
2021-10-07 11:19:33 +02:00
"execution_count": null,
2021-10-01 14:37:07 +02:00
"id": "d3a46f0f",
"metadata": {},
2021-10-07 11:19:33 +02:00
"outputs": [],
2021-10-01 14:37:07 +02:00
"source": [
"#set up axis\n",
"x = np.linspace(-50, 50, 301)\n",
"z = np.linspace(-50, 50, 301)\n",
"\n",
"#New coil\n",
"HH_Coil = BC.BCoil(HH = 1, distance = 54 ,radius = 48 , layers = 4, windings = 4, wire_height = 1, wire_width = 1)\n",
"\n",
"#Compensation Coil\n",
"HH_Coil_comp = BC.BCoil(HH = 1, distance = 54 ,radius = 37, layers = 4, windings = 4,wire_height = 1, wire_width = 1)\n",
"\n",
"\n",
"\n",
"#HH_Coil_44.B_quick_plot(I,x,z)\n"
2021-10-01 14:37:07 +02:00
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "5eef49ab",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
2021-10-07 11:19:33 +02:00
"display_name": "Python 3 (ipykernel)",
2021-10-01 14:37:07 +02:00
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
2021-10-07 11:19:33 +02:00
"version": "3.8.11"
2021-10-01 14:37:07 +02:00
}
},
"nbformat": 4,
"nbformat_minor": 5
}