BrillouineZone

class aimstools.bandstructures.brillouinezone.BrillouinZone(atoms, bandpathstring: str = None, special_points: dict = None)[source]

Bases: object

Mostly taken from ase.dft.bz, just cleaned up.

bandpath
is_2d
plot(axes=None, azim=None, elev=None, **kwargs)[source]
special_points
aimstools.bandstructures.brillouinezone.pretty(kpt)[source]
aimstools.bandstructures.brillouinezone.set_axes_equal(ax)[source]

Make axes of 3D plot have equal scale so that spheres appear as spheres, cubes as cubes, etc.. This is one possible solution to Matplotlib’s ax.set_aspect(‘equal’) and ax.axis(‘equal’) not working for 3D.

Input
ax: a matplotlib axis, e.g., as output from plt.gca().