5.6.2. sesame.observables.get_p

sesame.observables.get_p(sys, efp, v, sites)[source]

Compute the hole density on the given sites.

Parameters:

sys: Builder :

The discretized system.

efp: numpy array of floats :

Values of the hole quasi-Fermi level.

v: numpy array of floats :

Values of the electrostatic potential.

sites: list of integers :

The sites where the hole density should be computed.

Returns:

p: numpy array :