Skip to content

Commit 4909b83

Browse files
committed
update notebooks
1 parent 95ec522 commit 4909b83

2 files changed

Lines changed: 6 additions & 31006 deletions

File tree

example/notebook/e-ph.ipynb

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"metadata": {},
1313
"source": [
1414
"First, we calculate the overlap `<ψ_i(0)|ψ_f(Q)>` and its derivative. \n",
15+
"`ψ_i(0)` is a perturbed band-edge state, and `ψ_f(Q)` is a localized defect state at the configuration coordinate `Q` which can be calculated using `get_del_Q.py`.\n",
1516
"The electron-phonon coupling matrix element is given by \n",
1617
"`W_if = (ε_f - ε_i) d <ψ_i(0)|ψ_f(Q)> / dQ`.\n",
1718
"\n",
@@ -36,7 +37,7 @@
3637
"metadata": {},
3738
"source": [
3839
"```bash\n",
39-
"$ python get_wf.py -d 288 -b 291 -D DISP_000 -i DISP_-02 DISP_-01 DISP_001 DISP_002\n",
40+
"$ python get_wf.py -d <band_index of ψ_i> -b <band_index of ψ_f> -D <path to the initial geometry> -i <path to the deformed geometry 1> [<path to the deformed geometry 2> ...]\n",
4041
"\n",
4142
"GRID ENCUT 918.2911873931497\n",
4243
"finished making projector list\n",
@@ -68,14 +69,14 @@
6869
"source": [
6970
"## W_if calculation\n",
7071
"\n",
71-
"Use `get_del_Q.py` to get a distance between structures (`ΔQ`).\n",
72+
"Use `get_del_Q.py` to get a distance between structures (`ΔQ`) in `amu^0.5Å`. `ΔQ` is a collective variable of the mass-weighted deformation `ΔQ = ΣmΔ𝐑`.\n",
7273
"\n",
73-
"`ϵ_i` and `ϵ_f` are KS eigenvalues of the initla and final states.\n"
74+
"`ϵ_i` and `ϵ_f` are KS eigenvalues of the initial (`ψ_i(0)`) and final states (`ψ_f(Q_f)`).\n"
7475
]
7576
},
7677
{
7778
"cell_type": "code",
78-
"execution_count": 15,
79+
"execution_count": 1,
7980
"metadata": {},
8081
"outputs": [
8182
{
@@ -89,7 +90,7 @@
8990
"source": [
9091
"# using Plots\n",
9192
"# \n",
92-
"ΔQ = 0.18059526482789678 # ΔQ between DISP_000 and DISP_001\n",
93+
"ΔQ = 0.18059526482789678 # ΔQ between DISP_000 and DISP_001 in [amu^0.5Å]\n",
9394
"ϵ_f = 5.405963 # unoccupied trap\n",
9495
"ϵ_i = 6.227692 # CBM\n",
9596
"\n",
@@ -104,13 +105,6 @@
104105
"println(\"W_if_n = \", W_if_n)\n",
105106
"# plot(overlap)"
106107
]
107-
},
108-
{
109-
"cell_type": "code",
110-
"execution_count": null,
111-
"metadata": {},
112-
"outputs": [],
113-
"source": []
114108
}
115109
],
116110
"metadata": {

0 commit comments

Comments
 (0)