Skip to main content

Python module to model and analyze crystal structures

Project description

crystally

crystally is a python library designed to analyze and manipulate crystal structures. It is intended to be easy to learn and understand. Have a look at the documentation to get started and an idea of the capabilities of the module.

Documentation: https://crystally.readthedocs.io/en/latest/

Examples:

import crystally as cr

# load an example lattice
ceria = cr.examples.ceria() 

# calculate the distance between the first two atoms in the lattice
ceria.distance(ceria[0], ceria[1]) 

# find all atoms around the first with a maximum distance of 3 angstrom
ceria.get_in_radius(ceria[0], 3.0) 

# change the position of the first atom to new fractional coordinates
ceria[0].position = [0.0, 0.1, 0.0] 

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

Crystally-0.6.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

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

Crystally-0.6.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file Crystally-0.6.1.tar.gz.

File metadata

  • Download URL: Crystally-0.6.1.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.9

File hashes

Hashes for Crystally-0.6.1.tar.gz
Algorithm Hash digest
SHA256 dd1e02f012252ad25abc9fcf40e921314a726caaf6c5e02efe19f1ce06fc0161
MD5 b8f351f2352fc327ac31938cc35fb064
BLAKE2b-256 36edb3f3b02839965e0eed6c7b54d340d9f2376f28b142393cfde6803a81fdf3

See more details on using hashes here.

File details

Details for the file Crystally-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: Crystally-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.9

File hashes

Hashes for Crystally-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 406f1e0380c64f9a5dbe84c72d0ceb2ea408ebbd70e9470a30b79c02b4e25743
MD5 6d5da4d496bd7a8ed0a180e34248bcf9
BLAKE2b-256 2c1fa532f5560d42a8fd0aa5b132c6f08d5d348c4f1af928a8e4accf0cf6fe47

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