httk.atomistic.models.sites.numeric_view ======================================== .. py:module:: httk.atomistic.models.sites.numeric_view .. autoapi-nested-parse:: A view presenting any sites backend as a NumericSites object (the plain-numpy presentation). Classes ------- .. autoapisummary:: httk.atomistic.models.sites.numeric_view.SitesNumericView Module Contents --------------- .. py:class:: SitesNumericView(obj, **hints) Bases: :py:obj:`httk.atomistic.models.sites.view_base.SitesViewBase`, :py:obj:`httk.atomistic.models.sites.numeric.NumericSites` A view presenting an underlying sites backend as a ``NumericSites`` object. This view is a genuine ``NumericSites``, so it can be passed anywhere one is accepted. Its exact ``Sites`` is built lazily from the backend on first access. Like a ``NumericSites`` it requires numpy (raising :class:`ImportError` otherwise). :param obj: The sites-like object to present. :param \**hints: Backend-selection hints. .. py:method:: unwrap() Return the raw object behind the backend. :return: The unwrapped source object. .. py:method:: unview() Return this presentation as standalone numeric sites. :return: The plain-numpy presentation.