Bands

class Bands(k_path, energy)

Band structure along a path in k-space

Attributes

k_path (Path) The path in reciprocal space along which the bands were calculated. E.g. constructed using make_path().
energy (array_like) Energy values for the bands along the path in k-space.

Methods

plot([point_labels]) Line plot of the band structure
plot_kpath([point_labels]) Quiver plot of the k-path along which the bands were computed
plot(point_labels=None, **kwargs)

Line plot of the band structure

Parameters:

point_labels : List[str]

Labels for the k_points.

**kwargs

Forwarded to plt.plot().

plot_kpath(point_labels=None, **kwargs)

Quiver plot of the k-path along which the bands were computed

Combine with Lattice.plot_brillouin_zone() to see the path in context.

Parameters:

point_labels : List[str]

Labels for the k-points.

**kwargs

Forwarded to quiver().