Dear Jacopo,
There's nothing out of the box, however the calculation is rather
straightforward. If you want to compute the LDOS of a lead at a given
energy, compute its modes (via lead.modes), then take the propagating
ones and square their sum.
Since the lead modes are normalized to carry unit current, this
procedure is sufficient. If you only wan the overall DOS, sum the
inverse velocities, as returned by the modes. Come to think of it, it
would make a lot of sense to implement density of states as a
convenience method of propagating modes. I've opened
https://gitlab.kwant-project.org/kwant/kwant/-/issues/376 ; anyone
interested?
Best,
Anton
On Thu, 16 Apr 2020 at 22:07, Jacopo Settino
Dear all, is it implemented a way to calculate the density or the density of states of a lead (defined as kwant.TranslationalSymmetry ...)? Thank you. Regards, Jacopo