pengwann.interactions.AtomicInteraction.with_integrals#
- interactions.AtomicInteraction.with_integrals(energies, mu, resolve_orbitals=False, valence_count=None)#
Return a new AtomicInteraction object with integrated descriptors.
The valence_count argument may be provided in order to compute atomic charges for on-site interactions.
- Parameters:
- energies
ndarrayoffloat The discrete energies at which the density of states and all derived descriptors have been evaluated.
- mu
float The Fermi level
- resolve_orbitalsbool, optional
If True, integrate descriptors for individual WannierInteraction objects as well as the total AtomicInteraction. Defaults to False.
- valence_count
intorNone, optional The number of valence electrons associated with the interaction according to the pseudopotentials employed in the prior ab initio calculation. This is used to compute atomic charges and only really makes sense for on-site interactions. Defaults to None.
- energies
- Returns:
- interaction_with_integrals
AtomicInteraction A new AtomicInteraction object with the integrated descriptors passed to the relevant attributes.
- interaction_with_integrals