httk.atomistic.models.formula.wyckoff¶
Formula bridge for Wyckoff-multiplicity-based backends.
Classes¶
Represent the canonical composition of a Wyckoff-multiplicity-based backend. |
Module Contents¶
- class httk.atomistic.models.formula.wyckoff.WyckoffComposition(obj, **hints)[source]¶
Bases:
httk.atomistic.models.formula.backend.ChemicalFormulaBackendRepresent the canonical composition of a Wyckoff-multiplicity-based backend.
Structuretype and prototype inputs use anonymous labels; protostructure inputs retain their real elemental composition at the standard conventional-cell scale.
- Parameters:
obj (Any) – The structuretype or protostructure to present.
**hints (Any) – Backend-selection hints.
- kind = 'wyckoff'¶
- property amounts: tuple[tuple[str, fractions.Fraction], ...]¶
Return the canonical composition amounts.
- property uncertainties: tuple[tuple[str, fractions.Fraction | None], ...]¶
Return the composition amount precisions.
- property diagnostics¶
Return non-fatal diagnostics associated with the composition.