Tools for diffraction simulation of s3dxrd type experiments.
Project description
Welcome to the xrd_simulator
This is a package for simulating X-ray Difraction from polycrystals
Defines polycrystals as a mesh of tetrahedral single crystals.
Simulates diffraction based on structure factors and a discretized detector array.
Installation
Prerequisites
xrd_simulator depends on pygalmesh which in turn depends in the external CGAL and EIGEN packages. It is therefore neccessary, prior to installing xrd_simulator, to either install these packages manually, as documented here, or to install pygalmesh using conda as:
conda install -c conda-forge pygalmesh
the later should work identically across OS systems.
Pip installation
Once pygalmesh is available xrd_simulator can be installed as:
pip install xrd-simulator
Source installation
Naturally one can also install from the sources:
git clone https://github.com/AxelHenningsson/xrd_simulator.git cd xrd_simulator python setup.py install
Anaconda installation
Unfortunately xrd_simulator is not yet available for pure conda installation.
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
Built Distribution
Hashes for xrd_simulator-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be5ce91d7818237c56fbb70016bd4c1bcc2163319ed338edc8557cc20ed087fa |
|
MD5 | 04128a059d4ae3d56f531074258bea52 |
|
BLAKE2b-256 | 461009bbf7adf9487bfc9c53a5fa7be266c31e8b87eb44ac8613834705b7b0fa |