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.

The paper describing the Gaussian Process regression procedure is also available here:

Intragranular Strain Estimation in Far-Field Scanning X-ray Diffraction using a Gaussian Processes, Henningsson, A. & Hendriks, J. (2021). J. Appl. Cryst. 54.

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

Uploaded Source

Built Distribution

s3dxrd-0.0.9-py3-none-any.whl (49.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: s3dxrd-0.0.9.tar.gz
  • Upload date:
  • Size: 43.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for s3dxrd-0.0.9.tar.gz
Algorithm Hash digest
SHA256 22766f24827c31bf8151403639390a9df2d8cb5b16d37057aea98feb61fd5d1f
MD5 a3926534d2969e71270c0aed2000e9e0
BLAKE2b-256 506e9f825171b2e9009e06633f15003fed12457a0c5ac5fc6721b4d1ee03687c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: s3dxrd-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 49.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for s3dxrd-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7611c97913e72c25b2c6977c0caef2d04ed24544d7092abc5c70b4c4f8f11daa
MD5 cb1fe4e556565cd3e7c9f1d3a592356c
BLAKE2b-256 27b9ab8d20b5eb1afcd53c36260595c4b65b9f56374b9c714c948c1a54901436

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