File Exchange

image thumbnail

Line-Profile Analysis Software (LIPRAS)

version 1.466.0.0 (10.2 MB) by Giovanni Esteves
Peak fitting GUI for Diffraction Data

42 Downloads

Updated 16 Oct 2020

From GitHub

View Version History

View license on GitHub

Line-Profile Analysis Software (LIPRAS), is a graphical user interface for least squares fitting of Bragg peaks in diffraction data. For any region of the inputted data, user can choose which profile functions to apply to the fit, constrain profile functions, and view the resulting fit in terms of the profile functions chosen. A Bayesian inference analysis can be carried out on the resulting least squares result(s) to generate a full description of the errors for all profile parameters.
Authors: Giovanni Esteves, Klarissa Ramos, Chris Fancher, and Jacob Jones

• Quickly extract relevant peak information: position, full width at half maximum (FWHM), and intensity
• Conduct Bayesian inference on least squares results using a Markov Chain Monte Carlo algorithm (need Statistics and Machine Learning Toolbox)
• Analyzes files with a different number of data points and/or X-values. However, check fitting range before attempting.
• Customize the background fit by either treating it separately (Polynomial or Spline) or including it in the least squares routine (Polynomial only)
• Choose from 5 different peak-shape functions: Gaussian, Lorentzian, Pseudo-Voigt, Pearson VII, and Asymmetric Pearson VII.
• Peak-shape functions can be constrained in terms of intensity, peak position, FWHM, and mixing coefficient
• Automatically calculate Cu-Kalpha2 peaks when working with laboratory X-ray data
• Fit up to 20 peaks in the current profile region
• For multiple diffraction patterns, results from the previous fit can be used as the subsequent starting parameters for next fit
• Visualize results with a plot of the resulting peak fit and residual plot, allowing you to see what peaks make up the overall fit
• Resulting coefficients values can be viewed with file number to quickly view trends in data
• Parameters files can be written and used to recreate fits and details what fit parameters and profile shape functions were used
• Accepts the following file types: .xy, [.ras, .acs] (Rigaku), .xls, .xlsx, .fxye, .xrdml (Panalytical), .chi, .csv (Windows Only)

LIPRAS is currently updated through GitHub
Web Page: https://github.com/SneakySnail/LIPRAS

Requires MATLAB 2016b, Curve Fitting Toolbox, and GUI Layout Toolbox to run. The Statistics and Machine Learning Toolbox is required for Bayesian analysis.

If you use LIPRAS for your research, please cite it (choose one):

1. Giovanni Esteves, Klarissa Ramos, Chris M. Fancher, and Jacob L. Jones. LIPRAS: Line-Profile Analysis Software. (2017). DOI: 10.13140/RG.2.2.29970.25282/3
2. Giovanni Esteves, Klarissa Ramos, Chris M. Fancher, and Jacob L. Jones. LIPRAS: Line-Profile Analysis Software. (2017). https://github.com/SneakySnail/LIPRAS

Cite As

Giovanni Esteves (2021). Line-Profile Analysis Software (LIPRAS) (https://github.com/SneakySnail/LIPRAS), GitHub. Retrieved .

Comments and Ratings (11)

xin li

Thank you for sharing, nice job.

Martin Dierner

Nice tool and very good support!

Martin Dierner

xin li

Nice work.

Makenna Avakian

LYNDSEY DENIS

Wonderful line fitting software GUI!

Jianwei Zhao

Best line-profile fitting GUI I have ever used.

Sen Lin

Eloy Rodriguez

Great tool ! Fitting several diff. patterns at a time is very nice.

Giovanni Esteves

Thank you AJ, I really appreciate it. I will definitely check out your submission.

AJ Geiger

Great GUI the least squares fitting works great! I just put out a GUI toolbox check it out. I think you may like it.

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!