httk.atomistic.models.bareprototype.label

Eager prototype-label presentation view.

Classes

BarePrototypeLabel

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, str

Present 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:
property spacegroup

Return the standard-setting space group of the presented prototype.

property occupations

Return the class-partitioned occupations of the presented prototype.

unview()[source]

Return the standalone bare classification.

unwrap()[source]

Return the raw object behind the backend.

Returns:

The unwrapped source object.

Return type:

Any