Thanks to visit codestin.com
Credit goes to Github.com

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