Skip to content

Commit fbe4cec

Browse files
authored
Merge pull request #5 from SpM-lab/docs/notation
Follow the sparse-ir notation, move the basic theory to sparse-ir-doc, and fix the notebooks
2 parents 5578015 + a7848f4 commit fbe4cec

26 files changed

Lines changed: 343 additions & 1198 deletions

‎_toc.yml‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@ parts:
66
#- file: src/migration.md
77
- caption: Basic theory
88
chapters:
9-
- file: src/IR_py.ipynb
10-
- file: src/sparse_sampling_py
11-
- file: src/DLR
12-
- file: src/matsubarasum
9+
- url: https://spm-lab.github.io/sparse-ir-doc/src/notation.html
10+
title: Notation and conventions
11+
- url: https://spm-lab.github.io/sparse-ir-doc/src/IR_py.html
12+
title: Intermediate representation (IR)
13+
- url: https://spm-lab.github.io/sparse-ir-doc/src/sparse_sampling_py.html
14+
title: Sparse sampling
15+
- url: https://spm-lab.github.io/sparse-ir-doc/src/DLR.html
16+
title: Discrete Lehmann representation
17+
- url: https://spm-lab.github.io/sparse-ir-doc/src/matsubarasum.html
18+
title: Summation over Matsubara axis
1319
- caption: Reference
1420
chapters:
1521
- file: src/api

