Giter Site home page Giter Site logo

sebastianprog / p61microstructureanalysis Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 2.34 MB

Library for diffraction specific calculations and for analyzing residual stresses and pole figure plots for P61A beamline at PETRAIII, DESY.

Python 100.00%
phase-analysis residual-stresses synchrotron-light-sources texture-analysis x-ray-crystallography x-ray-diffraction

p61microstructureanalysis's Introduction

P61MicrostructureAnalysis

This library provides diffraction specific calculations mainly for analyzing residual stresses of data measured at HZG beamline P61A at PETRA III, DESY located in Hamburg. This beamline uses two energy-dispersive detectors for diffraction analysis in the energy range up to 200 keV. It is intended to perform the preprocessing of measured data with the tool P61Viewer, where result files can be exported and used for residual stress analysis by this library.

The structure of this project can be seen in the following drawing:

Structure of project

By this, basic features are:

  • calculation and conversion of X-ray diffraction specific values (e. g. BRAGG angles in lattice spacings or calculation of orientation and stress factors)
  • importing/exporting measured and analyzed data as well as plotting of measured or analyzed data
  • basic analysis of diffraction spectra and containing phases or plotting pole figures out of texture data
  • performing different residual stress analysis methods (like multi wavelength method, universal plot method etc.)
  • calculation of stresses in real space (sample depth) of measured stresses in image space (integral depth)

A short overview of methods for residual stress analysis as the main part of this library is given by the next figure:

Residual stress methods

The provided functions are basically tested with simulated and reference data but an extensive test with measured data of the target facility is still ongoing. A detailed documentation will also follow soon. To get started, an example script is provided here.

This script includes some examples for calculating and converting diffraction values.

Script example 1

Importing the preprocessed data of P61Viewer and prepare it for residual stress analysis.

Script example 2

Performing multi wavelength method (MWL) and universal plot method (UVP) with specified settings.

Script example 3

Currently available plots for multi wavelength method are shown now.

multi wavelength method plots

And for universal plot method there are also some plots.

universal plot method plots

For all analysis methods there are export functions available to also use the results outside of this library.

export residual stress data

p61microstructureanalysis's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.