Coverage for ase / calculators / polarizability.py: 100.00%
4 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-30 08:22 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-30 08:22 +0000
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 -------
13 Polarizabilty tensor (3x3 matrix) in units (e^2 Angstrom^2 / eV)
14 Can be multiplied by Bohr * Ha to get (Angstrom^3)
15 """