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.
Anonymous-structure and protopattern inputs use anonymous labels; protostructure inputs retain their real elemental composition at the standard conventional-cell scale.
- Parameters:
obj (Any) – The anonymous structure or protostructure to present.
**hints (Any) – Backend-selection hints.
- property amounts: tuple[tuple[str, fractions.Fraction], Ellipsis][source]¶
Return the canonical composition amounts.