diff --git a/5 B0 Mapping/1 B0 Inhomogeneities/Notebooks/Figure-5-1-1.ipynb b/5 B0 Mapping/1 B0 Inhomogeneities/Notebooks/Figure-5-1-1.ipynb index 220c400..a9fada7 100644 --- a/5 B0 Mapping/1 B0 Inhomogeneities/Notebooks/Figure-5-1-1.ipynb +++ b/5 B0 Mapping/1 B0 Inhomogeneities/Notebooks/Figure-5-1-1.ipynb @@ -20558,51 +20558,47 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" + "rgb(103,0,31)" ], [ - 0.09090909090909091, - "rgb(16, 16, 16)" + 0.1, + "rgb(178,24,43)" ], [ - 0.18181818181818182, - "rgb(38, 38, 38)" + 0.2, + "rgb(214,96,77)" ], [ - 0.2727272727272727, - "rgb(59, 59, 59)" + 0.3, + "rgb(244,165,130)" ], [ - 0.36363636363636365, - "rgb(81, 80, 80)" + 0.4, + "rgb(253,219,199)" ], [ - 0.45454545454545453, - "rgb(102, 101, 101)" + 0.5, + "rgb(247,247,247)" ], [ - 0.5454545454545454, - "rgb(124, 123, 122)" + 0.6, + "rgb(209,229,240)" ], [ - 0.6363636363636364, - "rgb(146, 146, 145)" + 0.7, + "rgb(146,197,222)" ], [ - 0.7272727272727273, - "rgb(171, 171, 170)" + 0.8, + "rgb(67,147,195)" ], [ - 0.8181818181818182, - "rgb(197, 197, 195)" - ], - [ - 0.9090909090909091, - "rgb(224, 224, 223)" + 0.9, + "rgb(33,102,172)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(5,48,97)" ] ], "type": "heatmap", @@ -30808,7 +30804,9 @@ -0.0016806237399578094, -0.0016806237399578094 ] - ] + ], + "zmax": 100, + "zmin": -100 }, { "colorbar": { @@ -30821,51 +30819,47 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" + "rgb(103,0,31)" ], [ - 0.09090909090909091, - "rgb(16, 16, 16)" + 0.1, + "rgb(178,24,43)" ], [ - 0.18181818181818182, - "rgb(38, 38, 38)" + 0.2, + "rgb(214,96,77)" ], [ - 0.2727272727272727, - "rgb(59, 59, 59)" + 0.3, + "rgb(244,165,130)" ], [ - 0.36363636363636365, - "rgb(81, 80, 80)" + 0.4, + "rgb(253,219,199)" ], [ - 0.45454545454545453, - "rgb(102, 101, 101)" + 0.5, + "rgb(247,247,247)" ], [ - 0.5454545454545454, - "rgb(124, 123, 122)" + 0.6, + "rgb(209,229,240)" ], [ - 0.6363636363636364, - "rgb(146, 146, 145)" + 0.7, + "rgb(146,197,222)" ], [ - 0.7272727272727273, - "rgb(171, 171, 170)" - ], - [ - 0.8181818181818182, - "rgb(197, 197, 195)" + 0.8, + "rgb(67,147,195)" ], [ - 0.9090909090909091, - "rgb(224, 224, 223)" + 0.9, + "rgb(33,102,172)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(5,48,97)" ] ], "type": "heatmap", @@ -41071,7 +41065,9 @@ -0.000039451261501357026, -0.000039451261501357026 ] - ] + ], + "zmax": 2, + "zmin": -2 }, { "colorbar": { @@ -41084,51 +41080,47 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" - ], - [ - 0.09090909090909091, - "rgb(16, 16, 16)" + "rgb(103,0,31)" ], [ - 0.18181818181818182, - "rgb(38, 38, 38)" + 0.1, + "rgb(178,24,43)" ], [ - 0.2727272727272727, - "rgb(59, 59, 59)" + 0.2, + "rgb(214,96,77)" ], [ - 0.36363636363636365, - "rgb(81, 80, 80)" + 0.3, + "rgb(244,165,130)" ], [ - 0.45454545454545453, - "rgb(102, 101, 101)" + 0.4, + "rgb(253,219,199)" ], [ - 0.5454545454545454, - "rgb(124, 123, 122)" + 0.5, + "rgb(247,247,247)" ], [ - 0.6363636363636364, - "rgb(146, 146, 145)" + 0.6, + "rgb(209,229,240)" ], [ - 0.7272727272727273, - "rgb(171, 171, 170)" + 0.7, + "rgb(146,197,222)" ], [ - 0.8181818181818182, - "rgb(197, 197, 195)" + 0.8, + "rgb(67,147,195)" ], [ - 0.9090909090909091, - "rgb(224, 224, 223)" + 0.9, + "rgb(33,102,172)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(5,48,97)" ] ], "type": "heatmap", @@ -51334,7 +51326,9 @@ -0.000013634896761760273, -0.000013634896761760273 ] - ] + ], + "zmax": 1, + "zmin": -1 } ], "layout": { @@ -52425,7 +52419,9 @@ " ),\n", " visible=False))\n", "fig.add_trace(go.Heatmap(z=np.rot90(fmap_hz, k=-1),\n", - " colorscale='gray',\n", + " colorscale='RdBu',\n", + " zmin=-100,\n", + " zmax=100,\n", " colorbar=dict(\n", " title=\"Hz\",\n", " titleside=\"top\",\n", @@ -52433,7 +52429,9 @@ " ),\n", " visible=False))\n", "fig.add_trace(go.Heatmap(z=np.rot90(fmap_t, k=-1),\n", - " colorscale='gray',\n", + " colorscale='RdBu',\n", + " zmin=-2,\n", + " zmax=2,\n", " colorbar=dict(\n", " title=f\"{MICRO_UNICODE}T\",\n", " titleside=\"top\",\n", @@ -52441,7 +52439,9 @@ " ),\n", " visible=False))\n", "fig.add_trace(go.Heatmap(z=np.rot90(fmap_ppm, k=-1),\n", - " colorscale='gray',\n", + " colorscale='RdBu',\n", + " zmin=-1,\n", + " zmax=1,\n", " colorbar=dict(\n", " title=\"ppm\",\n", " titleside=\"top\",\n", diff --git a/5 B0 Mapping/1 B0 Inhomogeneities/Notebooks/Figure-5-1-3.ipynb b/5 B0 Mapping/1 B0 Inhomogeneities/Notebooks/Figure-5-1-3.ipynb index bb59f69..caaca50 100644 --- a/5 B0 Mapping/1 B0 Inhomogeneities/Notebooks/Figure-5-1-3.ipynb +++ b/5 B0 Mapping/1 B0 Inhomogeneities/Notebooks/Figure-5-1-3.ipynb @@ -16727,51 +16727,47 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" + "rgb(103,0,31)" ], [ - 0.09090909090909091, - "rgb(16, 16, 16)" - ], - [ - 0.18181818181818182, - "rgb(38, 38, 38)" + 0.1, + "rgb(178,24,43)" ], [ - 0.2727272727272727, - "rgb(59, 59, 59)" + 0.2, + "rgb(214,96,77)" ], [ - 0.36363636363636365, - "rgb(81, 80, 80)" + 0.3, + "rgb(244,165,130)" ], [ - 0.45454545454545453, - "rgb(102, 101, 101)" + 0.4, + "rgb(253,219,199)" ], [ - 0.5454545454545454, - "rgb(124, 123, 122)" + 0.5, + "rgb(247,247,247)" ], [ - 0.6363636363636364, - "rgb(146, 146, 145)" + 0.6, + "rgb(209,229,240)" ], [ - 0.7272727272727273, - "rgb(171, 171, 170)" + 0.7, + "rgb(146,197,222)" ], [ - 0.8181818181818182, - "rgb(197, 197, 195)" + 0.8, + "rgb(67,147,195)" ], [ - 0.9090909090909091, - "rgb(224, 224, 223)" + 0.9, + "rgb(33,102,172)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(5,48,97)" ] ], "type": "heatmap", @@ -33418,7 +33414,9 @@ 2.4500454104888054, 2.455443687791012 ] - ] + ], + "zmax": 20, + "zmin": -20 }, { "colorbar": { @@ -33431,51 +33429,47 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" - ], - [ - 0.09090909090909091, - "rgb(16, 16, 16)" + "rgb(103,0,31)" ], [ - 0.18181818181818182, - "rgb(38, 38, 38)" + 0.1, + "rgb(178,24,43)" ], [ - 0.2727272727272727, - "rgb(59, 59, 59)" + 0.2, + "rgb(214,96,77)" ], [ - 0.36363636363636365, - "rgb(81, 80, 80)" + 0.3, + "rgb(244,165,130)" ], [ - 0.45454545454545453, - "rgb(102, 101, 101)" + 0.4, + "rgb(253,219,199)" ], [ - 0.5454545454545454, - "rgb(124, 123, 122)" + 0.5, + "rgb(247,247,247)" ], [ - 0.6363636363636364, - "rgb(146, 146, 145)" + 0.6, + "rgb(209,229,240)" ], [ - 0.7272727272727273, - "rgb(171, 171, 170)" + 0.7, + "rgb(146,197,222)" ], [ - 0.8181818181818182, - "rgb(197, 197, 195)" + 0.8, + "rgb(67,147,195)" ], [ - 0.9090909090909091, - "rgb(224, 224, 223)" + 0.9, + "rgb(33,102,172)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(5,48,97)" ] ], "type": "heatmap", @@ -50122,7 +50116,9 @@ 3.354079033809404e-11, 2.0677927145307667e-11 ] - ] + ], + "zmax": 20, + "zmin": -20 }, { "colorbar": { @@ -50135,51 +50131,47 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" - ], - [ - 0.09090909090909091, - "rgb(16, 16, 16)" + "rgb(103,0,31)" ], [ - 0.18181818181818182, - "rgb(38, 38, 38)" + 0.1, + "rgb(178,24,43)" ], [ - 0.2727272727272727, - "rgb(59, 59, 59)" + 0.2, + "rgb(214,96,77)" ], [ - 0.36363636363636365, - "rgb(81, 80, 80)" + 0.3, + "rgb(244,165,130)" ], [ - 0.45454545454545453, - "rgb(102, 101, 101)" + 0.4, + "rgb(253,219,199)" ], [ - 0.5454545454545454, - "rgb(124, 123, 122)" + 0.5, + "rgb(247,247,247)" ], [ - 0.6363636363636364, - "rgb(146, 146, 145)" + 0.6, + "rgb(209,229,240)" ], [ - 0.7272727272727273, - "rgb(171, 171, 170)" + 0.7, + "rgb(146,197,222)" ], [ - 0.8181818181818182, - "rgb(197, 197, 195)" + 0.8, + "rgb(67,147,195)" ], [ - 0.9090909090909091, - "rgb(224, 224, 223)" + 0.9, + "rgb(33,102,172)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(5,48,97)" ] ], "type": "heatmap", @@ -357836,8 +357828,8 @@ 9.19 ] ], - "zmax": 0.5, - "zmin": -0.5 + "zmax": 0.1, + "zmin": -0.1 }, { "colorbar": { @@ -357850,51 +357842,51 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" + "rgb(241, 236, 236)" ], [ 0.09090909090909091, - "rgb(16, 16, 16)" + "rgb(230, 209, 203)" ], [ 0.18181818181818182, - "rgb(38, 38, 38)" + "rgb(221, 182, 170)" ], [ 0.2727272727272727, - "rgb(59, 59, 59)" + "rgb(213, 156, 137)" ], [ 0.36363636363636365, - "rgb(81, 80, 80)" + "rgb(205, 129, 103)" ], [ 0.45454545454545453, - "rgb(102, 101, 101)" + "rgb(196, 102, 73)" ], [ 0.5454545454545454, - "rgb(124, 123, 122)" + "rgb(186, 74, 47)" ], [ 0.6363636363636364, - "rgb(146, 146, 145)" + "rgb(172, 44, 36)" ], [ 0.7272727272727273, - "rgb(171, 171, 170)" + "rgb(149, 19, 39)" ], [ 0.8181818181818182, - "rgb(197, 197, 195)" + "rgb(120, 14, 40)" ], [ 0.9090909090909091, - "rgb(224, 224, 223)" + "rgb(89, 13, 31)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(60, 9, 17)" ] ], "type": "heatmap", @@ -665565,51 +665557,47 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" - ], - [ - 0.09090909090909091, - "rgb(16, 16, 16)" + "rgb(103,0,31)" ], [ - 0.18181818181818182, - "rgb(38, 38, 38)" + 0.1, + "rgb(178,24,43)" ], [ - 0.2727272727272727, - "rgb(59, 59, 59)" + 0.2, + "rgb(214,96,77)" ], [ - 0.36363636363636365, - "rgb(81, 80, 80)" + 0.3, + "rgb(244,165,130)" ], [ - 0.45454545454545453, - "rgb(102, 101, 101)" + 0.4, + "rgb(253,219,199)" ], [ - 0.5454545454545454, - "rgb(124, 123, 122)" + 0.5, + "rgb(247,247,247)" ], [ - 0.6363636363636364, - "rgb(146, 146, 145)" + 0.6, + "rgb(209,229,240)" ], [ - 0.7272727272727273, - "rgb(171, 171, 170)" + 0.7, + "rgb(146,197,222)" ], [ - 0.8181818181818182, - "rgb(197, 197, 195)" + 0.8, + "rgb(67,147,195)" ], [ - 0.9090909090909091, - "rgb(224, 224, 223)" + 0.9, + "rgb(33,102,172)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(5,48,97)" ] ], "type": "heatmap", @@ -973266,8 +973254,8 @@ 0 ] ], - "zmax": 4, - "zmin": -4 + "zmax": 10, + "zmin": -10 } ], "layout": { @@ -974278,11 +974266,11 @@ "\n", "fig = make_subplots(rows=1, cols=3, shared_xaxes=False, horizontal_spacing=0.13, vertical_spacing = 0.12, subplot_titles=(f\"Susceptibility distribution ({CHI_UNICODE})\", \"Simulated B0 map\", \"Simulated B0 map
no background field\"), specs=[[{\"type\": \"Heatmap\"}, {\"type\": \"Heatmap\"}, {\"type\": \"Heatmap\"}]])\n", "fig.add_trace(go.Heatmap(z=susc, colorscale='gray', colorbar_x=1/3 - 0.09, colorbar=dict(title=\"ppm\", titleside=\"top\")), 1, 1)\n", - "fig.add_trace(go.Heatmap(z=fmap_hz_all, colorscale='gray', colorbar_x=2/3 - 0.045, colorbar=dict(title=\"Hz\", titleside=\"top\")), 1, 2)\n", - "fig.add_trace(go.Heatmap(z=local_field_cyl, colorscale='gray', colorbar_x=1-0.004, colorbar=dict(title=\"Hz\", titleside=\"top\")), 1, 3)\n", - "fig.add_trace(go.Heatmap(z=np.rot90(susc_brain, k=-1), colorscale='gray', colorbar_x=1/3 - 0.09, zmin=-0.5, zmax=0.5, colorbar=dict(title=\"ppm\", titleside=\"top\"), visible=False), 1, 1)\n", - "fig.add_trace(go.Heatmap(z=np.rot90(fmap_hz_brain_all, k=-1), colorscale='gray', colorbar_x=2/3 - 0.045, zmin=1100, zmax=2300, colorbar=dict(title=\"Hz\", titleside=\"top\"), visible=False), 1, 2)\n", - "fig.add_trace(go.Heatmap(z=np.rot90(local_field_brain, k=-1), colorscale='gray', zmin=-4, zmax=4, colorbar_x=1-0.004, colorbar=dict(title=\"Hz\", titleside=\"top\"), visible=False), 1, 3)\n", + "fig.add_trace(go.Heatmap(z=fmap_hz_all, colorscale='RdBu', colorbar_x=2/3 - 0.045, zmin=-20, zmax=20, colorbar=dict(title=\"Hz\", titleside=\"top\")), 1, 2)\n", + "fig.add_trace(go.Heatmap(z=local_field_cyl, colorscale='RdBu', colorbar_x=1-0.004, zmin=-20, zmax=20, colorbar=dict(title=\"Hz\", titleside=\"top\")), 1, 3)\n", + "fig.add_trace(go.Heatmap(z=np.rot90(susc_brain, k=-1), colorscale='RdBu', colorbar_x=1/3 - 0.09, zmin=-0.1, zmax=0.1, colorbar=dict(title=\"ppm\", titleside=\"top\"), visible=False), 1, 1)\n", + "fig.add_trace(go.Heatmap(z=np.rot90(fmap_hz_brain_all, k=-1), colorscale='amp', colorbar_x=2/3 - 0.045, zmin=1100, zmax=2300, colorbar=dict(title=\"Hz\", titleside=\"top\"), visible=False), 1, 2)\n", + "fig.add_trace(go.Heatmap(z=np.rot90(local_field_brain, k=-1), colorscale='RdBu', zmin=-10, zmax=10, colorbar_x=1-0.004, colorbar=dict(title=\"Hz\", titleside=\"top\"), visible=False), 1, 3)\n", "\n", "### Create buttons for drop down menu\n", "labels = [\"Cylinders\", \"Brain\"]\n", diff --git a/5 B0 Mapping/2 Dual echo B0 mapping/Notebooks/Figure-5-2-3.ipynb b/5 B0 Mapping/2 Dual echo B0 mapping/Notebooks/Figure-5-2-3.ipynb index b8246b3..aa19b42 100644 --- a/5 B0 Mapping/2 Dual echo B0 mapping/Notebooks/Figure-5-2-3.ipynb +++ b/5 B0 Mapping/2 Dual echo B0 mapping/Notebooks/Figure-5-2-3.ipynb @@ -21547,13 +21547,13 @@ " # Attempt at subplots\n", " fig = make_subplots(rows=1, cols=2, shared_xaxes=False, horizontal_spacing=0.1, subplot_titles=(\"Phase difference\", \"B0 field map\"), specs=[[{\"type\": \"Heatmap\"}, {\"type\": \"Heatmap\"}]], )\n", " \n", - " fig.add_trace(go.Heatmap(z=np.rot90(phase_diff, k=-1), colorscale='gray', colorbar_x=1/n - 0.05, zmin=-math.pi, zmax=math.pi,\n", + " fig.add_trace(go.Heatmap(z=np.rot90(phase_diff, k=-1), colorscale='BrBG', colorbar_x=1/n - 0.05, zmin=-math.pi, zmax=math.pi,\n", " colorbar=dict(title=\"Rad\",\n", " titleside=\"top\",\n", " tickmode=\"array\",\n", " tickvals=[-math.pi, 0, math.pi-0.01],\n", " ticktext = [f\"-{PI_UNICODE}\", 0, f'{PI_UNICODE}'])), 1, 1)\n", - " fig.add_trace(go.Heatmap(z=np.rot90(fmap, k=-1), colorscale='gray',colorbar_x=2/n - 0.02,\n", + " fig.add_trace(go.Heatmap(z=np.rot90(fmap, k=-1), colorscale='RdBu',colorbar_x=2/n - 0.02, zmin=-150, zmax=150,\n", " colorbar=dict(title=\"Hz\",\n", " titleside=\"top\")), 1, 2)\n", " \n", @@ -21619,51 +21619,47 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" + "rgb(84,48,5)" ], [ - 0.09090909090909091, - "rgb(16, 16, 16)" + 0.1, + "rgb(140,81,10)" ], [ - 0.18181818181818182, - "rgb(38, 38, 38)" + 0.2, + "rgb(191,129,45)" ], [ - 0.2727272727272727, - "rgb(59, 59, 59)" + 0.3, + "rgb(223,194,125)" ], [ - 0.36363636363636365, - "rgb(81, 80, 80)" + 0.4, + "rgb(246,232,195)" ], [ - 0.45454545454545453, - "rgb(102, 101, 101)" + 0.5, + "rgb(245,245,245)" ], [ - 0.5454545454545454, - "rgb(124, 123, 122)" + 0.6, + "rgb(199,234,229)" ], [ - 0.6363636363636364, - "rgb(146, 146, 145)" - ], - [ - 0.7272727272727273, - "rgb(171, 171, 170)" + 0.7, + "rgb(128,205,193)" ], [ - 0.8181818181818182, - "rgb(197, 197, 195)" + 0.8, + "rgb(53,151,143)" ], [ - 0.9090909090909091, - "rgb(224, 224, 223)" + 0.9, + "rgb(1,102,94)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(0,60,48)" ] ], "type": "heatmap", @@ -31885,51 +31881,47 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" + "rgb(103,0,31)" ], [ - 0.09090909090909091, - "rgb(16, 16, 16)" - ], - [ - 0.18181818181818182, - "rgb(38, 38, 38)" + 0.1, + "rgb(178,24,43)" ], [ - 0.2727272727272727, - "rgb(59, 59, 59)" + 0.2, + "rgb(214,96,77)" ], [ - 0.36363636363636365, - "rgb(81, 80, 80)" + 0.3, + "rgb(244,165,130)" ], [ - 0.45454545454545453, - "rgb(102, 101, 101)" + 0.4, + "rgb(253,219,199)" ], [ - 0.5454545454545454, - "rgb(124, 123, 122)" + 0.5, + "rgb(247,247,247)" ], [ - 0.6363636363636364, - "rgb(146, 146, 145)" + 0.6, + "rgb(209,229,240)" ], [ - 0.7272727272727273, - "rgb(171, 171, 170)" + 0.7, + "rgb(146,197,222)" ], [ - 0.8181818181818182, - "rgb(197, 197, 195)" + 0.8, + "rgb(67,147,195)" ], [ - 0.9090909090909091, - "rgb(224, 224, 223)" + 0.9, + "rgb(33,102,172)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(5,48,97)" ] ], "type": "heatmap", @@ -42136,7 +42128,9 @@ 0, 0 ] - ] + ], + "zmax": 150, + "zmin": -150 } ], "layout": { diff --git a/5 B0 Mapping/2 Dual echo B0 mapping/Notebooks/Figure-5-2-4.ipynb b/5 B0 Mapping/2 Dual echo B0 mapping/Notebooks/Figure-5-2-4.ipynb index d31c336..a1a31ef 100644 --- a/5 B0 Mapping/2 Dual echo B0 mapping/Notebooks/Figure-5-2-4.ipynb +++ b/5 B0 Mapping/2 Dual echo B0 mapping/Notebooks/Figure-5-2-4.ipynb @@ -20969,13 +20969,13 @@ " # Attempt at subplots\n", " fig = make_subplots(rows=1, cols=2, shared_xaxes=False, horizontal_spacing=0.1, subplot_titles=(\"Phase difference\", \"B0 field map\"), specs=[[{\"type\": \"Heatmap\"}, {\"type\": \"Heatmap\"}]], )\n", " \n", - " fig.add_trace(go.Heatmap(z=np.rot90(phase_diff, k=-1), colorscale='gray', colorbar_x=1/n - 0.05, zmin=-math.pi, zmax=math.pi,\n", + " fig.add_trace(go.Heatmap(z=np.rot90(phase_diff, k=-1), colorscale='BrBG', colorbar_x=1/n - 0.05, zmin=-math.pi, zmax=math.pi,\n", " colorbar=dict(title=\"Rad\",\n", " titleside=\"top\",\n", " tickmode=\"array\",\n", " tickvals=[-math.pi, 0, math.pi-0.01],\n", " ticktext = [f\"-{PI_UNICODE}\", 0, f'{PI_UNICODE}'])), 1, 1)\n", - " fig.add_trace(go.Heatmap(z=np.rot90(fmap, k=-1), colorscale='gray',colorbar_x=2/n - 0.02,\n", + " fig.add_trace(go.Heatmap(z=np.rot90(fmap, k=-1), colorscale='RdBu',colorbar_x=2/n - 0.02, zmin=-150, zmax=150,\n", " colorbar=dict(title=\"Hz\",\n", " titleside=\"top\")), 1, 2)\n", " \n", @@ -21046,51 +21046,47 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" + "rgb(84,48,5)" ], [ - 0.09090909090909091, - "rgb(16, 16, 16)" + 0.1, + "rgb(140,81,10)" ], [ - 0.18181818181818182, - "rgb(38, 38, 38)" + 0.2, + "rgb(191,129,45)" ], [ - 0.2727272727272727, - "rgb(59, 59, 59)" + 0.3, + "rgb(223,194,125)" ], [ - 0.36363636363636365, - "rgb(81, 80, 80)" + 0.4, + "rgb(246,232,195)" ], [ - 0.45454545454545453, - "rgb(102, 101, 101)" + 0.5, + "rgb(245,245,245)" ], [ - 0.5454545454545454, - "rgb(124, 123, 122)" + 0.6, + "rgb(199,234,229)" ], [ - 0.6363636363636364, - "rgb(146, 146, 145)" - ], - [ - 0.7272727272727273, - "rgb(171, 171, 170)" + 0.7, + "rgb(128,205,193)" ], [ - 0.8181818181818182, - "rgb(197, 197, 195)" + 0.8, + "rgb(53,151,143)" ], [ - 0.9090909090909091, - "rgb(224, 224, 223)" + 0.9, + "rgb(1,102,94)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(0,60,48)" ] ], "type": "heatmap", @@ -31006,51 +31002,47 @@ "colorscale": [ [ 0, - "rgb(0, 0, 0)" + "rgb(103,0,31)" ], [ - 0.09090909090909091, - "rgb(16, 16, 16)" - ], - [ - 0.18181818181818182, - "rgb(38, 38, 38)" + 0.1, + "rgb(178,24,43)" ], [ - 0.2727272727272727, - "rgb(59, 59, 59)" + 0.2, + "rgb(214,96,77)" ], [ - 0.36363636363636365, - "rgb(81, 80, 80)" + 0.3, + "rgb(244,165,130)" ], [ - 0.45454545454545453, - "rgb(102, 101, 101)" + 0.4, + "rgb(253,219,199)" ], [ - 0.5454545454545454, - "rgb(124, 123, 122)" + 0.5, + "rgb(247,247,247)" ], [ - 0.6363636363636364, - "rgb(146, 146, 145)" + 0.6, + "rgb(209,229,240)" ], [ - 0.7272727272727273, - "rgb(171, 171, 170)" + 0.7, + "rgb(146,197,222)" ], [ - 0.8181818181818182, - "rgb(197, 197, 195)" + 0.8, + "rgb(67,147,195)" ], [ - 0.9090909090909091, - "rgb(224, 224, 223)" + 0.9, + "rgb(33,102,172)" ], [ 1, - "rgb(254, 254, 253)" + "rgb(5,48,97)" ] ], "type": "heatmap", @@ -40951,7 +40943,9 @@ 0, 0 ] - ] + ], + "zmax": 150, + "zmin": -150 } ], "layout": {