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 technically possible as

pip3 install s3dxrd

However, the latest ImageD11 1.9.7 is not currently available at pypi, thus this dependecy must be manually installed first. Checkout the repo for how to do this:

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 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.5.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

s3dxrd-0.0.5-py3-none-any.whl (47.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: s3dxrd-0.0.5.tar.gz
  • Upload date:
  • Size: 42.3 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.5.tar.gz
Algorithm Hash digest
SHA256 f44e1c75aec510e5c742527d5d568d65c7e6c0212fda43545dd1cc97c2f700e8
MD5 f085dc94e98ceec6fd1a18542967f6e1
BLAKE2b-256 b66e8e4d948375c54b59a666205fa919c70816c29f4c22abc90c7e3c1a69a319

See more details on using hashes here.

File details

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

File metadata

  • Download URL: s3dxrd-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 47.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e7bac073e010ff6704cacb1d2b87890a934b7d47746db9107086bd0425707b24
MD5 188c67fb5291869df171d063d12f207c
BLAKE2b-256 9498c2a8b133311972e5a8e4659b251be3ec743a702e7ae27ca73e83a0df74f3

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