crystal_torture
is a Python, Fortran and OpenMP crystal structure analysis module. The module contains a set of classes that enable:
Ionic diffusion through crystalline solids depends not only on the dynamics of ions within the crystal, but also the connectivity of the transport network. Understanding how the connectivity of diffusion pathways in crystal structures is affected by changes in chemistry is necessary for understanding how chemical modifications change ionic conductivities, for example the doping of solid electrolytes.
crystal-torture
provides a Python API for interrogating network connectivity and diffusion pathways in partially blocked crystal structures. It can be used as a tool for materials scientists to quickly build up network connectivity statistics in order to determine the viability of potential ionic conductors, and how chemical modification affects network connectivity, before the use of more computationally expensive approaches modelling the full dynamics.
crystal_torture
requires python 3.7 and above. To install do:
pip install crystal_torture
or download directly from GitHub, or clone:
git clone https://github.com/connorourke/crystal_torture
and install
cd crystal_torture
python setup.py install
crystal_torture
is automatically tested on each commit here, but the tests can be manually run:
python -m unittest discover
Examples on how to use crystal_torture
can be found in a Jupyter notebook in the examples
directory crystal_torture_examples.ipynb
Documentation can be found here
If you think you have found a bug, please report it on the Issue Tracker. This is also the place to propose ideas for new features or ask questions about the design of crystal_torture. Poor documentation is considered a bug, but please be as specific as possible when asking for improvements.
We welcome your help in improving and extending the package with your own contributions. This is managed through GitHub pull requests; for external contributions we prefer the "fork and pull" workflow, while core developers use branches in the main repository: