Skip to content

Commit eacc50f

Browse files
committed
rerun notebooks
1 parent bef0b82 commit eacc50f

5 files changed

Lines changed: 339 additions & 1430 deletions

File tree

examples/finite-temperature.ipynb

Lines changed: 25 additions & 9 deletions
Large diffs are not rendered by default.

examples/time-dependent-field-current.ipynb

Lines changed: 76 additions & 661 deletions
Large diffs are not rendered by default.

getting-started/dw-pair-conversion.ipynb

Lines changed: 210 additions & 741 deletions
Large diffs are not rendered by default.

getting-started/python-basics.ipynb

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@
918918
{
919919
"data": {
920920
"text/plain": [
921-
"117"
921+
"np.int64(117)"
922922
]
923923
},
924924
"execution_count": 38,
@@ -1542,15 +1542,13 @@
15421542
},
15431543
"outputs": [
15441544
{
1545-
"data": {
1546-
"text/plain": [
1547-
"\u001b[0;31mSignature:\u001b[0m \u001b[0mmath\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msqrt\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mx\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m/\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
1548-
"\u001b[0;31mDocstring:\u001b[0m Return the square root of x.\n",
1549-
"\u001b[0;31mType:\u001b[0m builtin_function_or_method"
1550-
]
1551-
},
1552-
"metadata": {},
1553-
"output_type": "display_data"
1545+
"name": "stdout",
1546+
"output_type": "stream",
1547+
"text": [
1548+
"\u001b[0;31mSignature:\u001b[0m \u001b[0mmath\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msqrt\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mx\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m/\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
1549+
"\u001b[0;31mDocstring:\u001b[0m Return the square root of x.\n",
1550+
"\u001b[0;31mType:\u001b[0m builtin_function_or_method"
1551+
]
15541552
}
15551553
],
15561554
"source": [
@@ -1614,7 +1612,7 @@
16141612
"name": "python",
16151613
"nbconvert_exporter": "python",
16161614
"pygments_lexer": "ipython3",
1617-
"version": "3.10.12"
1615+
"version": "3.11.9"
16181616
},
16191617
"widgets": {
16201618
"application/vnd.jupyter.widget-state+json": {

getting-started/unit-converter.ipynb

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,22 @@
4444
"name": "stdout",
4545
"output_type": "stream",
4646
"text": [
47-
"Requirement already satisfied: astropy in /home/zulfigak/anaconda3/envs/ubermagdev3/lib/python3.8/site-packages (5.2.2)\n",
48-
"Requirement already satisfied: numpy>=1.20 in /home/zulfigak/anaconda3/envs/ubermagdev3/lib/python3.8/site-packages (from astropy) (1.24.4)\n",
49-
"Requirement already satisfied: pyerfa>=2.0 in /home/zulfigak/anaconda3/envs/ubermagdev3/lib/python3.8/site-packages (from astropy) (2.0.0.3)\n",
50-
"Requirement already satisfied: PyYAML>=3.13 in /home/zulfigak/anaconda3/envs/ubermagdev3/lib/python3.8/site-packages (from astropy) (6.0.1)\n",
51-
"Requirement already satisfied: packaging>=19.0 in /home/zulfigak/anaconda3/envs/ubermagdev3/lib/python3.8/site-packages (from astropy) (23.2)\n"
47+
"Collecting astropy\n",
48+
" Downloading astropy-6.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (10 kB)\n",
49+
"Requirement already satisfied: numpy>=1.23 in /home/sam/miniconda3/envs/ubermagdev311/lib/python3.11/site-packages (from astropy) (2.0.0)\n",
50+
"Collecting pyerfa>=2.0.1.1 (from astropy)\n",
51+
" Using cached pyerfa-2.0.1.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.7 kB)\n",
52+
"Collecting astropy-iers-data>=0.2024.7.1.0.34.3 (from astropy)\n",
53+
" Downloading astropy_iers_data-0.2024.8.5.0.32.23-py3-none-any.whl.metadata (5.1 kB)\n",
54+
"Requirement already satisfied: PyYAML>=3.13 in /home/sam/miniconda3/envs/ubermagdev311/lib/python3.11/site-packages (from astropy) (6.0.1)\n",
55+
"Requirement already satisfied: packaging>=19.0 in /home/sam/miniconda3/envs/ubermagdev311/lib/python3.11/site-packages (from astropy) (24.1)\n",
56+
"Downloading astropy-6.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB)\n",
57+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.2/10.2 MB\u001b[0m \u001b[31m49.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m0:01\u001b[0m\n",
58+
"\u001b[?25hDownloading astropy_iers_data-0.2024.8.5.0.32.23-py3-none-any.whl (1.9 MB)\n",
59+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.9/1.9 MB\u001b[0m \u001b[31m70.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
60+
"\u001b[?25hUsing cached pyerfa-2.0.1.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (738 kB)\n",
61+
"Installing collected packages: pyerfa, astropy-iers-data, astropy\n",
62+
"Successfully installed astropy-6.1.2 astropy-iers-data-0.2024.8.5.0.32.23 pyerfa-2.0.1.4\n"
5263
]
5364
}
5465
],
@@ -230,7 +241,7 @@
230241
"$0.001 \\; \\mathrm{m^{2}\\,A}$"
231242
],
232243
"text/plain": [
233-
"<Quantity 0.001 A m2>"
244+
"<Quantity 0.001 m2 A>"
234245
]
235246
},
236247
"execution_count": 7,
@@ -259,7 +270,7 @@
259270
{
260271
"data": {
261272
"text/plain": [
262-
"0.001"
273+
"np.float64(0.001)"
263274
]
264275
},
265276
"execution_count": 8,
@@ -978,7 +989,7 @@
978989
"name": "python",
979990
"nbconvert_exporter": "python",
980991
"pygments_lexer": "ipython3",
981-
"version": "3.8.19"
992+
"version": "3.11.9"
982993
},
983994
"widgets": {
984995
"application/vnd.jupyter.widget-state+json": {

0 commit comments

Comments
 (0)