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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: s3dxrd-0.0.10.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.10.tar.gz
Algorithm Hash digest
SHA256 3ae2448b44517638b69d8299e7b423d94b72bdd626c00ec72f5834863e377fc4
MD5 cc895341d0a8ec9b6c1d9a1f4eb741a1
BLAKE2b-256 b7c6da7ee002facedb0622ad68c1035cd56326585502c445b22997898c48a50b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: s3dxrd-0.0.10-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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 11d302f356d5d0ba55dcda1d2f58f735fb121cbac24847cb3f6465ee8f9cb801
MD5 f4452bc1dc15b916346e2d07659b7798
BLAKE2b-256 ea824a99cdd1a4c63d2048f1978c4513e08b97c05b514988dae4c7b480c92773

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