Skip to main content

Python code for generation of crystal structures based on symmetry constraints.

Project description

PyXtal

Documentation Status Build Status Test Status Download Status Download Status Downloads DOI

Content

Introduction

PyXtal is an open source Python package which was initiated by Qiang Zhu and Scott Fredericks at department of Physics and Astronomy, University of Nevada Las Vegas. The goal of PyXtal project is to develop a fundamental library to allow one to design the material structure with a certain symmetry constraint. So far, the package allows for generation/manipulation of crystals, with both general and special Wyckoff positions. These structures can exported to various structural formats for further study. See the documentation for information about installation and usage.

To contribute to this project, please check How to contribute?.

Quick Start

Check the folloowing links to quickly understand how pyxtal works

Current Features

  • Random generation of atomic/molecular crystals in 3D, 2D, 1D and 0D crystals for a given symmetry group and stoichiometry
  • Molecules in special Wyckoff positions are automatically oriented to preserve the space group symmetry
  • Interfaces with Pymatgen and ASE for structural manipulation and analysis
  • Easy access to symmetry group information (e.g., Wyckoff positions, site symmetry operations)
  • X-ray diffraction analysis and its online application
  • Geometry optimization via different exploratory algorithms.

Installation

To install the code, one just needs to do

pip install pyxtal

or

pip install --upgrade git+https://github.com/qzhu2017/PyXtal.git@master

Citation

Fredericks S, Sayre D, Zhu Q*(2019) PyXtal: a Python Library for Crystal Structure Generation and Symmetry Analysis

@article{pyxtal,
    title={PyXtal: a Python Library for Crystal Structure Generation and Symmetry Analysis},
    author={Scott Fredericks and Dean Sayre and Qiang Zhu},
    year={2019},
    eprint={1911.11123},
    archivePrefix={arXiv},
    primaryClass={cond-mat.mtrl-sci}
}

How to contribute?

This is an open-source project. Its growth depends on the community. To contribute to PyXtal, you don't necessarily have to write the code. Any contributions from the following list will be helpful.

If you just want to use the code

  • Star the PyXtal project via GitHub and recommend it to your colleagues/friends
  • Open an issue to report the bug or address your wishlist
  • Suggestions to improve our documentation

If you want to join the code development

  • Fork the repository
  • Suggest and implement new functions
  • Send us the pull request

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyxtal-0.1.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyxtal-0.1.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file pyxtal-0.1.0.tar.gz.

File metadata

  • Download URL: pyxtal-0.1.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.4

File hashes

Hashes for pyxtal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4284a8b071610071d7dd44f4e397b9713855ab74208d9e3661fbfa2ce439ddac
MD5 4e90ff458965810a694baef59ba8e36a
BLAKE2b-256 423c6fb252dc31e8b651b230eef5533ca39674b6b4d48702b466b7d1a2116ef3

See more details on using hashes here.

File details

Details for the file pyxtal-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyxtal-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.4

File hashes

Hashes for pyxtal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7d2d0571912f94524311c0d5ac8c17510ff546491cf9cb341c4f785983c0a5e
MD5 a75a2b491e5481270457418198993038
BLAKE2b-256 848216a28ae447cb45a2110e198b1fc952c92d8f7b184a2094c4286ac6d2904e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page