Skip to main content

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

Anaconda installation

The preffered way to install the xrd_simulator package is via anaconda:

conda install -c axiomel xrd_simulator

This is meant work across OS-systems and requires no prerequisites except, of course, that of Anaconda itself.

Pip Installation

Pip installation is possible, however, external dependecies of pygalmesh must the be preinstalled on your system. Installation of these will be OS dependent and documentaiton can be found elsewhere.:

pip install xrd-simulator

Source installation

Naturally one may also install from the sources:

git clone https://github.com/AxelHenningsson/xrd_simulator.git
cd xrd_simulator
python setup.py install

This will then again require the pygalmesh dependecies to be resolved beforehand.

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

xrd_simulator-0.0.4.tar.gz (69.5 kB view hashes)

Uploaded Source

Built Distribution

xrd_simulator-0.0.4-py3-none-any.whl (80.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page