triqs.lattice.lattice_tools.dos

triqs.lattice.lattice_tools.dos()

Dispatched C++ function(s).

[1] (TB: TightBinding, nkpts: int, neps: int)
  -> tuple[ndarray[float, 1], ndarray[float, 2]]

Compute the density of states of a tight-binding Hamiltonian on a regular k-grid.

The Brillouin zone is sampled by a regular grid of \(n_\text{kpts}^d\) momentum points (where \(d\) is the dimension of the lattice), the dispersion is diagonalised on each grid point, and the resulting band energies are histogrammed into neps bins per orbital.

Parameters:
TBTightBinding

Tight-binding Hamiltonian.

nkptsint

Number of k-points along each dimension.

nepsint

Number of energy bins.

Returns:
tuple[ndarray[float, 1], ndarray[float, 2]]

Pair (energies, dos), where energies is a 1-D array of bin centres and dos is a 2-D array of shape (n_orbitals, neps) containing one density-of-states histogram per orbital.