pyextal.potentialMap.structure ============================== .. py:module:: pyextal.potentialMap.structure .. autoapi-nested-parse:: The crystal structure loaded in the Bloch engine, expanded to the full cell. Attributes ---------- .. autoapisummary:: pyextal.potentialMap.structure._CENTRING Classes ------- .. autoapisummary:: pyextal.potentialMap.structure.Structure Functions --------- .. autoapisummary:: pyextal.potentialMap.structure._text pyextal.potentialMap.structure.structure_from_bloch Module Contents --------------- .. py:data:: _CENTRING .. py:class:: Structure Atoms of the conventional cell. :ivar lattice: (3, 3) Cartesian lattice vectors (rows), Angstrom. :vartype lattice: np.ndarray :ivar symbols: Element of each atom. :vartype symbols: list of str :ivar frac: (n, 3) fractional coordinates in [0, 1). :vartype frac: np.ndarray :ivar numbers: (n,) atomic numbers. :vartype numbers: np.ndarray .. py:attribute:: lattice :type: numpy.ndarray .. py:attribute:: symbols :type: list .. py:attribute:: frac :type: numpy.ndarray .. py:attribute:: numbers :type: numpy.ndarray .. py:property:: atoms ``[(symbol, [x, y, z]), ...]``, the form `write_chgcar` takes. .. py:function:: _text(raw) .. py:function:: structure_from_bloch() Expands the asymmetric unit in the engine's ``cryst`` block to the full cell. Needs a ``.dat`` parsed first (`pyextal.callBloch.bloch_parse`, or `pyextal.potentialMap.setup`). :returns: Structure