# kwant.solvers.default.ldos¶

kwant.solvers.default.ldos(sys, energy=0, args=(), check_hermiticity=True, *, params=None)[source]

Calculate the local density of states of a system at a given energy.

An alias exists for this common name: kwant.ldos.

Parameters
syskwant.system.FiniteSystem

Low level system, containing the leads and the Hamiltonian of the scattering region.

energynumber

Excitation energy at which to solve the scattering problem.

argstuple of arguments, or empty tuple

Positional arguments to pass to the function(s) which evaluate the hamiltonian matrix elements. Deprecated in favor of ‘params’ (and mutually exclusive with it).

check_hermiticitybool

Check if the Hamiltonian matrices are Hermitian.

paramsdict, optional

Dictionary of parameter names and their values. Mutually exclusive with ‘args’.

Returns
ldosa NumPy array

Local density of states at each orbital of the system.

#### Previous topic

kwant.solvers.default.wave_function

#### Next topic

kwant.solvers.common.SMatrix