Skip to content

Commit 91d1216

Browse files
committed
Minor synchronization in TwoParticleResponse notebooks
1 parent a5b5efc commit 91d1216

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

TwoParticleResponse/01-Fermi_surface_nesting.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,9 @@
382382
"e = np.linspace(-4., 4.)\n",
383383
"f = lambda e : 1/(1 + np.exp(beta * e))\n",
384384
"plt.plot(e, f(e))\n",
385-
"plt.xlabel(r'$\\epsilon$'); plt.ylabel(r'$f(\\epsilon)$'); plt.grid(True);"
385+
"plt.xlabel(r'$\\epsilon$')\n",
386+
"plt.ylabel(r'$f(\\epsilon)$')\n",
387+
"plt.grid(True)"
386388
]
387389
}
388390
],
@@ -411,4 +413,4 @@
411413
},
412414
"nbformat": 4,
413415
"nbformat_minor": 4
414-
}
416+
}

TwoParticleResponse/05-TPSC_MerminWagner.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
" return chi_wk\n",
138138
"\n",
139139
"def trace_chi(chi_wk):\n",
140-
" \"\"\"Compute the sum, \\sum_k \\sum_\\nu \\chi(k,\\nu)\"\"\" \n",
140+
" r\"\"\"Compute the sum, \\sum_k \\sum_\\nu \\chi(k,\\nu)\"\"\" \n",
141141
" wmesh, kmesh = chi_wk.mesh.components\n",
142142
" chi_w = Gf(mesh=wmesh, target_shape=[])\n",
143143
" chi_w.data[:] = np.sum(np.squeeze(chi_wk.data), axis=1) / len(kmesh)\n",
@@ -342,4 +342,4 @@
342342
},
343343
"nbformat": 4,
344344
"nbformat_minor": 4
345-
}
345+
}

0 commit comments

Comments
 (0)