Skip to content

Commit 7bb99ed

Browse files
committed
DOC: Update dipole ipynb w prev commit change
1 parent 224a5d4 commit 7bb99ed

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

edu/examples/Dipole/MoreDipoleInfo.ipynb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 1,
5+
"execution_count": null,
66
"id": "d3792d6f-1f9b-4364-a1a8-f5d37dabdf41",
77
"metadata": {},
88
"outputs": [],
@@ -12,7 +12,7 @@
1212
"import matplotlib.pyplot as plt\n",
1313
"from matplotlib.colors import LinearSegmentedColormap\n",
1414
"\n",
15-
"save_figs = True"
15+
"save_figs = False"
1616
]
1717
},
1818
{
@@ -237,6 +237,8 @@
237237
"\n",
238238
"Where this gets complicated is that the actual values are not necessarily increasing. For example, the altitude of the ghost cells at the ends of field lines touching the equator is not increasing anymore, since the field lines begin curving back towards the center of the planet. Further, since q=0 at the equator the k-coordinate of all points in the southern hemisphere (grid cells with negative values of magnetic latitude) will have negative k-coordinates. \n",
239239
"\n",
240+
"The vertical solver does not like negative dk values, so all dk are made positive.\n",
241+
"\n",
240242
"To help illustrate this, here is a plot where the color of each point is its index along the j or k axis:"
241243
]
242244
},
@@ -296,7 +298,7 @@
296298
"id": "025f5263-732e-41f2-9a5d-fae07190afe3",
297299
"metadata": {},
298300
"source": [
299-
"Since altitude is negative in the southern hemisphere and the k-coordinate is decreasing in the northern hemisphere, the sign of the d_k distances may not be intuitive. \n",
301+
"Since altitude is negative in the southern hemisphere and the k-coordinate is decreasing in the northern hemisphere, the actual sign of the d_k distances may not be intuitive. Internally, we take the absolute value of dk.\n",
300302
"\n",
301303
"If there are any other questions, contact Aaron B and this file can be updated with more plots :)"
302304
]

0 commit comments

Comments
 (0)