httk.atomistic.models.cell.view¶
A view presenting any cell backend as a Cell (the class representation).
Classes¶
A view presenting an underlying cell backend as a |
Module Contents¶
- class httk.atomistic.models.cell.view.CellView(obj, **hints)[source]¶
Bases:
httk.atomistic.models.cell.view_base.CellViewBase,httk.atomistic.models.cell.cell.CellA view presenting an underlying cell backend as a
Cell.This view is a genuine
Cell, so it can be passed anywhere a Cell is accepted. Its state is built lazily on first access from the backend.- Parameters:
obj (httk.atomistic.models.cell.like.CellLike) – The cell-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