TL;DR
This paper introduces EDDIDAT, a user-friendly MATLAB-based graphical interface for analyzing energy-dispersive X-ray diffraction (EDD) data. It simplifies the complex process of residual stress analysis and offers tools for phase analysis and texture studies, making advanced EDD techniques more accessible to researchers.
What Problem Does This Paper Address?
Energy-dispersive X-ray diffraction (EDD) is a powerful, non-destructive technique for materials analysis, particularly for residual stress measurements. However, the large datasets generated by EDD experiments, coupled with the specialized nature of the analysis, necessitate robust and intuitive software. Existing tools were often developed for angle-dispersive diffraction (ADD) and lacked the specific features needed for EDD. Furthermore, accessing high-energy synchrotron EDD beamlines can be challenging for many researchers, limiting the widespread adoption of this technique. This paper addresses the need for a dedicated, user-friendly software solution that can handle EDD data from various sources, simplifying complex analyses like depth-resolved residual stress measurements.
Methods
EDDIDAT is a MATLAB-based graphical user interface (GUI) that provides a structured workflow for EDD data analysis. The core methods employed include:
- Data Fitting: The software allows users to fit diffraction peaks using various functions (Lorentzian, Gaussian, pseudo-Voigt, Thompson-Cox-Hastings pseudo-Voigt). It includes automated background correction and peak detection, with options for temperature-dependent peak shift correction.
- Residual Stress Analysis: EDDIDAT implements two primary methods for residual stress analysis:
- Modified Multi-Wavelength Method (MMWP): This method provides an initial approximation of residual stress depth profiles by analyzing lattice strain as a function of the information depth.
- Universal Plot (UP) Method: This approach offers a more detailed analysis by fitting Laplace transforms of appropriate functions to the experimental stress data, yielding real-space depth profiles.
- Data Visualization and Export: The GUI provides multiple plot windows for visualizing fitting results, stress components, and depth profiles. All results and plots can be exported as TIFF graphics and ASCII files for further processing or reporting.
- Material Database: A built-in, extendable material database simplifies the input of material properties like crystal structure, lattice parameters, and diffraction elastic constants (DECs).
Datasets
The paper describes the use of EDD data obtained from various sources, including laboratory instruments (LIMAX-70, LIMAX-160, LEDDI) and synchrotron beamlines (ESRF, SPring-8, SOLEIL, Diamond Light Source, PETRA III). A specific example of a ferritic steel sample is used throughout the figures to illustrate the software's capabilities. No new benchmark datasets are introduced; rather, the software is designed to process existing EDD data.
Key Insights and Ideas
- Democratizing EDD Analysis: EDDIDAT significantly lowers the barrier to entry for performing sophisticated EDD analyses, particularly for residual stress, which is crucial for materials engineering and quality control.
- Depth-Resolved Analysis Made Accessible: The software's implementation of both MMWP and UP methods allows researchers to choose the level of approximation for depth-resolved residual stress analysis, catering to different needs and expertise levels.
- Integrated Workflow: The four-tab GUI structure ('Fitting', 'Stress Analysis', 'Universal Plot', 'Plot Fit Data') guides users through a logical analysis pipeline, from raw data processing to detailed stress profiling and visualization.
- Flexibility for Diverse Sources: The design explicitly accommodates data from various X-ray sources, including laboratory setups and synchrotrons, and allows for the implementation of device-specific properties, enhancing its broad applicability.
- Extensibility: The ability to easily add new materials to the database and the potential for future implementation of user-defined device properties make EDDIDAT a future-proof tool.
Key Results
The paper demonstrates EDDIDAT's functionality through examples, showcasing its ability to:
- Fit multiple diffraction lines (e.g., 14 lines for a ferritic steel sample).
- Perform depth-resolved residual stress analysis using both MMWP and UP methods.
- Visualize stress components and depth profiles, highlighting gradients (e.g., compressive stress gradient in the 011 stress component).
- Generate plots of lattice spacing versus sin²ψ and re-calculated distributions, allowing for validation and comparison.
- Export all results and plots in standard formats.
Limitations and Future Work
- Current Focus: While EDDIDAT is designed for versatile analysis, its primary focus up to the publication date was on residual stress analysis.
- Future Extensions: The authors plan to extend EDDIDAT with:
- An advanced Rietveld method approach for calculating real-space residual stress depth profiles.
- Data analysis for microstructure and texture studies, including Williamson-Hall plot methods.
- A search-and-match routine for quantitative phase analysis.
- A more streamlined method for users to add new X-ray sources and their specific properties.
- Availability: The program is freely available to academic users upon request.
Summary updated