Query
Closed this issue · 2 comments
krmtenzin commented
Is there a way to view/display Fermi surface in repeated reciprocal unit cell? I have hexagonal Billion zone and have a very tiny iso-energy surface (tiny pocket) at H point (one of the corner of the BZ). Viewing it on one BZ does not show how the full pocket looks like. Was wondering if you have command lines or something I can change in my source files to achieve this.
Thank you and best regards
utf commented
Hi @krmtenzin, there is a new feature in the version of IFermi on GitHub (will be released onto PyPi soon). You can now plot extended surfaces, although currently the additional Brillouin zone edges won't be displayed. See the following code. Specifically, the trim_to_first_bz
option:
from pymatgen.io.vasp.outputs import Vasprun
from ifermi.surface import FermiSurface
from ifermi.interpolate import FourierInterpolator
from ifermi.plot import FermiSurfacePlotter, show_plot
# load VASP calculation outputs
vr = Vasprun("vasprun.xml")
bs = vr.get_band_structure()
interpolator = FourierInterpolator(bs)
dense_bs = interpolator.interpolate_bands()
fs = FermiSurface.from_band_structure(
dense_bs,
mu=-1.2,
wigner_seitz=True,
trim_to_first_bz=False,
)
fs_plotter = FermiSurfacePlotter(fs)
plot = fs_plotter.get_plot()
show_plot(plot)
krmtenzin commented
Thank you Alex!
Karma Tenzin
Theory of Condensed Matter, Physics
Zernike Institute for Advanced Materials, University of Groningen, NL
Contact :
M: +31659373336
Email: ***@***.*** ***@***.***> / ***@***.***
***@***.***>*
…On Thu, Oct 26, 2023 at 7:15 PM Alex Ganose ***@***.***> wrote:
Closed #320 <#320> as
completed.
—
Reply to this email directly, view it on GitHub
<#320 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANMQTRBBA4DICHU53H7JML3YBKLE3AVCNFSM6AAAAAA23T2IF6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQG44DENZSGEYDOMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>