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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: s3dxrd-0.0.6.tar.gz
  • Upload date:
  • Size: 41.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.6.tar.gz
Algorithm Hash digest
SHA256 27cdd355440b97f0fb8291fa83ccf909a4fe42e0257bdd64abe7f13c6afda027
MD5 216fc65e62a8a39571632fef31c56113
BLAKE2b-256 d507793a88e5aceb7c1028be817f0e58b6f690de058b2e90a0b5d63c5dec07c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: s3dxrd-0.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 608af6ec2ede9a8c79e799519d2179323ce67c2a85011fe37283d760efdafc1e
MD5 b71003634e478541664e53ed397e797a
BLAKE2b-256 4ce03cf4f34ed01a2ac63597a963eeaf2f91780503124e2a51b9bb1f658f10ce

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