Skip to content

Commit 2602146

Browse files
committed
change variable name
1 parent 0e8b235 commit 2602146

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

Notebooks/Mag_Dipole.ipynb

+3-10
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"* profile_x, profile_y: x-coordinate of y-profile, y-coordinate of x-profile\n",
7676
"* h: grid interval\n",
7777
"* radii: how far the field lines expand; can plot multiple layers if given (r1, r2, ...)\n",
78-
"* Nazi: number of azimuth angles for the field line"
78+
"* Naz: number of azimuth angles for the field line"
7979
]
8080
},
8181
{
@@ -90,7 +90,7 @@
9090
"profile_y = 0. # y-coordinate of x-profile\n",
9191
"h = 0.2 # grid interval\n",
9292
"radii = (2., 5.) # how many layers of field lines for plotting\n",
93-
"Nazi = 10 # number of azimuth"
93+
"Naz = 10 # number of azimuth"
9494
]
9595
},
9696
{
@@ -107,7 +107,7 @@
107107
"outputs": [],
108108
"source": [
109109
"# get field lines\n",
110-
"linex, liney, linez = MagneticLongDipoleLine(dipoleloc,dipoledec,dipoleinc,dipoleL,radii,Nazi)\n",
110+
"linex, liney, linez = MagneticLongDipoleLine(dipoleloc,dipoledec,dipoleinc,dipoleL,radii,Naz)\n",
111111
"\n",
112112
"# get map\n",
113113
"xi, yi = np.meshgrid(np.r_[xmin:xmax+h:h], np.r_[ymin:ymax+h:h])\n",
@@ -186,13 +186,6 @@
186186
"ax.set_zlim(z-max(radii)*2, max(radii)*1.5)\n",
187187
"\n"
188188
]
189-
},
190-
{
191-
"cell_type": "code",
192-
"execution_count": null,
193-
"metadata": {},
194-
"outputs": [],
195-
"source": []
196189
}
197190
],
198191
"metadata": {

0 commit comments

Comments
 (0)