Skip to content

Nav9110/XRD_code

Repository files navigation

XRD Data Analysis for perovskite (MHP)

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:

πŸ“Œ Features

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)

πŸ”§ Usage

Load a .csv file containing 2ΞΈ and intensity columns.

Define integration boundaries.

Retrieve computed values (area under the curve, peaks, FWHM, etc.).


Examples input :

input

Examples output :

Capture d’écran 2025-04-10 160322 output2


πŸ“¦ Dependencies

numpy pandas matplotlib scipy

πŸ“œ Citation

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! πŸš€

About

Data treatment for X-Ray Diffraction, peak integration, peak position, maximum intensity and FWHM,

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published