Skip to main content

Tools for intragranular strain estimation with s3dxrd data.

Project description

Welcome to the s3dxrd package

This is a scientific code originally developed to adress scanning-3d-xray-diffraction (s3dxrd) strain measurements of polycrystalline materials.

Intragranular strain is computed based on a series of line integral measurements. The s3dxrd package supports regression either by a simple weighted least squares approach or alternatively by a Gaussian Proccess. The later statistical model uses spatial correlation assumptions and an equlibrium prior to find good fits to data.

If you want to use this code, it is strongly recomended that you have a look at the underlying publication: describing the weighted least squares approach (named “ASR” in the paper)

Reconstructing intragranular strain fields in polycrystalline materials from scanning 3DXRD data, Henningsson, N. A., Hall, S. A., Wright, J. P. & Hektor, J. (2020). J. Appl. Cryst. 53, 314-325.

A preprint describing the Gaussian Process regression procedure is also available here:

Intragranular Strain Estimation in Far-Field Scanning X-ray Diffraction using a Gaussian Processes, Axel Henningsson and Johannes Hendriks. (2021). arXiv Preprint.

This paper may also help the user to understand some of the mathematical notation hinted at in the code.

Installation

Installation via pip is available as

pip3 install s3dxrd

For manuall installation, first get the code to your local machine by:

git clone https://github.com/AxelHenningsson/scanning-xray-diffraction.git

Next go to the repository and try to install

cd scanning-xray-diffraction
python setup.py build install

You will now recieve messages about dependecies that need be installed first. Go through these untill the build succeeds.

Documentation

Documentation is hosted seperately at github pages:

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

s3dxrd-0.0.8.tar.gz (42.0 kB view details)

Uploaded Source

Built Distribution

s3dxrd-0.0.8-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

Details for the file s3dxrd-0.0.8.tar.gz.

File metadata

  • Download URL: s3dxrd-0.0.8.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for s3dxrd-0.0.8.tar.gz
Algorithm Hash digest
SHA256 856c3128df330c581d0a4b81ffcc91893b357ef3a08b592b2cd0ea4eecfe5129
MD5 2f6d4ee54246cdf624079d7e6a358183
BLAKE2b-256 14a869f0aadc72a337af4e13efd8b3691468511869aa08bfd0f44b6dd87eb290

See more details on using hashes here.

File details

Details for the file s3dxrd-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: s3dxrd-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 47.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for s3dxrd-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 766cc9f617b77e85c7cc4d103592afa7f1c8fc627d17fbeacc4cb294e0d78c91
MD5 f1f9c991d3e07a9edec3b04418aeaea8
BLAKE2b-256 b182e960f7660eb9fa3c29cea47ea9b0d560570d9c1cc757ecc9a94ce590508b

See more details on using hashes here.

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