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