httk.atomistic.models.protostructure.view

Lazy protostructure recognition and presentation view.

Classes

ProtostructureView

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.Protostructure

Recognize a lazy standard-setting protostructure view.

Recognition accepts optional setting, standard, transform, tolerance, and limit_denominator values 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