Skip to content

Commit 1c4f221

Browse files
Updating the calling of TB_to_sympy
1 parent 744b7b2 commit 1c4f221

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

SymPyfy Tutorial.ipynb

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@
123123
"import numpy as np\n",
124124
"import matplotlib.pyplot as plt\n",
125125
"\n",
126-
"# importing the file containing the TB_to_sympy function\n",
127-
"import TB_to_sympy\n",
128-
"from TB_to_sympy import TB_to_sympy"
126+
"# import all files from lattice in TRIQS\n",
127+
"import triqs.lattice "
129128
]
130129
},
131130
{
@@ -338,6 +337,13 @@
338337
"\n",
339338
"With a lower cutoff more hopping amplitudes are included which makes for a band structure that closely resembles the full Wannier90 band structure (which has all the hopping amplitudes present, that is, the full Wannier90 model includes all the hopping amplitudes when calculating the band energies across multiple k-paths)."
340339
]
340+
},
341+
{
342+
"cell_type": "code",
343+
"execution_count": null,
344+
"metadata": {},
345+
"outputs": [],
346+
"source": []
341347
}
342348
],
343349
"metadata": {

0 commit comments

Comments
 (0)