httk.atomistic.models.crystalpattern.view¶
Lazy anonymous-structure presentation view.
Classes¶
Present an anonymous or ordinary structure lazily as an anonymous structure. |
Module Contents¶
- class httk.atomistic.models.crystalpattern.view.CrystalPatternView(obj, **hints)[source]¶
Bases:
httk.atomistic.models.crystalpattern.view_base.CrystalPatternViewBase,httk.atomistic.models.crystalpattern.crystalpattern.CrystalPatternPresent an anonymous or ordinary structure lazily as an anonymous structure.
- Parameters:
obj (Any) – The anonymous-structure-like or structure-like object to present.
**hints (Any) – Backend-selection hints.
- unwrap()[source]¶
Return the raw object behind the backend.
- Returns:
The unwrapped source object.
- Return type:
Any
- unview()[source]¶
Return the presented structure as a standalone value.
- Returns:
The anonymous structure value.
- Return type:
httk.atomistic.models.crystalpattern.crystalpattern.CrystalPattern