.. _XYZFormat:

xyz format
==========

Class: :class:`XYZFormat <dpdata.plugins.xyz.XYZFormat>`


XYZ foramt.















.. rubric:: Examples

>>> s.to("xyz", "a.xyz")


Conversions
-----------

.. _XYZFormat_from_system:

Convert from this format to System
``````````````````````````````````

.. py:function:: dpdata.System(file_name: 'FileType', fmt: Literal['xyz'] = None) -> dpdata.system.System
   :noindex:
.. py:function:: dpdata.System.from_xyz(file_name: 'FileType') -> dpdata.system.System
   :noindex:

   
Convert this format to :class:`System`.





:Returns:

    System
        converted system















.. _XYZFormat_to_system:

Convert from System to this format
``````````````````````````````````

.. py:function:: dpdata.System.to(fmt: Literal['xyz'], file_name: 'FileType')
   :noindex:
.. py:function:: dpdata.System.to_xyz(file_name: 'FileType')
   :noindex:

   
Convert :class:`System` to this format.




















.. _XYZFormat_to_labeled_system:

Convert from LabeledSystem to this format
`````````````````````````````````````````

.. py:function:: dpdata.LabeledSystem.to(fmt: Literal['xyz'], file_name: 'FileType')
   :noindex:
.. py:function:: dpdata.LabeledSystem.to_xyz(file_name: 'FileType')
   :noindex:

   
Convert :class:`LabeledSystem` to this format.


















