5.55. extras.viewerΒΆ

Viewer functions for Jupyter notebooks.

All necessary dependencies to use this extra can be installed with:

pip install eminus[viewer]

Note that if one wants to use Jupyter one has to install it separately.

Functions

executed_in_notebook

Check if the code runs in a notebook.

plot_bandstructure

Plot band structures.

plot_dos

Plot density of states.

view

Unified display function.

view_atoms

Display atoms with optional FODs or grid points, or even densities.

view_contour

Display contour lines of field data like electronic densities.

view_file

Display molecules and orbitals.

view_kpts

Display KPoints objects including Brillouin zones, special- and k-points.