httk.atomistic.models.bareprototype.label¶
Eager prototype-label presentation view.
Classes¶
Present a prototype as its eager httk label string. |
Module Contents¶
- class httk.atomistic.models.bareprototype.label.BarePrototypeLabel(obj, **hints)[source]¶
Bases:
httk.atomistic.models.bareprototype.view_base.BarePrototypeViewBase,strPresent a prototype as its eager httk label string.
Any faithful render is the prototype label; the canonical prototype label is the one obtained from a normalizer-canonical prototype (for example one derived via
canonical_asu). This view renders the label with no affine-normalizer pass.- Parameters:
obj (httk.atomistic.models.bareprototype.like.BarePrototypeLike) – The prototype-like object to present.
**hints (Any) – Backend-selection hints.
- property spacegroup¶
Return the standard-setting space group of the presented prototype.
- property occupations¶
Return the class-partitioned occupations of the presented prototype.