kwant.wraparound.
plot_2d_bands
(syst, k_x=31, k_y=31, params=None, mask_brillouin_zone=False, extend_bbox=0, file=None, show=True, dpi=None, fig_size=None, ax=None)[source]¶Plot 2D band structure of a wrapped around system.
This function is primarily useful for systems that have translational symmetry vectors that are nonorthogonal (e.g. graphene). This function will properly plot the band structure in an orthonormal basis in kspace, as opposed to in the basis of reciprocal lattice vectors (which would produce a “skewed” Brillouin zone).
If your system has orthogonal lattice vectors, you are probably better
off using kwant.plotter.spectrum
.
Parameters:  syst :
k_x, k_y : int or sequence of float, default: 31
params : dict, optional
mask_brillouin_zone : bool, default: False
extend_bbox : float, default: 0
file : string or file object, optional
show : bool, default: False
dpi : float, optional
fig_size : tuple, optional
ax :


Returns:  fig : matplotlib figure

See also
Notes
This function produces plots where the units of momentum are inverse
length. This is contrary to kwant.plotter.bands
, where the units
of momentum are inverse lattice constant.
If the lattice vectors for the symmetry of syst
are not orthogonal,
then part of the plotted band structure will be outside the first Brillouin
zone (inside the bounding box of the brillouin zone). Setting
mask_brillouin_zone=True
will cause the plot to be truncated outside of
the first Brillouin zone.