Skip to main content

A Python tool for visualizing atomic systems and properties of condensed matter.

Project description

# XtraCrysPy A Python tool for visualizing atomic systems and properties of condensed matter.

Features: - Plot molecular systems with minimal setup - Plot systems from DFT input- or output- files - Interact with the system to caluclate distances, angles, or receive atomic information - Display relaxation steps from QE relax output files - Display reciprocal space features - Plot real space iso-surfaces (charge density, etc) - Plot reciprocal iso-surfaces (Fermi surface, spin-texture, etc) - Band structure and DoS plots from QE or PAOFLOW data - Electron Transport plots from PAOFLOW data

Supported File Types: - Quantum ESPRESSO input or output - POSCAR - CIF (in progress) - XSF - BXSF (coming soon)

Fury currently has a bug with the cylinder routine, used for displaying bonds. Clone the forked fury reposity, from my GitHub, and check out the glyph_orientation branch (https://github.com/Sassafrass6/fury/tree/glyph_orientation)

Requirements: - python 3.8 - numpy 1.19 - matplotlib 3.5 - [fury 0.8](https://github.com/fury-gl/fury)

Installation (only use –user if you do not have permission to install python packages): - python setup.py install - python setup.py install –user

Usage:

See examples/CrystalView for crystal and Brillouin zone plotting:

From scratch:

python caffeine.py python silicon_fcc.py

From inputfile (with main.py script):

python main.py <inputfile> python main.py <inputfile> <bond_length>

From inputfile (programmatic):

python SnTe_2D.py python example_qe_in.py python example_poscar.py

Relax QE outputfile:

python example_relax.py

Charge Density:

python example_charge_density.py

Reciprocal Space:

python example_BZ.py

Fermi Surfaces:

python example_fermi_surface1.py python example_fermi_surface2.py python example_fermi_surface_clip.py python example_colored_fermi_surface.py python example_textured_fermi_surface_clip.py

See examples/PlotTools for QE and PAOFLOW plotting functions:

Close windows to advance plot script

python example01_qe.py python example01_pao.py

Project details


Download files

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

Source Distribution

XtraCrysPy-0.7.4.tar.gz (25.5 kB view details)

Uploaded Source

Built Distributions

XtraCrysPy-0.7.4-py3.8.egg (69.1 kB view details)

Uploaded Source

XtraCrysPy-0.7.4-py3-none-any.whl (48.1 kB view details)

Uploaded Python 3

File details

Details for the file XtraCrysPy-0.7.4.tar.gz.

File metadata

  • Download URL: XtraCrysPy-0.7.4.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.8

File hashes

Hashes for XtraCrysPy-0.7.4.tar.gz
Algorithm Hash digest
SHA256 4baf5e9b9b3508a84e41c20121ebd7af4ee3635fc92e9d77026c37c8e4c6003e
MD5 45e1f60be2aea39f5a657cf9df47cd4d
BLAKE2b-256 3b9982a6acf8274578f62cc5d7d4e0a0f55a82ea18bbbe8346ac72a2fab07169

See more details on using hashes here.

File details

Details for the file XtraCrysPy-0.7.4-py3.8.egg.

File metadata

  • Download URL: XtraCrysPy-0.7.4-py3.8.egg
  • Upload date:
  • Size: 69.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.8

File hashes

Hashes for XtraCrysPy-0.7.4-py3.8.egg
Algorithm Hash digest
SHA256 e7011e2e746562624a73c38fdaec6c2bfb6a4a75650cfbb84904938621847818
MD5 4ef0be9d4f5e246d68246bbca92567a8
BLAKE2b-256 f5b821b0797dd9765577af4eb7c8dd29c6987733a8d5c1a31f6b3b28f39dac72

See more details on using hashes here.

File details

Details for the file XtraCrysPy-0.7.4-py3-none-any.whl.

File metadata

  • Download URL: XtraCrysPy-0.7.4-py3-none-any.whl
  • Upload date:
  • Size: 48.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.8

File hashes

Hashes for XtraCrysPy-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 46ffe5ef22227c90995f721be8c6b7155eb4ca27422bdbee253ce2a523942981
MD5 f8759bc9471c8ac36662adceb4b881d6
BLAKE2b-256 e037053a1d4c735a473d0b4fd3c274abddd2356035636e596efdbb88183ff6b3

See more details on using hashes here.

Supported by

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