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