httk.atomistic.models.bareprotostructure.view¶
Lazy protostructure recognition and presentation view.
Classes¶
Recognize or project a lazy Wyckoff-only classification. |
Module Contents¶
- class httk.atomistic.models.bareprotostructure.view.BareProtostructureView(obj, **hints)[source]¶
Bases:
httk.atomistic.models.bareprotostructure.view_base.BareProtostructureViewBase,httk.atomistic.models.bareprotostructure.bareprotostructure.BareProtostructureRecognize or project a lazy Wyckoff-only classification.
Existing bare values, refined classifications, plain labels, and structure-like sources are accepted. Recognition hints are retained until first field access. Projecting a refined source preserves it for view round-trips;
unview()materializes a standalone bare value without geometrical refinement.- Parameters:
obj (Any) – Classification or structure-like source.
**hints (Any) – Backend-selection and recognition hints.
- unwrap()[source]¶
Return the raw object behind the backend.
- Returns:
The unwrapped source object.
- Return type:
Any
- unview()[source]¶
Return the recognized protostructure as a standalone value.
- Returns:
The protostructure value.
- Return type:
httk.atomistic.models.bareprotostructure.bareprotostructure.BareProtostructure