httk.atomistic.models.prototype.prototype

The immutable anonymous geometrical-class prototype value.

Classes

Prototype

Store occupied Wyckoff positions with explicit geometrical-class information.

Module Contents

class httk.atomistic.models.prototype.prototype.Prototype(spacegroup=None, occupations=None, *, representative=None, discriminator=None, prototype=None)[source]

Bases: httk.atomistic.models.prototype.backend.PrototypeBackend

Store occupied Wyckoff positions with explicit geometrical-class information.

At least one of an exact representative or a nonempty discriminator is required. Both participate in equality and content identity. Use BarePrototype for the broader Wyckoff-only classification; recognizing a structure yields that level.

Parameters:
kind: ClassVar[str] = 'prototype'
property spacegroup: httk.atomistic.symmetry.spacegroup.Spacegroup
property occupations: tuple[httk.atomistic.models.prototype.occupation.PrototypeOccupation, ...]
property representative: httk.atomistic.models.structuretype.fundamental.FundamentalDomainTemplate | None

Return an optional retained exact representative.

property discriminator: str | None

Return an optional geometrical-class discriminator.