From 39d716ddc7fd564bd34548e06c4002d03ad646ff Mon Sep 17 00:00:00 2001 From: Ilya Antonov Date: Sat, 1 Aug 2020 22:20:51 +0100 Subject: [PATCH] updated to diamonds --- entrypoint_cuda.ipynb | 33 +-- output/potential_minimum_diamonds.svg | 288 +++++++++++++------------- 2 files changed, 162 insertions(+), 159 deletions(-) diff --git a/entrypoint_cuda.ipynb b/entrypoint_cuda.ipynb index 09ed403..f09fb2f 100644 --- a/entrypoint_cuda.ipynb +++ b/entrypoint_cuda.ipynb @@ -1210,7 +1210,7 @@ }, { "cell_type": "code", - "execution_count": 50, + "execution_count": 89, "metadata": { "scrolled": false }, @@ -1995,7 +1995,7 @@ { "data": { "text/html": [ - "" + "" ], "text/plain": [ "" @@ -2010,7 +2010,7 @@ "Text(0.5, 0, '$\\\\varphi_l/2\\\\pi$')" ] }, - "execution_count": 50, + "execution_count": 89, "metadata": {}, "output_type": "execute_result" } @@ -2066,7 +2066,7 @@ " cb[i][j] = fig.colorbar(im[i][j], ax=ax[i][j],\n", " fraction=0.046, pad=0.04)\n", " cb[i][j].ax.set_ylabel(\n", - " r\"$\\frac{U_{min}}{E_J}$\", fontsize=12, rotation=0, ha=\"left\", labelpad=-25, y=1.15)\n", + " r\"$\\frac{U_{min}}{E_J}$\", fontsize=14, rotation=0, ha=\"left\", labelpad=-20, y=1.15)\n", " cb[i][j].set_ticks([0, 0.5, 1, 1.5, 2])\n", " else:\n", " cb[i][j] = fig.colorbar(im[i][j], ax=ax[i][j],\n", @@ -2094,16 +2094,16 @@ }, { "cell_type": "code", - "execution_count": 51, + "execution_count": 90, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 51, + "execution_count": 90, "metadata": {}, "output_type": "execute_result" } @@ -2113,9 +2113,9 @@ "phiT0 = 2 * math.acos(math.sqrt(float(ALPHA ** 2 + 1)) - ALPHA) / (2 * math.pi)\n", "phiT1 = (2 * pi - 2 *\n", " math.acos(math.sqrt(float(ALPHA ** 2 + 1)) - ALPHA)) / (2 * math.pi)\n", - "ax[0][0].scatter(float(phiT0), float(phiT0), marker='+', color='red', s=70)\n", - "ax[0][0].scatter(float(phiT1), float(phiT1), marker='+', color='red', s=70)\n", - "ax[0][0].scatter(float(0.5), float(0.5), marker='+', color='C9', s=100)" + "ax[0][0].scatter(float(phiT0), float(phiT0), marker='D', color='red', s=15)\n", + "ax[0][0].scatter(float(phiT1), float(phiT1), marker='D', color='red', s=15)\n", + "ax[0][0].scatter(float(0.5), float(0.5), marker='D', color='C9', s=15)" ] }, { @@ -2127,16 +2127,16 @@ }, { "cell_type": "code", - "execution_count": 52, + "execution_count": 91, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "" + "" ] }, - "execution_count": 52, + "execution_count": 91, "metadata": {}, "output_type": "execute_result" } @@ -2147,8 +2147,9 @@ " color='red', head_width=0.1, head_starts_at_zero=False, linewidth=0.8)\n", "ax[0][0].arrow(0.25, 0.75,\n", " 0.5, -0.5,\n", - " color='yellow', head_width=0.1, head_starts_at_zero=False, \n", - " linestyle=(2, (3,5)),linewidth=1)\n", + " color='yellow', head_width=0.12, head_starts_at_zero=False, \n", + " linestyle=(0, (2,5)),\n", + " linewidth=1)\n", "\n", "# curve2_coords = evaluate_endpoints_for_2d_phi_plus_slice(0.6, 0.2)\n", "# ax_2d.plot([curve2_coords[\"x0\"], curve2_coords[\"x1\"]],\n", @@ -2163,7 +2164,7 @@ }, { "cell_type": "code", - "execution_count": 53, + "execution_count": 92, "metadata": {}, "outputs": [], "source": [ diff --git a/output/potential_minimum_diamonds.svg b/output/potential_minimum_diamonds.svg index 81d1e83..d0530c9 100644 --- a/output/potential_minimum_diamonds.svg +++ b/output/potential_minimum_diamonds.svg @@ -26,41 +26,43 @@ L 63.017701 36 z " style="fill:none;"/> - - + - + - - + + - - + + - + - - + + - - +" style="fill:#ffff00;stroke:#ffff00;stroke-dasharray:2,5;stroke-dashoffset:0;stroke-linejoin:miter;"/> - @@ -92,58 +94,58 @@ L 63.017701 36 +" id="ma7fde63759" style="stroke:#2b2b2b;stroke-width:0.8;"/> - + - - + - - + - - + - - + @@ -151,7 +153,7 @@ L 185.744974 36 - @@ -159,10 +161,10 @@ L 185.744974 158.727273 +" id="m448553e9d3" style="stroke:#2b2b2b;stroke-width:0.8;"/> - + @@ -236,13 +238,13 @@ z - - + @@ -256,13 +258,13 @@ L 185.744974 128.045455 - - + @@ -276,13 +278,13 @@ L 185.744974 97.363636 - - + @@ -311,13 +313,13 @@ z - - + @@ -875,68 +877,68 @@ L 253.473353 36 z " style="fill:none;"/> - - + - - + - - + - - + - - + - - + @@ -944,61 +946,61 @@ L 376.200626 36 - - + - - + - - + - - + - - + @@ -1073,20 +1075,20 @@ L 63.017701 183.272727 z " style="fill:none;"/> - - + - - + @@ -1101,13 +1103,13 @@ L 63.017701 183.272727 - - + @@ -1121,13 +1123,13 @@ L 93.699519 183.272727 - - + @@ -1141,13 +1143,13 @@ L 124.381338 183.272727 - - + @@ -1161,13 +1163,13 @@ L 155.063156 183.272727 - - + @@ -1224,13 +1226,13 @@ z - - + @@ -1245,13 +1247,13 @@ L 185.744974 306 - - + @@ -1265,13 +1267,13 @@ L 185.744974 275.318182 - - + @@ -1285,13 +1287,13 @@ L 185.744974 244.636364 - - + @@ -1305,13 +1307,13 @@ L 185.744974 213.954545 - - + @@ -1419,20 +1421,20 @@ L 253.473353 183.272727 z " style="fill:none;"/> - - + - - + @@ -1447,13 +1449,13 @@ L 253.473353 183.272727 - - + @@ -1467,13 +1469,13 @@ L 284.155172 183.272727 - - + @@ -1487,13 +1489,13 @@ L 314.83699 183.272727 - - + @@ -1507,13 +1509,13 @@ L 345.518808 183.272727 - - + @@ -1539,61 +1541,61 @@ L 376.200626 183.272727 - - + - - + - - + - - + - - + @@ -1692,7 +1694,7 @@ z - - @@ -1712,10 +1714,10 @@ iVBORw0KGgoAAAANSUhEUgAAABEAAAFVCAYAAAAJ0wQ0AAAABHNCSVQICAgIfAhkiAAAAeJJREFUeJzt +" id="mfc5b5ab433" style="stroke:#2b2b2b;stroke-width:0.8;"/> - + @@ -1730,7 +1732,7 @@ L 3.5 0 - + @@ -1745,7 +1747,7 @@ L 3.5 0 - + @@ -1760,7 +1762,7 @@ L 3.5 0 - + @@ -1775,7 +1777,7 @@ L 3.5 0 - + @@ -1815,7 +1817,7 @@ z - + @@ -1847,7 +1849,7 @@ z - - - + @@ -1881,7 +1883,7 @@ iVBORw0KGgoAAAANSUhEUgAAABEAAAFVCAYAAAAJ0wQ0AAAABHNCSVQICAgIfAhkiAAAAg1JREFUeJzt - + @@ -1896,7 +1898,7 @@ iVBORw0KGgoAAAANSUhEUgAAABEAAAFVCAYAAAAJ0wQ0AAAABHNCSVQICAgIfAhkiAAAAg1JREFUeJzt - + @@ -1939,7 +1941,7 @@ z - - - + @@ -1973,7 +1975,7 @@ iVBORw0KGgoAAAANSUhEUgAAABEAAAFVCAYAAAAJ0wQ0AAAABHNCSVQICAgIfAhkiAAAAg1JREFUeJzt - + @@ -1988,7 +1990,7 @@ iVBORw0KGgoAAAANSUhEUgAAABEAAAFVCAYAAAAJ0wQ0AAAABHNCSVQICAgIfAhkiAAAAg1JREFUeJzt - + @@ -2031,7 +2033,7 @@ z - - - + @@ -2065,7 +2067,7 @@ iVBORw0KGgoAAAANSUhEUgAAABEAAAFVCAYAAAAJ0wQ0AAAABHNCSVQICAgIfAhkiAAAAg1JREFUeJzt - + @@ -2080,7 +2082,7 @@ iVBORw0KGgoAAAANSUhEUgAAABEAAAFVCAYAAAAJ0wQ0AAAABHNCSVQICAgIfAhkiAAAAg1JREFUeJzt - + @@ -2123,28 +2125,28 @@ z - + - + - + - + - + - + - + - +