‎index.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ This online document provides comprehensive tutorials of the Python library [spa
2020

2121
**For information on the whole sparse-ir ecosystem (including Rust, C-API, and Fortran bindings), please refer to [the sparse-ir documentation](https://spm-lab.github.io/sparse-ir-doc).**
2222

23+
The tutorials follow the notation defined on the [notation and conventions page](https://spm-lab.github.io/sparse-ir-doc/src/notation.html) of the sparse-ir documentation.
24+
The basic theory is explained there as well: the [intermediate representation](https://spm-lab.github.io/sparse-ir-doc/src/IR_py.html), [sparse sampling](https://spm-lab.github.io/sparse-ir-doc/src/sparse_sampling_py.html), the [discrete Lehmann representation](https://spm-lab.github.io/sparse-ir-doc/src/DLR.html), and [summation over the Matsubara axis](https://spm-lab.github.io/sparse-ir-doc/src/matsubarasum.html).
25+
2326
Please free to make a contact with the authors of each tutorial page if you have any questions!
2427

2528
## Contributors

‎src/BgG_jl.ipynb‎

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,29 @@
1414
"We consider a superconductivity in a mean-field level.\n",
1515
"\n",
1616
"## Basic theory of superconductivity in real space\n",
17-
"Let us consider a Hamiltonian for a fermion system given as $H = \\psi^{\\dagger} \\hat{\\cal H} \\psi/2$. \n",
17+
"Let us consider a Hamiltonian for a fermion system given as $H = \\psi^{\\dagger} \\boldsymbol{\\cal H} \\psi/2$. \n",
1818
"The column vector $\\psi$ is composed of $N$ fermionic annihilation $c_i$ and creation operators $c_i^{\\dagger}$ $(i = 1,2,\\cdots,N)$, $\\psi = (\\{ c_i \\}^T, \\{ c_i^{\\dagger} \\}^T)$, where $\\{ c_i \\} = (c_1,c_2,\\cdots,c_N)^T$ and $\\{ c_i^{\\dagger} \\} = (c_1^{\\dagger},c_2^{\\dagger},\\cdots,c_N^{\\dagger})$. The row vector $\\psi^{\\dagger}$ is also defined as $\\psi^{\\dagger} = (\\{c_i^{\\dagger} \\}^T, \\{ c_i \\}^T)$.\n",
19-
"The subscription $i$ in $c_i$ or $c_i^{\\dagger}$ indicates a quantum index depending on spatial site, spin, orbital, etc. The \"Hamiltonian\" matrix $\\hat{\\cal H}$ is a $2N \\times 2N$ Hermitian matrix given as \n",
19+
"The subscription $i$ in $c_i$ or $c_i^{\\dagger}$ indicates a quantum index depending on spatial site, spin, orbital, etc. The \"Hamiltonian\" matrix $\\boldsymbol{\\cal H}$ is a $2N \\times 2N$ Hermitian matrix given as \n",
2020
"\n",
2121
"$$\n",
22-
"\\hat{\\cal H} = \\left( \\begin{matrix} \\hat{H} & \\hat{\\Delta} \\\\\n",
23-
"\\hat{\\Delta}^{\\dagger} & - \\hat{H}^{\\ast}\n",
22+
"\\boldsymbol{\\cal H} = \\left( \\begin{matrix} \\boldsymbol{H} & \\boldsymbol{\\Delta} \\\\\n",
23+
"\\boldsymbol{\\Delta}^{\\dagger} & - \\boldsymbol{H}^{\\ast}\n",
2424
"\\end{matrix}\n",
2525
"\\right),\n",
2626
"$$\n",
2727
"\n",
28-
"where $\\hat{H}$ is a normal state Hamiltonian and $\\hat{\\Delta}$ is a superconducting order parameter."
28+
"where $\\boldsymbol{H}$ is a normal state Hamiltonian and $\\boldsymbol{\\Delta}$ is a superconducting order parameter."
2929
]
3030
},
3131
{
3232
"cell_type": "markdown",
3333
"id": "fd3ba213",
3434
"metadata": {},
3535
"source": [
36-
"The BdG equations are regarded as the eigenvalue equation with respect to $\\hat{\\cal H}$ expressed as \n",
36+
"The BdG equations are regarded as the eigenvalue equation with respect to $\\boldsymbol{\\cal H}$ expressed as \n",
3737
"\n",
3838
"$$\n",
39-
"\\hat{\\cal H} \\vec{f}_{\\gamma} = \\epsilon_{\\gamma} \\vec{f}_{\\gamma}\n",
39+
"\\boldsymbol{\\cal H} \\vec{f}_{\\gamma} = \\epsilon_{\\gamma} \\vec{f}_{\\gamma}\n",
4040
"$$\n",
4141
"\n",
4242
"$$\n",
@@ -48,10 +48,10 @@
4848
"$$\n",
4949
"\n",
5050
"The column vectors $\\vec{u}_{\\gamma}$ and $\\vec{v}_{\\gamma}$ are $N$-component complex vetors. \n",
51-
"To solve the BdG equations is equivalent to diagonalization of $\\hat{\\cal H}$ with a unitary matrix $\\hat{U}$, \n",
51+
"To solve the BdG equations is equivalent to diagonalization of $\\boldsymbol{\\cal H}$ with a unitary matrix $\\boldsymbol{U}$, \n",
5252
"\n",
5353
"$$\n",
54-
"\\hat{U}^{\\dagger} \\hat{\\cal H} \\hat{U} = \\hat{D}, \\: \\: \\: \\hat{D} = {\\rm diag} (\\epsilon_1,\\epsilon_2,\\cdots,\\epsilon_{2N})\n",
54+
"\\boldsymbol{U}^{\\dagger} \\boldsymbol{\\cal H} \\boldsymbol{U} = \\boldsymbol{D}, \\: \\: \\: \\boldsymbol{D} = {\\rm diag} (\\epsilon_1,\\epsilon_2,\\cdots,\\epsilon_{2N})\n",
5555
"$$"
5656
]
5757
},
@@ -64,24 +64,24 @@
6464
"In the mean-field framework, the $2N \\times 2N$ matrix Green's function with a complex frequency is defined as \n",
6565
"\n",
6666
"$$\n",
67-
"\\hat{G}(z) = [z \\hat{I} - \\hat{\\cal H}]^{-1}.\n",
67+
"\\boldsymbol{G}(z) = [z \\boldsymbol{I} - \\boldsymbol{\\cal H}]^{-1}.\n",
6868
"$$\n",
6969
"\n",
70-
"With the unitary matrix $\\hat{U}$, each component of $\\hat{G}(z)$ is epressed as \n",
70+
"With the unitary matrix $\\boldsymbol{U}$, each component of $\\boldsymbol{G}(z)$ is epressed as \n",
7171
"\n",
7272
"$$\n",
7373
"G_{\\alpha \\beta}(z) = \\sum_{\\gamma=1}^{2N} U_{\\alpha \\gamma} U_{\\beta \\gamma}^{\\ast} \\frac{1}{z - \\epsilon_{\\gamma}}\n",
7474
"$$\n",
7575
"\n",
76-
"If we set $z = i \\omega_n$ with the Matsubara frequency $\\omega_n = (2n+1)\\pi T$, the above formula corresponds to Matsubara temperature Green's function. \n",
76+
"If we set $z = \\mathrm{i}\\nu$ with the fermionic Matsubara frequency $\\nu = n\\pi T$ (odd $n$), the above formula corresponds to Matsubara temperature Green's function. \n",
7777
"The regarded and advanced Green's functions are, respectively, defined as \n",
7878
"\n",
7979
"$$\n",
80-
"\\hat{G}^{\\rm R}(\\omega) = \\lim_{\\tau \\rightarrow 0+} \\hat{G}(\\omega + i \\eta)\n",
80+
"\\boldsymbol{G}^{\\rm R}(\\omega) = \\lim_{\\eta \\rightarrow 0^+} \\boldsymbol{G}(\\omega + \\mathrm{i} \\eta)\n",
8181
"$$\n",
8282
"\n",
8383
"$$\n",
84-
"\\hat{G}^{\\rm A}(\\omega) = \\lim_{\\tau \\rightarrow 0+} \\hat{G}(\\omega - i \\eta)\n",
84+
"\\boldsymbol{G}^{\\rm A}(\\omega) = \\lim_{\\eta \\rightarrow 0^+} \\boldsymbol{G}(\\omega - \\mathrm{i} \\eta)\n",
8585
"$$\n",
8686
"\n",
8787
"In order to obtain physical quantities (e.g., density of states) from Green's functions, we introduce the following useful $2N$-component unit-vectors $\\vec{e}(i)$ and $\\vec{h}(i)$ $(1 \\le i \\le N)$, which are, respectively, defined as\n",
@@ -93,23 +93,23 @@
9393
"For example, the local density of states with respect to the site $i$ is given as \n",
9494
"\n",
9595
"$$\n",
96-
"N(\\omega,i) = -\\frac{1}{2\\pi i} \\vec{e}(i)^T \\hat{d}(\\omega) \\vec{e}(i),\n",
96+
"N(\\omega,i) = -\\frac{1}{2\\pi \\mathrm{i}} \\vec{e}(i)^T \\boldsymbol{d}(\\omega) \\vec{e}(i),\n",
9797
"$$\n",
9898
"\n",
99-
"with the use of the spectral function $\\hat{d}(\\omega)$ defined as \n",
99+
"with the use of the spectral function $\\boldsymbol{d}(\\omega)$ defined as \n",
100100
"\n",
101101
"$$\n",
102-
"[\\hat{d}(\\omega)]_{\\alpha \\beta} \\equiv [\\hat{G}^{\\rm R}(\\omega) - \\hat{G}^{\\rm A}(\\omega)]_{\\alpha \\beta} = - 2\\pi i \\sum_{\\gamma=1}^{2N} U_{\\alpha \\gamma} U_{\\beta \\gamma}^{\\ast} \\delta(\\omega - \\epsilon_{\\gamma})\n",
102+
"[\\boldsymbol{d}(\\omega)]_{\\alpha \\beta} \\equiv [\\boldsymbol{G}^{\\rm R}(\\omega) - \\boldsymbol{G}^{\\rm A}(\\omega)]_{\\alpha \\beta} = - 2\\pi \\mathrm{i} \\sum_{\\gamma=1}^{2N} U_{\\alpha \\gamma} U_{\\beta \\gamma}^{\\ast} \\delta(\\omega - \\epsilon_{\\gamma})\n",
103103
"$$\n",
104104
"\n",
105105
"Two types of mean-fields $\\langle c_i^{\\dagger} c_j \\rangle$ and $\\langle c_i c_j \\rangle$ can be expressed as \n",
106106
"\n",
107107
"$$\n",
108-
"\\langle c_i^{\\dagger} c_j \\rangle = - \\frac{1}{2 \\pi i} \\int_{-\\infty}^{\\infty} d\\omega f(\\omega) \\vec{e}(j)^T \\hat{d}(\\omega) \\vec{e}(i), \n",
108+
"\\langle c_i^{\\dagger} c_j \\rangle = - \\frac{1}{2 \\pi \\mathrm{i}} \\int_{-\\infty}^{\\infty} d\\omega f(\\omega) \\vec{e}(j)^T \\boldsymbol{d}(\\omega) \\vec{e}(i), \n",
109109
"$$\n",
110110
"\n",
111111
"$$\n",
112-
"\\langle c_i c_j \\rangle = - \\frac{1}{2 \\pi i} \\int_{-\\infty}^{\\infty} d\\omega f(\\omega) \\vec{e}(j)^T \\hat{d}(\\omega) \\vec{h}(i), \n",
112+
"\\langle c_i c_j \\rangle = - \\frac{1}{2 \\pi \\mathrm{i}} \\int_{-\\infty}^{\\infty} d\\omega f(\\omega) \\vec{e}(j)^T \\boldsymbol{d}(\\omega) \\vec{h}(i), \n",
113113
"$$\n",
114114
"\n",
115115
"with $f(x) \\equiv 1/(e^{x/T} + 1)$."
@@ -124,23 +124,23 @@
124124
"With the use of the analytic continuation, the mean-fields are rewritten as \n",
125125
"\n",
126126
"$$\n",
127-
"\\langle c_i^{\\dagger} c_j \\rangle = T \\sum_{n=-\\infty}^{\\infty} \\vec{e}(j)^T \\hat{G}(i \\omega_n) \\vec{e}(i)\n",
127+
"\\langle c_i^{\\dagger} c_j \\rangle = T \\sum_{\\nu} \\vec{e}(j)^T \\boldsymbol{G}(\\mathrm{i}\\nu) \\vec{e}(i)\\, e^{\\mathrm{i}\\nu 0^+}\n",
128128
"$$\n",
129129
"\n",
130130
"$$\n",
131-
"\\langle c_i c_j \\rangle = T \\sum_{n=-\\infty}^{\\infty} \\vec{e}(j)^T \\hat{G}(i \\omega_n) \\vec{h}(i)\n",
131+
"\\langle c_i c_j \\rangle = T \\sum_{\\nu} \\vec{e}(j)^T \\boldsymbol{G}(\\mathrm{i}\\nu) \\vec{h}(i)\n",
132132
"$$\n",
133133
"\n",
134134
"By solving the linear equations defined as \n",
135135
"\n",
136136
"$$\n",
137-
"(i \\omega_n \\hat{I} - \\hat{\\cal H}) \\vec{x}(i,\\omega_n) = \\vec{h}(i), \n",
137+
"(\\mathrm{i}\\nu \\boldsymbol{I} - \\boldsymbol{\\cal H}) \\vec{x}(i,\\nu) = \\vec{h}(i), \n",
138138
"$$\n",
139139
"\n",
140140
"the superconducting mean-field is expressed as \n",
141141
"\n",
142142
"$$\n",
143-
"\\langle c_i c_j \\rangle = T \\sum_{n = - \\infty}^{\\infty} \\hat{e}(j)^T \\vec{x}(i,\\omega_n).\n",
143+
"\\langle c_i c_j \\rangle = T \\sum_{\\nu} \\vec{e}(j)^T \\vec{x}(i,\\nu).\n",
144144
"$$\n",
145145
"\n",
146146
"For example, s-wave superconducting order parameter is defined as \n",
@@ -152,7 +152,7 @@
152152
"The self-consistent cycle has the schematic form \n",
153153
"\n",
154154
"$$ \n",
155-
"\\hat{\\Delta} \\rightarrow \\hat{G}(i \\omega_n) \\rightarrow \\langle c_i c_i \\rangle \\rightarrow \\hat{\\Delta}\n",
155+
"\\boldsymbol{\\Delta} \\rightarrow \\boldsymbol{G}(\\mathrm{i}\\nu) \\rightarrow \\langle c_i c_i \\rangle \\rightarrow \\boldsymbol{\\Delta}\n",
156156
"$$"
157157
]
158158
},
@@ -174,13 +174,13 @@
174174
"The superconducting mean-fielads are expressed as \n",
175175
"\n",
176176
"$$\n",
177-
"\\langle c_i c_j \\rangle = \\vec{e}(j)^T \\hat{G}(\\tau = \\beta) \\vec{h}(i) = \\sum_{l=0}^{N_{\\rm IR}-1} U_l(\\beta) \\vec{e}(j)^T \\hat{G}_l \\vec{h}(i)\n",
177+
"\\langle c_i c_j \\rangle = \\vec{e}(j)^T \\boldsymbol{G}(\\tau = \\beta^-) \\vec{h}(i) = \\sum_{l=0}^{L-1} U_l(\\beta^-) \\vec{e}(j)^T \\boldsymbol{G}_l \\vec{h}(i)\n",
178178
"$$\n",
179179
"\n",
180180
"Since the Matsubara Green's function is expressed as \n",
181181
"\n",
182182
"$$\n",
183-
"G(i \\omega_n) = \\sum_{l=0}^{N_{\\rm IR}-1} G_l U_l(i \\omega_n),\n",
183+
"G(\\mathrm{i}\\nu) = \\sum_{l=0}^{L-1} G_l \\hat{U}_l(\\mathrm{i}\\nu),\n",
184184
"$$\n",
185185
"\n",
186186
"one can obtain $G_l$ by fitting the above equation."
@@ -202,10 +202,10 @@
202202
"The matrix form of the above Hamiltonain is expressed as \n",
203203
"\n",
204204
"$$\n",
205-
"\\hat{H} = -\\mu \\hat{I} -t (\\hat{T}_{+x} + \\hat{T}_{-x} + \\hat{T}_{+y} + \\hat{T}_{-y}),\n",
205+
"\\boldsymbol{H} = -\\mu \\boldsymbol{I} -t (\\boldsymbol{T}_{+x} + \\boldsymbol{T}_{-x} + \\boldsymbol{T}_{+y} + \\boldsymbol{T}_{-y}),\n",
206206
"$$\n",
207207
"\n",
208-
"where $\\hat{T}_{+x}$ is a hopping matrix with respect to $+x$ direction."
208+
"where $\\boldsymbol{T}_{+x}$ is a hopping matrix with respect to $+x$ direction."
209209
]
210210
},
211211
{
@@ -445,11 +445,11 @@
445445
"If one wants to use the Matsubara frequencies, one has to introduce the cutoff of the frequencies. Then the mean-fields are expressed as \n",
446446
"\n",
447447
"$$\n",
448-
"\\langle c_i c_j \\rangle = T \\sum_{n = - n_c}^{n_c} \\hat{e}(j)^T \\vec{x}(i,\\omega_n).\n",
448+
"\\langle c_i c_j \\rangle = T \\sum_{|\\nu| < \\nu_c} \\vec{e}(j)^T \\vec{x}(i,\\nu).\n",
449449
"$$\n",
450450
"\n",
451-
"Here, $n_c$ is a cutoff value. \n",
452-
"With the use of the maximum frequency $\\omega_c$, we calculate the set of Matsubara frequencies defined as"
451+
"Here, $\\nu_c$ is a cutoff value (`ωc` in the code). \n",
452+
"We calculate the set of Matsubara frequencies below the cutoff as"
453453
]
454454
},
455455
{
@@ -769,11 +769,11 @@
769769
"The Hamiltonian in momentum space is given as \n",
770770
"\n",
771771
"$$\n",
772-
"\\hat{\\cal H}(\\vec{k}) = \n",
772+
"\\boldsymbol{\\cal H}(\\vec{k}) = \n",
773773
"\\left(\n",
774774
" \\begin{matrix}\n",
775-
" h_0(\\vec{k}) & i \\Delta \\sigma_y \\\\\n",
776-
" - i \\Delta^{\\dagger} \\sigma_y & - h_0^{\\ast}(\\vec{k})\n",
775+
" h_0(\\vec{k}) & \\mathrm{i} \\Delta \\sigma_y \\\\\n",
776+
" - \\mathrm{i} \\Delta^{\\dagger} \\sigma_y & - h_0^{\\ast}(\\vec{k})\n",
777777
"\\end{matrix}\n",
778778
"\\right), \n",
779779
"$$\n",

‎src/DLR.md‎

Lines changed: 0 additions & 58 deletions
This file was deleted.

‎src/DLR_jl.ipynb‎

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
" \\rho(\\omega) = \\sum_{p=1}^L c_p \\delta(\\omega - \\bar{\\omega}_p),\n",
1717
"$$\n",
1818
"\n",
19-
"where sampling frequencies $\\{\\bar{\\omega}_1, \\cdots, \\bar{\\omega}_{L}\\}$ are chosen to the extrema of $V'_{L-1}(\\omega)$ [2].\n",
19+
"where the poles $\\{\\bar{\\omega}_1, \\cdots, \\bar{\\omega}_{L}\\}$ are the roots of $V_L(\\omega)$, the first basis function beyond the $L$ functions kept in the basis [2].\n",
2020
"In the original paper [1], a more and different systematic way of choosing poles was used.\n",
2121
"We can transform data between $\\rho_l$ and $c_p$ through the relation\n",
2222
"\n",
@@ -25,12 +25,14 @@
2525
"$$\n",
2626
"\n",
2727
"where the matrix $\\boldsymbol{V}_{lp}~[\\equiv V_l(\\bar{\\omega}_p)]$ is well-conditioned.\n",
28-
"As a result, in DLR, the Green's function is represented as\n",
28+
"As a result, in DLR, the Green's function of fermions is represented as\n",
2929
"\n",
3030
"$$\n",
31-
"G(\\mathrm{i}\\omega_n) = \\sum_{p=1}^L \\frac{c_p}{\\mathrm{i}\\omega_n - \\bar{\\omega}_p}.\n",
31+
"G(\\mathrm{i}\\nu) = \\sum_{p=1}^L \\frac{c_p}{\\mathrm{i}\\nu - \\bar{\\omega}_p},\n",
3232
"$$\n",
3333
"\n",
34+
"where $\\nu = n\\pi/\\beta$ with odd $n$ is a fermionic Matsubara frequency.\n",
35+
"\n",
3436
"[1] J. Kaye, K. Chen, O. Parcollet, Phys. Rev. B 105, 235115 (2022).<br>\n",
3537
"[2] H. Shinaoka et al., arXiv:2106.12685v2.<br>"
3638
]
@@ -43,13 +45,13 @@
4345
"We consider fermions and the semi circular DOS\n",
4446
"\n",
4547
"$$\n",
46-
"\\rho(\\omega) = \\sqrt{\\frac{2}{\\pi}} \\sqrt{1-\\omega^2}.\n",
48+
"\\rho(\\omega) = \\frac{2}{\\pi} \\sqrt{1-\\omega^2}.\n",
4749
"$$\n",
4850
"\n",
4951
"The corresponding Green's function is given by\n",
5052
"\n",
5153
"$$\n",
52-
"G(\\mathrm{i}\\omega_n) = \\int_{-1}^1 \\mathrm{d}\\omega \\frac{\\rho(\\omega)}{\\mathrm{i}\\omega_n - \\omega}.\n",
54+
"G(\\mathrm{i}\\nu) = \\int_{-1}^1 \\mathrm{d}\\omega \\frac{\\rho(\\omega)}{\\mathrm{i}\\nu - \\omega}.\n",
5355
"$$\n",
5456
"\n",
5557
"The Green's function is expanded in IR as\n",
@@ -114,7 +116,7 @@
114116
"metadata": {},
115117
"outputs": [],
116118
"source": [
117-
"rho(omega) = sqrt(1-omega^2)/sqrt(0.5*π)\n",
119+
"rho(omega) = (2/π) * sqrt(1-omega^2)\n",
118120
"\n",
119121
"omega = LinRange(-wmax, wmax, 1000)\n",
120122
"plot(omega, rho.(omega), xlabel=latexstring(\"\\\\omega\"), ylabel=latexstring(\"\\\\rho(\\\\omega)\"))"
@@ -128,7 +130,7 @@
128130
"outputs": [],
129131
"source": [
130132
"rhol = overlap(basis.v, rho)\n",
131-
"ls = collect(1:length(basis))\n",
133+
"ls = collect(0:length(basis)-1)\n",
132134
"plot(ls[1:2:end], abs.(rhol)[1:2:end], marker=:cross, yaxis=:log, ylims=(1e-5,1))"
133135
]
134136
},
@@ -213,7 +215,7 @@
213215
"plot(\n",
214216
" imag.(iv), [imag.(giv_exact), imag.(giv)], marker=[:cross :x], line=(nothing,nothing),\n",
215217
" xlabel=latexstring(\"\\\\nu\"),\n",
216-
" ylabel=latexstring(\"G(\\\\mathrm{i}\\\\omega_n)\")\n",
218+
" ylabel=latexstring(\"\\\\mathrm{Im}\\\\, G(\\\\mathrm{i}\\\\nu)\")\n",
217219
" )"
218220
]
219221
}

0 commit comments

Comments
 (0)