tightbinder.observables.ldos#

ldos(result, atom_index, energy, delta=0.0001)[source]#

Routine to compute the local density of states at a given energy.

Parameters:
  • result (Spectrum) – Spectrum object with the results from the diagonalization.

  • atom_index (int) – Index of the atom where we want to compute the LDOS.

  • energy (float) – Value of energy where we evaluate the LDOS.

  • delta (float) – Value of energy broadening. Defaults to 1E-4.

Returns:

Value of LDOS.