Skip to main content

Tools for the generation and analysis of dislocation distributions.

Project description

Mines Saint-Etienne

Line Profile Analysis - Input

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.input can be used to:

  • generate dislocation distributions according to different models
  • export the distributions in standardized files for input to an X-ray diffraction simulation program
  • export the distributions in dislocation maps
  • export a spatial analysis of the distributions

Installation

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

pip install -U lpa-input

Physical aspects

Two geometries are proposed:

  • circle (intersection of a plane with a cylinder) centered in (0, 0)
  • square (intersection of a plane with a cuboid) bottom left corner at (0, 0)

A dislocation associates:

  • a Burgers vector sense b
  • a position p

A distribution is mainly characterized by the following elements:

  • the shape of the region of interest
  • the model used for the random generation of dislocations
  • the generated dislocations

A sample is a set of distribution and is mainly characterized by:

  • the number of generated distribution stored
  • the shape of the region of interest
  • the model used for the random generation of dislocations
  • the stored distributions

Abbreviations

Some abbreviations are used in the program:

Models

  • RDD random dislocation distribution
  • RRDD restrictedly random dislocation distribution
  • RCDD random cell dislocation distribution

Model variants

  • R randomly distributed Burgers vectors
  • E evenly distributed Burgers vectors
  • D dipolar Burgers vectors

Boundary conditions

  • PBCG periodic boundary conditions applied when generating the distribution
  • PBCR periodic boundary conditions applied when running the simulation
  • IDBC image dislocations boundary conditions

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-input-0.9.6.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

lpa_input-0.9.6-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file lpa-input-0.9.6.tar.gz.

File metadata

  • Download URL: lpa-input-0.9.6.tar.gz
  • Upload date:
  • Size: 22.6 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-input-0.9.6.tar.gz
Algorithm Hash digest
SHA256 3907044ba63628be791492b09a0e606b8e012600a167d0d6abb033903201f47e
MD5 20a569400ffbefa0a9c3cabfc55127c9
BLAKE2b-256 853f3b6d032fd2f38711316c4898cf4f996c9c0e871fbf41f22bdaebc46fc8c9

See more details on using hashes here.

File details

Details for the file lpa_input-0.9.6-py3-none-any.whl.

File metadata

  • Download URL: lpa_input-0.9.6-py3-none-any.whl
  • Upload date:
  • Size: 25.4 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_input-0.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 22d3eb15101c7dd194090c47de8d68f6558be9feb341c8ab99551b7d0b33eb53
MD5 d54a214ada387a2a305b77f2251a9ef9
BLAKE2b-256 4120e5d029d203ae144acefd7230d5de671dc737ad4de30234e744de29a22434

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