Coverage for /builds/ase/ase/ase/calculators/polarizability.py : 80.00%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1from abc import ABC, abstractmethod
4class StaticPolarizabilityCalculator(ABC):
5 @abstractmethod
6 def __call__(self, atoms, *args, **kwargs):
7 """Calculate the polarizability tensor
9 atoms: Atoms object
11 Returns:
12 Polarizabilty tensor (3x3 matrix) in units (e^2 Angstrom^2 / eV)
13 Can be multiplied by Bohr * Ha to get (Angstrom^3)
14 """
15 pass