|
5 | 5 | "id": "5b8f9968",
|
6 | 6 | "metadata": {},
|
7 | 7 | "source": [
|
8 |
| - "# PlasmaPy" |
| 8 | + "# SULI Computational Workshop" |
9 | 9 | ]
|
10 | 10 | },
|
11 | 11 | {
|
|
30 | 30 | "metadata": {},
|
31 | 31 | "outputs": [],
|
32 | 32 | "source": [
|
| 33 | + "import sys\n", |
| 34 | + "\n", |
| 35 | + "if 'google.colab' in str(get_ipython()):\n", |
| 36 | + " if 'plasmapy' not in sys.modules:\n", |
| 37 | + " !pip install plasmapy==2023.5.1 requests==2.27.1\n", |
| 38 | + " \n", |
33 | 39 | "import numpy as np\n",
|
34 | 40 | "import astropy.units as u\n",
|
35 | 41 | "from astropy import constants as const\n",
|
|
931 | 937 | "metadata": {},
|
932 | 938 | "outputs": [],
|
933 | 939 | "source": [
|
934 |
| - "electron.is_category(require=\"lepton\", exclude=\"baryon\", any_of={\"boson\", \"fermion\"})" |
| 940 | + "electron.is_category(\n", |
| 941 | + " require=\"lepton\", \n", |
| 942 | + " exclude=\"baryon\", \n", |
| 943 | + " any_of={\"boson\", \"fermion\"},\n", |
| 944 | + ")" |
935 | 945 | ]
|
936 | 946 | },
|
937 | 947 | {
|
|
1129 | 1139 | "id": "0ba578e6",
|
1130 | 1140 | "metadata": {},
|
1131 | 1141 | "source": [
|
1132 |
| - "When we calculate $β$ for the photosphere, we find that it is an order of magnitude larger than 1, so plasma pressure forces are more important than magnetic tension and pressure." |
| 1142 | + "When we calculate $β$ for the photosphere, we find that it is an order of magnitude larger than $1$, so plasma pressure forces are more important than magnetic tension and pressure." |
1133 | 1143 | ]
|
1134 | 1144 | },
|
1135 | 1145 | {
|
|
1178 | 1188 | "\n",
|
1179 | 1189 | "[Magnetic reconnection] is the fundamental plasma process that converts stored magnetic energy into kinetic energy, thermal energy, and particle acceleration. Reconnection powers solar flares and is a key component of geomagnetic storms in Earth's magnetosphere. Reconnection can also degrade confinement in fusion devices such as tokamaks.\n",
|
1180 | 1190 | "\n",
|
1181 |
| - "The **inertial length** for a particle is the characteristic length scale for getting accelerated or decelerated by forces in a plasma. \n", |
| 1191 | + "The **inertial length** is the characteristic length scale for a particle to get accelerated or decelerated by electromagnetic forces in a plasma. \n", |
1182 | 1192 | "\n",
|
1183 | 1193 | "When the reconnection layer thickness is shorter than the **ion inertial length**, $d_i ≡ c/ω_{pi}$, collisionless effects and the Hall effect enable reconnection to be **fast** (Zweibel & Yamada 2009). The inner electron diffusion region has a thickness of about the **electron inertial length**, $d_e≡c/ω_{pe}$. (Here, $ω_{pi}$ and $ω_{pe}$ are the ion and electron plasma frequencies.)\n",
|
1184 | 1194 | "\n",
|
|
1367 | 1377 | "name": "python",
|
1368 | 1378 | "nbconvert_exporter": "python",
|
1369 | 1379 | "pygments_lexer": "ipython3",
|
1370 |
| - "version": "3.10.10" |
| 1380 | + "version": "3.11.3" |
1371 | 1381 | },
|
1372 | 1382 | "widgets": {
|
1373 | 1383 | "application/vnd.jupyter.widget-state+json": {
|
|
0 commit comments