This Python script allows the analysis of X-ray Diffraction (XRD) data from .csv files containing measurements with 2θ and intensity columns. It provides several useful features for processing XRD spectra:
Import .csv files containing multiple XRD measurements
Peak features extracting :
Integration of the area under the curve between specific bounds
The maximum intensity of the peaks
The peak positions in 2θ
The FWHM (Full Width at Half Maximum)
Load a .csv file containing 2θ and intensity columns.
Define integration boundaries.
Retrieve computed values (area under the curve, peaks, FWHM, etc.).
numpy pandas matplotlib scipy
If you use this code in your work, please cite this GitHub repository:
Navid MOUHAMAD, XRD Data Analysis for perovskite (MHP). Available at: https://github.com/Nav9110/XRD_code
Feel free to contribute or suggest improvements! 🚀