{ "cells": [ { "cell_type": "code", "execution_count": null, "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", "execution_count": null, "id": "d3a46f0f", "metadata": {}, "outputs": [], "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.Bz_plot_HH(I,x,z)\n" ] }, { "cell_type": "code", "execution_count": null, "id": "5eef49ab", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "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", "version": "3.8.11" } }, "nbformat": 4, "nbformat_minor": 5 }