From 3a97dae868905c15e7470ef29e3a52988466dee7 Mon Sep 17 00:00:00 2001 From: "Limpt, Joeri van" Date: Thu, 18 Jan 2024 21:56:15 +0100 Subject: [PATCH] update plots --- python/comparisons/comparison_exact_lvm.svg | 516 +++++++++++--------- python/comparisons/comparison_lvm_pt.svg | 194 ++++---- python/comparisons/comparison_wf.py | 2 +- 3 files changed, 393 insertions(+), 319 deletions(-) diff --git a/python/comparisons/comparison_exact_lvm.svg b/python/comparisons/comparison_exact_lvm.svg index 45a4556..2252001 100644 --- a/python/comparisons/comparison_exact_lvm.svg +++ b/python/comparisons/comparison_exact_lvm.svg @@ -6,7 +6,7 @@ - 2024-01-18T15:38:50.163140 + 2024-01-18T21:11:01.593985 image/svg+xml @@ -42,16 +42,16 @@ z +" clip-path="url(#pa984fb5121)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - - + @@ -97,11 +97,11 @@ z +" clip-path="url(#pa984fb5121)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -143,11 +143,11 @@ z +" clip-path="url(#pa984fb5121)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -184,11 +184,11 @@ z +" clip-path="url(#pa984fb5121)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -236,11 +236,11 @@ z +" clip-path="url(#pa984fb5121)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -297,11 +297,11 @@ z +" clip-path="url(#pa984fb5121)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -438,16 +438,16 @@ z +" clip-path="url(#pa984fb5121)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - - + @@ -461,18 +461,18 @@ L -3.5 0 - + - + - + @@ -481,18 +481,18 @@ L 350.685 252.683069 - + - + - + @@ -501,18 +501,18 @@ L 350.685 213.869774 - + - + - + @@ -521,18 +521,18 @@ L 350.685 175.056479 - + - + - + @@ -541,18 +541,18 @@ L 350.685 136.243185 - + - + - + @@ -561,18 +561,18 @@ L 350.685 97.42989 - + - + - + @@ -617,85 +617,84 @@ z +" clip-path="url(#pa984fb5121)" style="fill: none; stroke: #785ef0; stroke-width: 1.5; stroke-linecap: square"/> +" clip-path="url(#p14abdaac87)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -752,11 +751,11 @@ L 420.263864 21.36 +" clip-path="url(#p14abdaac87)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -772,11 +771,11 @@ L 475.299318 21.36 +" clip-path="url(#p14abdaac87)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -792,11 +791,11 @@ L 530.334773 21.36 +" clip-path="url(#p14abdaac87)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -812,11 +811,11 @@ L 585.370227 21.36 +" clip-path="url(#p14abdaac87)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -832,11 +831,11 @@ L 640.405682 21.36 +" clip-path="url(#p14abdaac87)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -864,18 +863,18 @@ L 695.441136 21.36 - + - + - + - + - + - + - + - + - + @@ -963,18 +962,18 @@ L 709.2 159.539543 - + - + - + @@ -984,25 +983,45 @@ L 709.2 109.799519 - + - + - + - + + + + + + + + + + + + + + + + + + + @@ -1207,7 +1226,7 @@ z - + @@ -1217,63 +1236,118 @@ z - - + +L 557.935053 56.525893 +L 557.962571 63.916981 +L 558.045124 60.320359 +L 558.072642 61.987779 +L 558.155195 60.951614 +L 558.182713 61.675903 +L 558.265266 61.21005 +L 558.402855 61.636163 +L 558.430372 61.434881 +L 558.45789 61.657329 +L 558.485408 61.493706 +L 558.622996 61.744393 +L 558.650514 61.650125 +L 558.678032 61.777979 +L 558.70555 61.698269 +L 558.843138 61.885773 +L 558.870656 61.836297 +L 558.898174 61.923253 +L 558.925691 61.880856 +L 559.06328 62.038437 +L 559.145833 62.054847 +L 559.338457 62.235618 +L 559.42101 62.266745 +L 559.641152 62.433839 +L 559.888812 62.637299 +L 560.081436 62.764425 +L 560.439166 63.041335 +L 560.741861 63.255009 +L 561.264698 63.646412 +L 561.84257 64.063677 +L 562.750655 64.726908 +L 564.043989 65.654321 +L 565.97023 67.018099 +L 568.804555 68.976424 +L 577.857888 74.806854 +L 582.618455 77.59323 +L 588.314624 80.653686 +L 593.102709 82.985619 +L 597.863275 85.078808 +L 602.871502 87.032824 +L 607.769657 88.69453 +L 612.612777 90.093844 +L 617.42838 91.245568 +L 622.106393 92.138071 +L 626.811925 92.814905 +L 631.682562 93.28814 +L 636.525682 93.537341 +L 641.506391 93.573562 +L 646.707241 93.38639 +L 652.04568 92.971679 +L 657.659297 92.313285 +L 663.658161 91.385236 +L 670.20738 90.144793 +L 677.637167 88.506348 +L 686.828088 86.240878 +L 695.441136 83.993927 +L 695.441136 83.993927 +" clip-path="url(#p14abdaac87)" style="fill: none; stroke: #fe6100; stroke-width: 1.5; stroke-linecap: square"/> + - + diff --git a/python/comparisons/comparison_lvm_pt.svg b/python/comparisons/comparison_lvm_pt.svg index 56486fc..d7045a2 100644 --- a/python/comparisons/comparison_lvm_pt.svg +++ b/python/comparisons/comparison_lvm_pt.svg @@ -6,7 +6,7 @@ - 2024-01-18T16:02:42.226426 + 2024-01-18T21:55:45.215234 image/svg+xml @@ -42,16 +42,16 @@ z +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - - + @@ -104,11 +104,11 @@ z +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -150,11 +150,11 @@ z +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -204,11 +204,11 @@ z +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -245,11 +245,11 @@ z +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -292,11 +292,11 @@ z +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -401,16 +401,16 @@ z +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - - + @@ -447,11 +447,11 @@ z +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -469,11 +469,11 @@ L 348.2325 269.403836 +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -491,11 +491,11 @@ L 348.2325 238.162052 +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -554,11 +554,11 @@ z +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -576,11 +576,11 @@ L 348.2325 175.678484 +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -598,11 +598,11 @@ L 348.2325 144.4367 +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -620,11 +620,11 @@ L 348.2325 113.194916 +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -674,11 +674,11 @@ z +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -776,9 +776,9 @@ L 164.536098 272.277105 L 206.372713 272.824488 L 265.521031 273.210856 L 348.2325 273.48858 -" clip-path="url(#p0246f3d157)" style="fill: none; stroke: #dc267f; stroke-width: 1.5; stroke-linecap: square"/> +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke: #dc267f; stroke-width: 1.5; stroke-linecap: square"/> - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + +" clip-path="url(#pc06fcd3c5e)" style="fill: none; stroke: #000000; stroke-linecap: square"/> +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1130,11 +1130,11 @@ L 417.96875 25.8 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1148,11 +1148,11 @@ L 475.57825 25.8 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1166,11 +1166,11 @@ L 533.18775 25.8 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1184,11 +1184,11 @@ L 590.79725 25.8 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1202,11 +1202,11 @@ L 648.40675 25.8 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1266,11 +1266,11 @@ z +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1288,11 +1288,11 @@ L 706.01625 300.64562 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1310,11 +1310,11 @@ L 706.01625 269.403836 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1332,11 +1332,11 @@ L 706.01625 238.162052 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1354,11 +1354,11 @@ L 706.01625 206.920268 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1376,11 +1376,11 @@ L 706.01625 175.678484 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1398,11 +1398,11 @@ L 706.01625 144.4367 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1420,11 +1420,11 @@ L 706.01625 113.194916 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1442,11 +1442,11 @@ L 706.01625 81.953132 +" clip-path="url(#p699602d9c4)" style="fill: none; stroke-dasharray: 2.96,1.28; stroke-dashoffset: 0; stroke: #b0b0b0; stroke-width: 0.8"/> - + @@ -1479,9 +1479,9 @@ L 533.18775 273.47747 L 590.79725 274.155454 L 648.40675 274.185195 L 706.01625 274.17909 -" clip-path="url(#p8e62556add)" style="fill: none; stroke: #648fff; stroke-width: 1.5; stroke-linecap: square"/> +" clip-path="url(#p699602d9c4)" style="fill: none; stroke: #648fff; stroke-width: 1.5; stroke-linecap: square"/> - - - - - - - - + + + + + + + +" clip-path="url(#p699602d9c4)" style="fill: none; stroke: #000000; stroke-linecap: square"/> + - + diff --git a/python/comparisons/comparison_wf.py b/python/comparisons/comparison_wf.py index 70e5481..49ea42d 100644 --- a/python/comparisons/comparison_wf.py +++ b/python/comparisons/comparison_wf.py @@ -12,7 +12,7 @@ def main(): a = 1 V0 = 1 - npts = 501 + npts = 10001 x = np.linspace(0, a, npts) # selecting ground/excited state