I want to draw a contour plot of the first Brillouin zone and band structure along the path of high symmetry points by using Kwant. In Kwant, I know that "kwant.wraparound.plot_2d_bands" function shows the Brillouin zone in 3D. I read a kwant official documentary to find the information that I want, but I couldn't find the solution.
My questions are as follows; 1) are there functions in kwant to draw 2D contour plot of the Brillouin zone and the band structure along the path of high symmetry points? 2) If it is not, could I extract data shown from kwant.wraparound.plot_2d_bands?
Thank you for reading my email.
Sincerely, Daehan Park.
===================================== Department of Physics, Soongsil University, 369, Sangdo-ro, Dongjak-gu, Seoul 156-743, Republic of Korea (South Korea) mail: email@example.com ===================================== ᐧ
dae han Park wrote:
- are there functions in kwant to draw 2D contour plot of the
Brillouin zone and the band structure along the path of high symmetry points?
The function that you found, kwant.wraparound.plot_2d_bands, is the only "intelligent" band structure plotting routine that exists in Kwant currently.
- If it is not, could I extract data shown from
There’s no way to extract local variables from a Python function call, but you can look at the source code of plot_2d_bands  and use it to your liking. For example, you could simply copy that function into a module of your own, and save the data that you find useful.