tightbinder.observables.dos#

dos(result, energy=None, delta=0.1, npoints=200)[source]#

Routine to compute the density of states from a Result object.

Parameters:
  • result (Spectrum) – Result object.

  • energy (float) – Value of energy where DoS is computed. If None, then the DoS is computed for the whole energy window of the spectrum.

  • delta (float) – Delta broadening, defaults to 0.01.

  • npoints (int) – Number of energy points to use if sampling whole DoS.

Return type:

Tuple[List[float], List[float]]

Returns:

Returns duple with values of dos, and energies where was computed.