httk.atomistic.models.bareprotostructure.label

Eager protostructure-label presentation view.

Classes

BareProtostructureLabel

Present a protostructure as its eager httk label string.

Module Contents

class httk.atomistic.models.bareprotostructure.label.BareProtostructureLabel(obj, **hints)[source]

Bases: httk.atomistic.models.bareprotostructure.view_base.BareProtostructureViewBase, str

Present a protostructure as its eager httk label string.

Any faithful render is the protostructure label; the canonical protostructure label is the one obtained from a normalizer-canonical protostructure (for example one derived via canonical_asu). This view renders the label with no affine-normalizer pass.

The unsuffixed part is the httk prototype label of the erased anonymous prototype (classes ordered by Wyckoff letters, not by element as AFLOW does), followed by : and the class species names in group order.

Parameters:
property spacegroup

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

property occupations

Return the occupied Wyckoff positions of the presented protostructure.

unview()[source]

Return the standalone bare classification.

unwrap()[source]

Return the raw object behind the backend.

Returns:

The unwrapped source object.

Return type:

Any