lpa-output

Line profile analysis output analyser.

https://github.com/dunstanbecht/lpa-output

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.0%) to scientific vocabulary

Keywords

analysis diffraction python simulation x-ray
Last synced: 6 months ago · JSON representation ·

Repository

Line profile analysis output analyser.

Basic Info
  • Host: GitHub
  • Owner: DunstanBecht
  • License: cc0-1.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 25.5 MB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 8
Topics
analysis diffraction python simulation x-ray
Created over 4 years ago · Last pushed almost 4 years ago
Metadata Files
Readme License Citation

README.md

DOI License: CC0-1.0


Mines Saint-Etienne

Line Profile Analysis - Output

This project is related to the analysis of crystals containing dislocations by X-ray diffraction. It was developed and used for a study conducted during a research internship at the laboratory of material and structural sciences of the cole Nationale Suprieure des Mines de Saint-tienne. This repository contains the distribution of one of the three published python packages that have been proposed 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)

The repository lpa-workspace contains the parameters and the scripts for the generation of the data used in the study. You can then easily replicate the results obtained or use it as inspiration to take the code in hand and conduct your own calculations. The software is placed in the public domain and you can use it as you wish. However, users are encouraged to contribute to the development and report issues.

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 and the outer cut-off radius * export files and graphics containing information on fits

Installation

The package is indexed on PyPI and installable directly via pip: bash pip install -U lpa-output

Examples

Simulation output plot

Output plot

Fits data

``` 0.9.10 # v: lpa-ouput version 5.00E+13 # d: dislocation density [m^-2] real # t: A(L) transformation KR # m: model function F2 # f: filter

j Lmax[nm] error density[nm-2] cut-off-radius[nm]

1 15.0 9.8e-08 4.931549288551229e-05 6.607678158070707e+03 1 20.0 9.3e-08 4.938883421705052e-05 6.539631112076370e+03 1 25.0 8.4e-08 4.941491049741727e-05 6.515909541068970e+03 1 30.0 9.2e-08 4.945746252328201e-05 6.477781851184817e+03 1 35.0 8.7e-08 4.946979595567050e-05 6.466870006521509e+03 1 40.0 8.4e-08 4.947948377763086e-05 6.458373859572396e+03 1 45.0 8.1e-08 4.947640662722809e-05 6.461054460493163e+03 1 50.0 8.5e-08 4.946038050006081e-05 6.474961311229919e+03 1 55.0 9.8e-08 4.943548704913596e-05 6.496530818794436e+03 1 60.0 1.3e-07 4.940070632894863e-05 6.526683598863994e+03 1 65.0 1.7e-07 4.935561086086386e-05 6.565881451777638e+03 1 70.0 2.2e-07 4.930026967620467e-05 6.614211441722557e+03 1 75.0 2.9e-07 4.923532321997969e-05 6.671308949535432e+03 1 80.0 3.7e-07 4.916156644546603e-05 6.736704404985521e+03 2 15.0 4.4e-07 4.997989346224843e-05 1.252815309192732e+03 2 20.0 5.2e-07 4.984628132167453e-05 1.273131101919866e+03 2 25.0 7.0e-07 4.970749350973785e-05 1.294433392013414e+03 2 30.0 1.0e-06 4.953824808412701e-05 1.320781191398869e+03 3 15.0 1.3e-06 4.937734136490503e-05 5.708221010898709e+02 4 15.0 3.9e-06 4.886626422113469e-05 3.350853311390957e+02 5 15.0 1.2e-05 4.768064254813507e-05 2.412700062577946e+02 ```

Fits plot

GUW KR

Abbreviations

Some abbreviations are used:

  • KR: Krivoglaz Ryaboshapka model
  • W: Wilkens model
  • GUW: Groma Ungr Wilkens model
  • F0: filter 0 (fits performed on the region of L for which A is positive)
  • F1: filter 1 (fits performed on the region of L for which A is not oscillating)
  • F2: filter 2 (fits performed on the region of L for which ln(A)/L^2 is linear)

User guide

The directory tests/ contains several examples of package module usage. To become familiar with the use of these modules you should go through these scripts in the following order: * test_models.py * test_filters.py * test_collect.py * test_analyze.py

In the sources the docstrings are carefully written and it is recommended to refer to the documentation with the help() python command to list the available functions, classes and parameters.

The installation from PyPI does not allow the modification of the code. To edit the package and contribute to the development use the following commands in your working directory. bash pip uninstall lpa-output git clone https://github.com/DunstanBecht/lpa-output.git pip install -e lpa-output cd lpa-output git branch <name_of_your_new_branch>

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Becht
    given-names: Dunstan
    orcid: https://orcid.org/0000-0002-8524-4527
  - family-names: Borbély
    given-names: András
    orcid: https://orcid.org/0000-0001-7877-5795
title: lpa-output
version: 0.9.10
doi: 10.5281/zenodo.5702434

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 109
  • Total Committers: 1
  • Avg Commits per committer: 109.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Dunstan BECHT d****n@b****k 109
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 117 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 18
  • Total maintainers: 1
pypi.org: lpa-output

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

  • Versions: 18
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 117 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 21.6%
Average: 27.0%
Stargazers count: 27.9%
Forks count: 29.8%
Downloads: 45.6%
Maintainers (1)
Last synced: 7 months ago