repESP.charges module¶
Types used to describe partial charges and higher moments
-
class
Charge[source]¶ Bases:
floatPartial (atomic) charge in units of elementary charge (e)
Parameters: value (Any) – Any value convertible to float representing the value in units of e.
-
class
AtomWithCharge(atomic_number: int, charge: repESP.charges.Charge)[source]¶ Bases:
repESP.types.AtomDataclass representing an atom with an associated partial charge
Parameters: -
atomic_number¶ See initialization parameter
-
charge¶ See initialization parameter
-
-
class
AtomWithCoordsAndCharge(atomic_number: int, coords: repESP.types.Coords, charge: repESP.charges.Charge)[source]¶ Bases:
repESP.charges.AtomWithCharge,repESP.types.AtomWithCoordsDataclass representing an atom in space, with a partial charge
Parameters: -
atomic_number¶ See initialization parameter
-
coords¶ See initialization parameter
-
charge¶ See initialization parameter
-
-
class
DipoleMomentValue[source]¶ Bases:
floatDipole moment value in atomic units (\(e\mathrm{a}_0\))
Parameters: value (Any) – Any value convertible to float representing the value in atomic units.
-
class
DipoleMoment(x: repESP.charges.DipoleMomentValue, y: repESP.charges.DipoleMomentValue, z: repESP.charges.DipoleMomentValue)[source]¶ Bases:
objectDipole moment vector described through its three components
After initialization, the parameters can be accessed as attributes.
Parameters: - x (DipoleMomentValue) – The value in the x direction
- y (DipoleMomentValue) – The value in the y direction
- z (DipoleMomentValue) – The value in the z direction
-
class
QuadrupoleMomentValue[source]¶ Bases:
floatQuadrupole moment in atomic units (\(e\mathrm{a}_0^2\))
Parameters: value (Any) – Any value convertible to float representing the value in atomic units.
-
class
QuadrupoleMoment(xx: repESP.charges.QuadrupoleMomentValue, yy: repESP.charges.QuadrupoleMomentValue, zz: repESP.charges.QuadrupoleMomentValue, xy: repESP.charges.QuadrupoleMomentValue, xz: repESP.charges.QuadrupoleMomentValue, yz: repESP.charges.QuadrupoleMomentValue)[source]¶ Bases:
objectQuadrupole moment tensor described through its six components
After initialization, the parameters can be accessed as attributes.
Parameters: - xx (QuadrupoleMomentValue) – The value in the xx direction.
- yy (QuadrupoleMomentValue) – The value in the yy direction.
- zz (QuadrupoleMomentValue) – The value in the zz direction.
- xy (QuadrupoleMomentValue) – The value in the xy direction.
- xz (QuadrupoleMomentValue) – The value in the xz direction.
- yz (QuadrupoleMomentValue) – The value in the yz direction.