Introduction
PyXtal is an open source Python package for generating random crystal structures based on symmetry constraints. The package allows for generation of both atomic and molecular crystals, with both general and special Wyckoff positions. These structures can be output to cif files for optimization and study. The package also allows users to easily access symmetry group information. See the documentation for information about installation and usage.
Codeveloped by Qiang Zhu and Scott Fredericks at department of Physics and Astronomy, University of Nevada Las Vegas. Distributed under the MIT License.
Current Features:
- Random generation of atomic (3D, 2D, and 1D) crystals and point group clusters for a given symmetry group and stoichiometry
- Random generation of (rigid) molecular crystals (3D, 2D, and 1D), with special Wyckoff positions. Molecules in special Wyckoff positions are automatically oriented to preserve the space group symmetry
- Structure output to cif or POSCAR files via pymatgen
- Easy access to symmetry group information, including Wyckoff positions, site symmetry operations, and point group symbols
Dependencies:
Optional:
- openbabel 2.4.1 (Python bindings) (allows for additional molecule file formats)
Installation
$ pip install pyxtal
or
$ pip install --upgrade git+https://github.com/qzhu2017/PyXtal.git@master