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
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
Crystally-0.6.0.tar.gz
(11.2 kB
view hashes)
Built Distribution
Crystally-0.6.0-py3-none-any.whl
(13.1 kB
view hashes)
Close
Hashes for Crystally-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e00ebad0eb30c5664a015d1b7f078bea8ec28cb9b70f18a4f62c1016aef516ef |
|
MD5 | f122fdb2d218b13f649c270841db7038 |
|
BLAKE2b-256 | c51ec6146cdde3d840cee4f90fa984ac89173e5218ad0fb522981e6c71ec671f |