Skip to content

Commit

Permalink
Remove jupyter magic
Browse files Browse the repository at this point in the history
  • Loading branch information
ColwynGulliford committed Oct 7, 2024
1 parent be11443 commit 862b927
Showing 1 changed file with 40 additions and 46 deletions.
86 changes: 40 additions & 46 deletions docs/examples/fields/corrector_modeling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,7 @@
"import numpy as np\n",
"from scipy.constants import mu_0, pi\n",
"\n",
"from pmd_beamphysics.fields.corrector_modeling import make_dipole_corrector_fieldmesh \n",
"\n",
"%matplotlib inline\n",
"%config InlineBackend.figure_format = 'retina'\n",
"\n",
"%load_ext autoreload\n",
"%autoreload 2"
"from pmd_beamphysics.fields.corrector_modeling import make_dipole_corrector_fieldmesh "
]
},
{
Expand Down Expand Up @@ -293,7 +287,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 9,
"id": "cf705194-784b-4185-ad13-29b99d41fa6b",
"metadata": {},
"outputs": [],
Expand All @@ -311,7 +305,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 10,
"id": "c70c47b3-1597-4b71-b3d5-7d01d30ce75e",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -353,7 +347,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 11,
"id": "bbb4bdfe-fa3b-48d8-a3b8-c0a3ddffc0ec",
"metadata": {},
"outputs": [],
Expand All @@ -368,7 +362,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 12,
"id": "0f5a1469-712d-40f8-adb9-8474e5c9a994",
"metadata": {},
"outputs": [
Expand All @@ -378,7 +372,7 @@
"(-1.0, 1.0)"
]
},
"execution_count": 10,
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -422,17 +416,17 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 13,
"id": "ddecadfc-592c-4c5a-adae-0d2056d75f47",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.colorbar.Colorbar at 0x16d3d5fd0>"
"<matplotlib.colorbar.Colorbar at 0x155411c70>"
]
},
"execution_count": 11,
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -472,7 +466,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 14,
"id": "be14c8f7-e917-4628-b30c-b37dd991732c",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -510,7 +504,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 15,
"id": "466ca483-0829-443b-8c61-be4465683f68",
"metadata": {},
"outputs": [
Expand All @@ -520,7 +514,7 @@
"(-0.2, 0.2)"
]
},
"execution_count": 13,
"execution_count": 15,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -559,17 +553,17 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 16,
"id": "dcd18313-3f03-4b9f-a4e7-4a3a2a197a55",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.colorbar.Colorbar at 0x16d826d90>"
"<matplotlib.colorbar.Colorbar at 0x15639bf10>"
]
},
"execution_count": 14,
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -602,17 +596,17 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 17,
"id": "6b60ee50-5a46-443a-900b-4896f29d0a9a",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.legend.Legend at 0x16d6e0f10>"
"<matplotlib.legend.Legend at 0x155445f40>"
]
},
"execution_count": 15,
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -652,7 +646,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 18,
"id": "1af7b1f4-c6ad-4eb7-ad36-6b74fb79b2a7",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -682,17 +676,17 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 19,
"id": "59fe066a-47ce-4601-9178-4424fa2b53f4",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.colorbar.Colorbar at 0x16d277670>"
"<matplotlib.colorbar.Colorbar at 0x16c0afd60>"
]
},
"execution_count": 17,
"execution_count": 19,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -725,17 +719,17 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 20,
"id": "a3f771f8-3bb5-43c6-ad0b-9f2d1c59cae2",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.legend.Legend at 0x164397370>"
"<matplotlib.legend.Legend at 0x16c051340>"
]
},
"execution_count": 18,
"execution_count": 20,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -775,7 +769,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": 21,
"id": "24eb37bd-19ab-4db0-83e4-91945118afd8",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -814,17 +808,17 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 22,
"id": "9ec67521-6ce6-443c-83eb-6c9f87df61c7",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.colorbar.Colorbar at 0x16d639670>"
"<matplotlib.colorbar.Colorbar at 0x1563a68e0>"
]
},
"execution_count": 20,
"execution_count": 22,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -856,7 +850,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 23,
"id": "0e029882-0534-49fd-880b-84f2029539db",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -896,17 +890,17 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 24,
"id": "013a5785-dc0a-4c88-8d9c-ee6ab64aad20",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.colorbar.Colorbar at 0x16daa7790>"
"<matplotlib.colorbar.Colorbar at 0x16c16bee0>"
]
},
"execution_count": 22,
"execution_count": 24,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -939,7 +933,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 25,
"id": "f7dbbcd0-327c-4cdc-9efd-0072b306b6c9",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -978,17 +972,17 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 26,
"id": "db94f838-6109-46fc-9135-eb75e9cf84a0",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.colorbar.Colorbar at 0x16dd44af0>"
"<matplotlib.colorbar.Colorbar at 0x16c4a9fa0>"
]
},
"execution_count": 24,
"execution_count": 26,
"metadata": {},
"output_type": "execute_result"
},
Expand Down Expand Up @@ -1021,17 +1015,17 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 27,
"id": "fcb98f5d-c138-4f42-8733-81cbd2dd87f7",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"<matplotlib.legend.Legend at 0x16ddf6d00>"
"<matplotlib.legend.Legend at 0x16c576280>"
]
},
"execution_count": 25,
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
},
Expand Down

0 comments on commit 862b927

Please sign in to comment.