5.6.1. sesame.observables.get_n

sesame.observables.get_n(sys, efn, v, sites)[source]

Compute the electron density on the given sites.

Parameters:

sys: Builder :

The discretized system.

efn: numpy array of floats :

Values of the electron quasi-Fermi level.

v: numpy array of floats :

Values of the electrostatic potential.

sites: list of integers :

The sites where the electron density should be computed.

Returns:

n: numpy array :