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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file s3dxrd-0.0.7.tar.gz
.
File metadata
- Download URL: s3dxrd-0.0.7.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28dd98f0c88be6a2342f9aeeb814bbce4821f467d5b82bc0f7840214ff3667d1 |
|
MD5 | 247ad7b71a3573f0d4dde0a5a35db8d0 |
|
BLAKE2b-256 | 5708e4959fef31f8ab71529a54a16413f1f1603b9727392f8bbdaa43aa8c3fe7 |
File details
Details for the file s3dxrd-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: s3dxrd-0.0.7-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac6a00484e8094f2a9f04ae684dbc97f3a6bd84ba3848b5febf5862d17a6aec7 |
|
MD5 | 1012937e29da878be4fb893ca7352386 |
|
BLAKE2b-256 | 4b41891d3c6e2900d130ddeff63504665c84af5f687bb3a11cdfcb4c0372e91d |