httk.atomistic.sites_api

The minimal canonical sites interface for httk-atomistic.

Classes

SitesAPI

Abstract base class for the canonical sites interface.

Module Contents

class httk.atomistic.sites_api.SitesAPI[source]

Bases: abc.ABC

Abstract base class for the canonical sites interface.

It declares the single reduced_coords accessor (the exact Nx3 rational FracVector of reduced coordinates) that every sites backend produces from its own native representation and every sites view builds its presentation from. This is the single interchange format; there is no pairwise conversion between backends.

property reduced_coords: httk.core.FracVector[source]
Abstractmethod: