httk.atomistic.models.protostructure.view¶
Lazy protostructure recognition and presentation view.
Classes¶
Recognize a lazy standard-setting protostructure view. |
Module Contents¶
- class httk.atomistic.models.protostructure.view.ProtostructureView(obj, **hints)[source]¶
Bases:
httk.atomistic.models.protostructure.view_base.ProtostructureViewBase,httk.atomistic.models.protostructure.protostructure.ProtostructureRecognize a lazy standard-setting protostructure view.
Recognition accepts optional
setting,standard,transform,tolerance, andlimit_denominatorvalues through the recognition hints.- Parameters:
obj (Any) – The structure-like or protostructure-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.protostructure.protostructure.Protostructure