This is a collection of python modules (python3) for crystallography and xray scattering computations. If you run the install script as described below two separate packages are installed ('xtal' and 'xtlgeo'). You can import them via
>>import xtal >>import xtlgeo
A directory of example scripts is also provided, but not installed.
- Unpack the distribution to a temporary folder
- Run the setup.py file
>>python3 setup.py install
For more information on installation see doc/Install.txt
- xtal
- Crystallography computations including reading and writing structure files, transformation of coordinates, generation of surfaces, coordination sphere computations etc..
- This module also includes modules for reading and writing cif files
- The only dependency for this module is numpy
- xtlgeo
- Geometry/Goniometer calculations for crystallography including computation of active area. Currently defines methods for a six-circle (and kappa) geometry.
- This uses xtal as well as numpy and Matplotlib
- See docs/Install.txt for more installation information
- See docs/License.txt for information on copyright
- See examples for several example application scripts
- Sources of structure data:
- Jmol for structure viewing
- Webatoms: http://millenia.cars.aps.anl.gov/webatoms/
- OpenBabel: