Skip to main content

Tools for the analysis of X-ray diffraction simulation output.

Project description

Mines Saint-Etienne

Line Profile Analysis - Output

This repository is related to the analysis of crystals containing dislocations by X-ray diffraction. It is part of a project conducted during a research internship at the laboratory of material and structural sciences of the École Nationale Supérieure des Mines de Saint-Étienne. Three python packages have been developed to conduct line profile analyses based on simulation results:

  • lpa.input (line profile analysis input generator)
  • lpa.xrd (line profile analysis x-ray diffraction simulation program)
  • lpa.output (line profile analysis output analyzer)

Features

The package lpa.output can be used to:

  • average the simulation output files
  • export figures presenting the Fourier amplitudes for each harmonic
  • fit different model for the calculation of the dislocation density
  • export files and graphics containing information on fits

Installation

The package is indexed on PyPI and installable directly via pip:

pip install -U lpa-output

Examples

Simulation output plot

Output plot

Fits information

harmonic of g;fit L max [nm];rho [m-2];Re [nm];error
1;11.1;4.988005e+14;2.858696e+03;4.069797e-13
1;14.8;4.979192e+14;2.890819e+03;5.930914e-13
1;18.5;4.965587e+14;2.940338e+03;1.819189e-12
1;22.2;4.947938e+14;3.005100e+03;4.697750e-12
1;25.9;4.929201e+14;3.074824e+03;8.668341e-12
1;29.6;4.916342e+14;3.123224e+03;1.011788e-11
1;33.3;4.919718e+14;3.110586e+03;8.914320e-12
1;37.0;4.964844e+14;2.949933e+03;5.894697e-11
1;40.7;5.113804e+14;2.497500e+03;6.995298e-10
2;11.1;4.933120e+14;6.907357e+02;2.384938e-11
2;14.8;4.909804e+14;7.093047e+02;5.555701e-11
2;18.5;4.990565e+14;6.490353e+02;8.397701e-10

Plot of fits

Groma harmonic 1 Groma harmonic 2

Abbreviations

Some abbreviations are used in the figures:

  • G: Groma
  • K: Kamminga
  • W: Wilkens

User guide

The directory tests/ contains several examples of package module usage. The docstrings are carefully written and it is recommended to refer to the documentation with the help() command.

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

lpa-output-0.8.6.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lpa_output-0.8.6-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file lpa-output-0.8.6.tar.gz.

File metadata

  • Download URL: lpa-output-0.8.6.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for lpa-output-0.8.6.tar.gz
Algorithm Hash digest
SHA256 3f61001fb492881f8b1a81af3a975992b79a06fc256e79a99d6dc17d5d32920a
MD5 ed9b695bd7c20f0902e00b97a81197f3
BLAKE2b-256 bdcd93ca6cf0e2f9350aee59001cce43b99168e6fc3f0407a4b6025b1ba82bd3

See more details on using hashes here.

File details

Details for the file lpa_output-0.8.6-py3-none-any.whl.

File metadata

  • Download URL: lpa_output-0.8.6-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for lpa_output-0.8.6-py3-none-any.whl
Algorithm Hash digest
SHA256 823fff266b6eaf2ff9b02c378212b7e74cf9d4cb0548091fa54db9ebe0dd586b
MD5 f928e8e6368312f6a7aed7201ae47d0c
BLAKE2b-256 7c6c9092ee74fedd488c523831f92ed5e12021497008abf7e5afd755f721fb38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page