Skip to main content

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

Project description

PyXtal

Documentation Status Test Status Download Status Download Status Downloads DOI Gitter

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 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 following links to quickly understand how pyxtal works

Current Features

  • Generation of atomic structures for a given symmetry and stoichiometry (0-3D)
  • Generation of molecular crystals (1-3D) with the support of special Wyckoff positions.
  • Internal support of cif file and many other formats via pymatgen or ASE.
  • Easy access to symmetry information (e.g., Wyckoff, site symmetry and international symbols).
  • X-ray diffraction analysis and its online application
  • Structural manipulation via symmetry constraint (group-subgroup relation)
  • Geometry optimization from built-in and external optimization methods.

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, Parrish K, Sayre D, Zhu Q*(2019) PyXtal: a Python Library for Crystal Structure Generation and Symmetry Analysis

arXiv link

@article{pyxtal,
title = "PyXtal: A Python library for crystal structure generation and symmetry analysis",
journal = "Computer Physics Communications",
volume = "261",
pages = "107810",
year = "2021",
issn = "0010-4655",
doi = "https://doi.org/10.1016/j.cpc.2020.107810",
url = "http://www.sciencedirect.com/science/article/pii/S0010465520304057",
author = "Scott Fredericks and Kevin Parrish and Dean Sayre and Qiang Zhu",
}

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.8.tar.gz (1.5 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.8-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyxtal-0.1.8.tar.gz
  • Upload date:
  • Size: 1.5 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.8.tar.gz
Algorithm Hash digest
SHA256 896aeaf3b305e97d6d42b697e6cb7dfa0a832582664b943008f1ef7be6ba96c7
MD5 a5329ab74419e0803c12cc46602bfcfb
BLAKE2b-256 b534852df70c7c506a06245e82f9a8d1b989731bb94729e09c7f17aeb3fc86eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyxtal-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 1.8 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5b8034178dbc890e05447cdfbd0a47a02113a64a06cb7f502e14f37d330575ed
MD5 b4520e347e5ec047afabfec57128cde9
BLAKE2b-256 e9b010f429e0044c2fb81ad958dfebae125fd41548e1b8c75617732e732cef66

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