5.21.11. tools.get_dos

eminus.tools.get_dos(epsilon, wk, spin=0, npts=500, width=0.1)[source]

Calculate the total density of states.

Reference: https://gitlab.com/gpaw/gpaw/-/blob/master/gpaw/calculator.py

Parameters:
  • epsilon – Eigenenergies.

  • wk – Chemical energy or Fermi energy.

Keyword Arguments:
  • spin – Spin channel.

  • npts – Number of energy discretizations.

  • width – Gaussian width.

Returns:

Eigenenergies and DOS.