Definition of local density of states (ldos)