httk.atomistic.models.species.plain_view ======================================== .. py:module:: httk.atomistic.models.species.plain_view .. autoapi-nested-parse:: A view presenting any species backend as an OPTIMADE species dict. Classes ------- .. autoapisummary:: httk.atomistic.models.species.plain_view.PlainSpeciesView Module Contents --------------- .. py:class:: PlainSpeciesView(obj, **hints) Bases: :py:obj:`httk.atomistic.models.species.view_base.SpeciesViewBase`, :py:obj:`dict` A view presenting an underlying species backend as an OPTIMADE species dict. This view is a genuine ``dict`` carrying the OPTIMADE ``species`` fields (optional fields that are ``None`` are omitted; list-valued fields are plain lists). Unlike the immutable-subclass views, a dict is mutable, so this view is a detached copy: mutating it does not affect the underlying backend. :param obj: The species-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 the presented species as a plain mapping. :return: The detached presentation mapping.